SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Good reference for Extended Events?


Good reference for Extended Events?

Author
Message
Jared Karney
Jared Karney
SSCarpal Tunnel
SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)

Group: General Forum Members
Points: 4986 Visits: 3694
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
PFE - Microsoft
SQL Know-It-All
How to post data/code on a forum to get the best help - Jeff Moden
digitalrivers
digitalrivers
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 508
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
Grant Fritchey
Grant Fritchey
SSC-Dedicated
SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)

Group: General Forum Members
Points: 39806 Visits: 32644
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 Query Performance Tuning and SQL Server Execution Plans
Product Evangelist for Red Gate Software
Jared Karney
Jared Karney
SSCarpal Tunnel
SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)

Group: General Forum Members
Points: 4986 Visits: 3694
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. Hehe

Thanks,
Jared
PFE - Microsoft
SQL Know-It-All
How to post data/code on a forum to get the best help - Jeff Moden
Jared Karney
Jared Karney
SSCarpal Tunnel
SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)

Group: General Forum Members
Points: 4986 Visits: 3694
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
PFE - Microsoft
SQL Know-It-All
How to post data/code on a forum to get the best help - Jeff Moden
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search