June 25, 2010 at 8:05 am
Hi Gurus
I am new SQL server DBA.
I have a request to drop production database. Kindly advice what should be done before droping a production database.
June 25, 2010 at 8:10 am
Find out why it's been dropped and make sure that the person asking is correct in asking for it to be dropped.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 25, 2010 at 8:13 am
yes, I have approval to drop the database. What should be done before droping a database.
June 25, 2010 at 8:24 am
Make sure you take a full backup of the database prior to dropping it, just in case someone comes back and needs it.
June 25, 2010 at 10:01 am
i'd think it through first...what happens if the database goes missing? does the company shut down? is the database being used? maybe they mean they want you to move the database to another server, or restore it from a previous version?
ask the person who told you to drop the database if that means it should not be used anymore?
Lowell
June 25, 2010 at 10:30 am
I would just take it offline and then see if anyone screams. If no one does after about a month, then drop it.
But absolutely take a full backup just before taking it offline.
Andrew SQLDBA
June 25, 2010 at 10:43 am
AndrewSQLDBA (6/25/2010)
I would just take it offline and then see if anyone screams. If no one does after about a month, then drop it...
I would just turn off power on the server unit. And if no one screams, you can start reusing it for something more usefull than for holding unwanted databases...
:-D:-D:-D
Also, you may find that cutting off power of the whole building (at least for the month), may safe a lot of company money in electricity bills... You even might be paid bonus for finding new way to safe money...:hehe:
June 25, 2010 at 11:59 am
vsm198 (6/25/2010)
yes, I have approval to drop the database.
Did you get it in writting?
Does the organization uses a ticketing system? in the affirmative case ask for a fully approved change management ticket 😉
_____________________________________
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at Amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.June 25, 2010 at 12:21 pm
I'd do as Andrew suggested. Make a backup, archive it, then drop it. If you are really concerned, you can script out any logins that make use of this database (check mapped users) and save that as well.
June 25, 2010 at 12:48 pm
this kind of request ranks up there with a request that was once heard at Enron:
Run everything in these filing cabinets through the shredder...boss said it was ok, and those are his orders.
Lowell
June 25, 2010 at 2:20 pm
Lowell (6/25/2010)
this kind of request ranks up there with a request that was once heard at Enron:Run everything in these filing cabinets through the shredder...boss said it was ok, and those are his orders.
😀
CEO is staying around the shreadder trying to figure out how to use it...
He asks the young clerk for a help. Boy puts the banch of paper into the shreadder, turns power on and presses GO button.
Clerk: - All done!
CEO: - Thank you very much for your help. I have a board meeting starting in 5 minutes and I need five copies of this anual report...
:w00t::hehe::w00t:
Viewing 11 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic. Login to reply