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

Good reference for Extended Events? Expand / Collapse
Author
Message
Posted Monday, October 22, 2012 6:24 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Yesterday @ 3:38 PM
Points: 2,673, Visits: 3,326
Does anyone have a good reference for setting up extended events and how to do it to get the info you want? We are using 2008 R2 and are looking to get information about when tempdb grows and what caused it to grow. I believe this will get the growth, but I would like to drill down more and find out why it grew.

CREATE EVENT SESSION tempDBGrowth
ON SERVER

ADD EVENT sqlserver.databases_data_file_size_changed
(
ACTION (sqlserver.database_context)
WHERE database_id = 2)


ADD TARGET package0.asynchronous_file_target
(SET filename = 'c:\xelog.xel', metadatafile = 'c:\xelog.xem')

ALTER EVENT SESSION tempDBGrowth ON SERVER STATE = START

Also, it seems that BOL does not have a great explanation of each action, or I just can't find a detailed explanation for each one. So, really I am just asking for a good reference for Extended Events and any "hints" as to how I can get more detail on the growth here and what query(s) caused it to grow.


Thanks,

Jared
SQL Know-It-All

How to post data/code on a forum to get the best help - Jeff Moden
Post #1375378
Posted Monday, October 22, 2012 6:37 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, October 18, 2013 8:37 AM
Points: 1, Visits: 492
This white paper is excellent.

http://www.windowsitpro.com/whitepaper/sql-server/sql-servers-extended-events-notifications-proactively-resolve-performance-issues-142603?code=EPDedQuestDatabasePerformanceWP02_101812
Post #1375389
Posted Monday, October 22, 2012 7:12 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 2:42 PM
Points: 14,840, Visits: 27,315
And the godfather of Extended Events has an XEvent A Day series of blog posts. Jonathan is frequently a better resource for this stuff than Microsoft.

----------------------------------------------------
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood..." Theodore Roosevelt
The Scary DBA
Author of: SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans

Product Evangelist for Red Gate Software
Post #1375408
Posted Monday, October 22, 2012 7:15 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Yesterday @ 3:38 PM
Points: 2,673, Visits: 3,326
Grant Fritchey (10/22/2012)
And the godfather of Extended Events has an XEvent A Day series of blog posts. Jonathan is frequently a better resource for this stuff than Microsoft.
Awesome! Thanks Grant, I probably should have started with Jonathan.


Thanks,

Jared
SQL Know-It-All

How to post data/code on a forum to get the best help - Jeff Moden
Post #1375413
Posted Monday, October 22, 2012 7:15 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Yesterday @ 3:38 PM
Points: 2,673, Visits: 3,326
digitalrivers (10/22/2012)
This white paper is excellent.

http://www.windowsitpro.com/whitepaper/sql-server/sql-servers-extended-events-notifications-proactively-resolve-performance-issues-142603?code=EPDedQuestDatabasePerformanceWP02_101812
Thanks, but this just tells me how to set it up for a specific thing and does not help me ti understand XEs.


Thanks,

Jared
SQL Know-It-All

How to post data/code on a forum to get the best help - Jeff Moden
Post #1375414
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse