Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Quickly repairing a database container
What is recommended for quickly repairing a database container that has become corrupt? Granted, this has only happened to me twice in 4 years, it still is a mad panic.
What I do if I can't validate a database or seem to repair it:
1) Free all tables
2) Delete database container
3) Create a new database container
4) Add tables back into database
5) Recreate views (done visually)
6) Add in stored procedures
7) Lengthen any long field names that have been shortened.
Is there a faster way to do this? Can take 30 minutes to an hour to do all of this. Restoring the database container from a tape backup might take 2 to 3 hours since backups are done centrally at the hospital. By the time the Help Desk calls and analyst and they find the tape...
What does everyone else do to speed up the repair/recreate process?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement