Hello. As you know, there are commands which are 'Begin backup' in ORACLE and 'Suspend' in DB2/MVS to destage caches in servers. Is there any way in MS/SQL, too? What I want to do is that I am going to use 'flashcopy' which copies volumes of IBM disks after destaging caches because I heard that it doesn't guarantee integrity without destaging caches. Would you help me out? Thank you.
Checkpointing a database flushes any committed transactions in the data cache that have not been physically written to disk. I would be EXTREMELY careful doing what you are proposing. It is entirely unsupported. If you have issues, MS tech support will NOT be able to help you. SQL Server 2000 ships with an API call that storage vendors such as Compaq and EMC can call to pause all transactions in the SQL Server just before doing their "snapshots". But, those are the only 2 supported vendors I'm aware of and that is only by using their tools as they recommend using them. If you are doing this, not only do you need to issue a checkpoint, but you also have to lock the applications out as well and ensure no transactions are running in order to get a consistent state in the database between the database and tran log.
For More Information
- What do you think about this answer? E-mail us at editor@searchDatabase.com with your feedback.
- The Best Microsoft SQL Server Web Links: tips, tutorials, scripts, and more.
- The Best SQL Web Links
- Have a SQL Server tip to offer your fellow DBA's and developers? The best tips submitted will receive a cool prize--submit your tip today!
- Ask your technical SQL Server questions--or help out your peers by answering them--in our live discussion forums.
- Ask the Experts yourself: Our SQL Server gurus are waiting to answer your toughest questions.
Dig Deeper on Microsoft SQL Server Installation
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.