Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase «««3,8993,9003,9013,9023,903»»»

Are the posted questions getting worse? Expand / Collapse
Author
Message
Posted Friday, February 22, 2013 5:03 PM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Today @ 11:51 AM
Points: 21,747, Visits: 15,441
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


SQL RNNR

Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #1423299
Posted Saturday, February 23, 2013 7:25 PM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Today @ 11:42 AM
Points: 23,396, Visits: 32,235
I don't know about any of you but this is just down right scary.

Now please, no piling on here.



Lynn Pettis

For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here or when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here and here
Managing Transaction Logs

SQL Musings from the Desert Fountain Valley SQL (My Mirror Blog)
Post #1423381
Posted Monday, February 25, 2013 5:38 AM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Today @ 8:47 AM
Points: 8,832, Visits: 9,389
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 [s]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
Post #1423570
Posted Monday, February 25, 2013 5:59 AM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Today @ 8:47 AM
Points: 8,832, Visits: 9,389
L' Eomot Inversé (2/22/2013)
Jeff Moden (2/22/2013)
[quote]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
Post #1423580
Posted Monday, February 25, 2013 10:11 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Today @ 12:38 AM
Points: 33,267, Visits: 15,436
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.






Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #1423681
Posted Monday, February 25, 2013 10:16 AM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Today @ 11:51 AM
Points: 21,747, Visits: 15,441
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




Jason AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server


SQL RNNR

Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #1423687
Posted Monday, February 25, 2013 10:19 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Today @ 10:59 AM
Points: 2,777, Visits: 7,284
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


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
Post #1423692
Posted Monday, February 25, 2013 10:25 AM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Today @ 11:51 AM
Points: 21,747, Visits: 15,441
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


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


SQL RNNR

Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #1423697
Posted Monday, February 25, 2013 1:30 PM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Today @ 8:47 AM
Points: 8,832, Visits: 9,389
No QotD yet today? Has everyone stopped submitting them?

Tom
Post #1423766
Posted Monday, February 25, 2013 3:13 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 11:50 AM
Points: 13,450, Visits: 12,312
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 Moden's splitter.

Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Understanding and Using APPLY (Part 1)
Understanding and Using APPLY (Part 2)
Post #1423791
« Prev Topic | Next Topic »

Add to briefcase «««3,8993,9003,9013,9023,903»»»

Permissions Expand / Collapse