|
so you said in db2 for z, users even doesn't need to stop the database to do backup? and ibm supports that kind of backup strategy?
No, user DOES NOT need to stop the database when running BACKUP SYSTEM utility, it is so-called an ONLINE utility.
IBM absolutely supports this kind of backup strategy, and has a corresponding utility named RESTORE SYSTEM to recover to the PIT. However, this backup method is system scope, meaning that you can't backup a subset of data, but an entire database system. In V8, you even can recover the entire system only, in V9 you can do object-level selective recover based on system-level backup, thru RECOVER utility.
And I think this kind of backup/recover is prompted by some ERP (like SAP,People Soft) customer's requests, and it is a good method to replicate data.
do you know if the "BACKUP SYSTEM" will suspend io write activities during the backup?
No, it is an online utility, backup triggers flashcopy (or compatible disks tech) running background. There is NO impact on service availability, but some disks IO performance degrade is inevitable.
what happen if we just run a backup from storage (so db2 doesn't know there's backup), the backup will copy all files used by database and instance, and then can we use this set of backup to "recatalog" and recovery? (of course it's not restore, just crash recovery)
There is no need to recatalog, you have made a disk mirror including complete set of files, then you just restart your DB2 from this mirror, DB2 plays "recovery" automatically when restarted, like a crash recovery.
[ 本帖最后由 Pythagoras 于 2008-11-19 11:10 编辑 ] |
|