Recently developed these queries to assist with the evaluation of development or sandbox environments. Sometimes disk space demands that old projects be cleared out, and managers/admins want to know what has and hasn't been used recently.
These queries are built around the dm_db_index_usage_stats DMV and use the last_user_scan, last_user_seek, and last_user_update dates to determine the databases and tables that have actually been used recently. This is done at the index level.
Thursday, May 24, 2012
Thursday, April 26, 2012
April Hammond .net User Group Presentation - SQL Server Security and Permissions
Here's the slide deck and sample files from last night's presentation at the Hammond .net User Group. We discussed SQL Server security principals, permissions and application authentication. If you were in the audience, thanks for attending!
Download the slides and sample scripts here.
Download the slides and sample scripts here.
Saturday, April 21, 2012
SQL Saturday Houston #107 - SQL Server Best Practices with DMV Presentation Files
Thanks for joining me for a standing room only presentation this morning at 9:45am at SQL Saturday #150 Houston. This is the second year speaking at SQL Saturday Houston and the event was one of the best I've been to, kudos to the organizers. I was especially impressed that all ten tracks were solidly SQL server related - very little was not related SQL Server, and that isn't easy to draw. Bravo!
Click here to download the slidedeck and all sample scripts - including the ones we skipped - from my DMV presentation. Thanks for all the great questions and feedback during the session, it was one of the most enjoyable I've had at a SQL Saturday event - including Baton Rouge's, and despite the fact that my presentation mouse batteries died!
Click here to download the slidedeck and all sample scripts - including the ones we skipped - from my DMV presentation. Thanks for all the great questions and feedback during the session, it was one of the most enjoyable I've had at a SQL Saturday event - including Baton Rouge's, and despite the fact that my presentation mouse batteries died!
Subscribe to:
Posts (Atom)