RetiredDBA.com

RetiredDBA.com provides tidbits, ideas and insights to all things Microsoft SQL Server.

Home / SQL Server / DBAs are you drifting away?

DBAs are you drifting away?

/
/
/



Ok start singing ‘Drift Away’ by Dobie Gray when reading this blog. Especially repeat this verse ‘I want to get lost in your rock and roll and drift away’.

Recently, an article from Red Gate on SQL Server database drift popped up in my email box. Database drift is when a database version of the metadata in production no longer matches what is in source control.

Soooooooo here’s an article review: Checking for Database Drift using Extended Events and SQL Monitor by Phil Factor.

The article has some nice snippets to show how you can capture SQL Server database drift data using extended events. ALL my fellow DBA friends have long ago converted to using SQL Server extended events vs SQL profiler … Right?

In the article, Factor states ‘Any drift in the state of the database, from the one that was deployed, is a security issue and must be investigated’.

SQL Server database drift is a monumental problem after a database deployment ESPECIALLY if you have multiple Sysadmins, DBAs, DevOPS, QA, etc. folks able to modify database objects. Even your automated apps can push SQL Server database changes if it has sysadmin abilities. I remember so fondly tracking down SQL Server database changes buried in our deployment apps. Ugh!

The article gives lots of examples and what to exclude, include and sample code. The article also pushes integration with the Red Gate ‘SQL monitor’ tool. But you can easily use the code examples to build a custom solution for SQL Server database drift. By the time you read this, additional articles on monitoring SQL Server database drift may have been published. As Factor states ‘To complete the picture …. We’ll tackle the security and access control events in the next article.’.

It’s a thumbs up must read for this article on SQL Server database drift! Right?

This div height required for enabling the sticky sidebar

Advertisers



Programmer Solutions Inc Websites

BUSINESS
CITY JOB RESOURCES
MIDWEST JOB RESOURCES
SOUTH JOB RESOURCES
WEST JOB RESOURCES
Industrial Supply DealsChicago Job ResourceKansas Job ResourceAlabama Job ResourceAlaska Job Resource
Office Supply DealsWashington, DC Job ResourceIllinois Job ResourceArkansas Job ResourceArizona Job Resource
EDUCATION
SPECIAL JOB RESOURCES
Indiana Job ResourceDelaware Job ResourceCalifornia Job Resource
Back To School MallDiversity Job ResourceIowa Job ResourceFlorida Job ResourceColorado Job Resource
SHOPPING
First Job ResourceMichigan Job ResourceGeorgia Job ResourceHawaii Job Resource
Health Care and FitnessFreelance Job ResourceMinnesota Job ResourceKentucky Job ResourceIdaho Job Resource
Just Best GiftsIntern Job ResourceMissouri Job ResourceLouisiana Job ResourceMontana Job Resource
Just Clearance SalesSeasonal Job ResourceNebraska Job ResourceMaryland Job ResourceNevada Job Resource
Just Comparison ShoppingSenior Job ResourceNorth Dakota Job ResourceMississippi Job ResourceNew Mexico Job Resource
Just OutletsVolunteer Job ResourceOhio Job ResourceNorth Carolina Job ResourceOregon Job Resource
Luxury Matters
TARGETED JOB RESOURCES
South Dakota Job ResourceOklahoma Job ResourceUtah Job Resource
Tradin StuffBlue Collar Job ResourceWisconsin Job ResourceSouth Carolina Job ResourceWashington Job Resource
Value BuyersExecutive Job Resource
NORTHEAST JOB RESOURCES
Tennessee Job ResourceWyoming Job Resource
TECHNOLOGY
Finance Job ResourceConnecticut Job ResourceTexas Job Resource 
FrontPage HelpHealthcare Job ResourceMaine Job ResourceVirginia Job Resource 
MCDBA DirectoryIT Job ResourceMassachusetts Job ResourceWest Virginia Job Resource 
Retired DBAPink Collar Job ResourceNew Hampshire Job Resource  
SQL Server DirectorySports Job ResourceNew Jersey Job Resource  
Transact SQL DirectoryWhite Collar Job ResourceNew York Job Resource  
  Pennsylvania Job Resource  
  Rhode Island Job Resource  
  Vermont Job Resource