Quote:
|
Originally Posted by rdba
We noticed full and incremental backups take almost the same time if there is at least one changed page in each tablespace so it looks DB2 is reading all pages and not just the modified pages.
|
If every tablespace has at least one changed page, then DB2 will scan all pages in the tablespace to look for pages that have been modified. There is a bit/flag per tablespace that lets incremental backup know whether there is a changed page in that tablespace or not, that's the extent of DB2 knowledge. So, if all tablespaces have modified pages, then DB2 has to read every page in the database for incremental backup. In this sense the reading will be no different for non-incremental and incremental backups. So, it may take same amount of time during incremental db2 database backup. However, the backup image can be significantly smaller for incremental backups.