February 22, 2013 at 5:03 pm
Evil Kraig F (2/22/2013)
Heh, this seems to be becoming thematic for my posts in the thread...Anyone around here worked much with Extended Events? It's way out of my scope, I only know the name.
If you have, would you mind poking at here: http://www.sqlservercentral.com/Forums/Topic1421470-3077-1.aspx
OK, my interest is piqued.
But my understanding of the desired solution makes me think this may not be a well thought out application of XE. I'll fiddle with it.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
February 25, 2013 at 5:38 am
Lynn Pettis (2/23/2013)
I don't know about any of you but this is just down right scary.Now please, no piling on here.
When someone has a basic (not as advanced as intermediate) understanding of a foreign language they will struggle quite a bit with stuff like SQL Server manuals - it's inevitable. Mostly people end up with a reasonable grasp of technical English which they gain at the same speed as they gain an understanding of SQL Server (although they may remain pretty incompetent at handling English not related to database technical things, and often - unfortunately - don't learn to forulmate things in English as well as they lear to understand them).
This poster is evidently at an early stage of the process. It's not scary to see someone at that stage. It is a bit scary to see that he's expected to communicate with dev, test, production and users and needs to come to SQLServerCentral for help rather than geting it in house.
Tom
February 25, 2013 at 5:59 am
L' Eomot Inversé (2/22/2013)
Jeff Moden (2/22/2013)
If his machine is as underpowered as my desktop, it will take approximately 40 minutes to gen a billion rows. I know because I tried it a couple of years ago.
I'll generate a billion row table and see how long it takes on my (definitely underpowered) machine.
Well, it seems my machine is quite a bit slower than Jeff's. Of course I can gen a CTE which appears to have that many rows (that's how many is says it has if you count them) in a lot less than 40 minutes (actually in a lot less than 40 seconds), but producing a table with a billion rows takes a lot longer than 40 minutes
On various approaches to generating a billion rows, I either find I don't have enough filestore to get there (either tempdb blows up, or the db which will contain the resulting table blows up, or both) or I have to split it down into small batches and it takes insane amounts of time. If I assign (and hence initialise) loads of empty log pages in advance, the time is reduced by about 35% (exactly how much varies according to which method I try of generating the stuff). Writing into a table with a primary key seems to be slower than creating a heap, but not much. Extrapolating from how long it takes to generate smaller chunks using all the available disc space and then checkpointing and dropping temprary stuff to get some back suggests that the best approach on mu machine would take not 40 minutes but rather more than 40 hours. I guess that's the trouble with using a laptop that was intended to handle email and act as a client to proper SQL Server machines - now that I no longer have my servers and my desktop machines, the little toy is easily overwhelmed.
Tom
February 25, 2013 at 10:11 am
I should try to gen a billion rows for giggles. I got a new workstation, Win 8, 24GB ram, quad core, 4TB. Might be interesting.
February 25, 2013 at 10:16 am
Steve Jones - SSC Editor (2/25/2013)
I should try to gen a billion rows for giggles. I got a new workstation, Win 8, 24GB ram, quad core, 4TB. Might be interesting.
Let's see who can gen it faster...
Mark, Set, GO
:hehe:
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
February 25, 2013 at 10:19 am
SQLRNNR (2/25/2013)
Steve Jones - SSC Editor (2/25/2013)
I should try to gen a billion rows for giggles. I got a new workstation, Win 8, 24GB ram, quad core, 4TB. Might be interesting.Let's see who can gen it faster...
Mark, Set, GO
:hehe:
Of course "Set", you wouldn't want to generate these are RBAR, but who's Mark?
--------------------------------------
When you encounter a problem, if the solution isn't readily evident go back to the start and check your assumptions.
--------------------------------------
It’s unpleasantly like being drunk.
What’s so unpleasant about being drunk?
You ask a glass of water. -- Douglas Adams
February 25, 2013 at 10:25 am
Stefan Krzywicki (2/25/2013)
SQLRNNR (2/25/2013)
Steve Jones - SSC Editor (2/25/2013)
I should try to gen a billion rows for giggles. I got a new workstation, Win 8, 24GB ram, quad core, 4TB. Might be interesting.Let's see who can gen it faster...
Mark, Set, GO
:hehe:
Of course "Set", you wouldn't want to generate these are RBAR, but who's Mark?
Steve's alter ego
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
February 25, 2013 at 1:30 pm
No QotD yet today? Has everyone stopped submitting them?
Tom
February 25, 2013 at 3:13 pm
Another crazy snowstorm in Kansas City. This is the second thunder snow in 5 days. It is really quite odd to hear rolling thunder while it is blizzarding. We got a little over 12" on Thursday and they are predicting anywhere from 12 - 20" overnight and through tomorrow. Yet another forced vacation day tomorrow. See you all in a couple days once we dig out again.
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
February 25, 2013 at 3:52 pm
L' Eomot Inversé (2/25/2013)
No QotD yet today? Has everyone stopped submitting them?
Was wondering was it my link that failed to show the current QOD, so your note relieved me of that anxiety.
Spent a good hour having my home computer check for bugs / malware ... oh well
February 25, 2013 at 4:18 pm
bitbucket-25253 (2/25/2013)
L' Eomot Inversé (2/25/2013)
No QotD yet today? Has everyone stopped submitting them?Was wondering was it my link that failed to show the current QOD, so your note relieved me of that anxiety.
Spent a good hour having my home computer check for bugs / malware ... oh well
And no newsletter for me today.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
February 25, 2013 at 5:22 pm
bitbucket-25253 (2/25/2013)
L' Eomot Inversé (2/25/2013)
No QotD yet today? Has everyone stopped submitting them?Was wondering was it my link that failed to show the current QOD, so your note relieved me of that anxiety.
Spent a good hour having my home computer check for bugs / malware ... oh well
CHANGE CHANGE
Received an E-Mail notification (7:02 PM) that 2 additional QOTD submission of mine had been scheduled, Feb 27th and March 4th
February 26, 2013 at 4:39 pm
L' Eomot Inversé (2/25/2013)
No QotD yet today? Has everyone stopped submitting them?
My fault. Frazzled from a week in Seattle and a bunch of deadlines on my plate. Since I usually schedule out a month or two at a time, got caught here.
February 26, 2013 at 11:49 pm
Sean Lange (2/25/2013)
Another crazy snowstorm in Kansas City. This is the second thunder snow in 5 days. It is really quite odd to hear rolling thunder while it is blizzarding. We got a little over 12" on Thursday and they are predicting anywhere from 12 - 20" overnight and through tomorrow. Yet another forced vacation day tomorrow. See you all in a couple days once we dig out again.
Snow? Blizzard? What are those?
Bangkok=HOT!
My thought question: Have you ever been told that your query runs too fast?
My advice:
INDEXing a poor-performing query is like putting sugar on cat food. Yeah, it probably tastes better but are you sure you want to eat it?
The path of least resistance can be a slippery slope. Take care that fixing your fixes of fixes doesn't snowball and end up costing you more than fixing the root cause would have in the first place.
Need to UNPIVOT? Why not CROSS APPLY VALUES instead?[/url]
Since random numbers are too important to be left to chance, let's generate some![/url]
Learn to understand recursive CTEs by example.[/url]
[url url=http://www.sqlservercentral.com/articles/St
Viewing 15 posts - 39,001 through 39,015 (of 66,712 total)
You must be logged in to reply to this topic. Login to reply