|
|
Just some comparison to Oracle. When Oracle puts the database into backup mode, the database is still available for online transaction, i.e. no IO suspection to the database, but the redo log volume is much higher as Oracle needs to record more information in order to recover the database should there be a need.
Traditionally, DB2 for LUW uses db2 backup command to take the database backup, and now the image cloning option is available with the write-suspection to the database, i.e. the database is NOT available for online transaction when the synchronization is still in process.
If the flashcopy triggered by DB2 for z/OS does record some information in the catalog, for recovery purpose, theoretically I can understand that should be a working option if proper logging is done, just like what Oracle has implemented.
With reference to Wangzhonnew's original question, "一般我们都知道,当数据库在线的时候所作的OS级别的文件系统备份是不能够用来恢复数据库的,现在俺的问题就是:WHY?"
The question posted is regarding whether some OS level file system backup, being it flashcopy or OS copy or the like, but NOT involved any database action, can be used to recover a database. And my answer is "NO", the reason being is that the OS level file system backup (without DB intervention such as write suspect to the DB2 for LUW, or triggered by DB2 for z/OS - this in turn triggers some action at DB2 catalog) can not guarantee the database consistency, and the file system IO has NO relationship to database transaction in nature. |
|