db2备份时如何禁用Paralalleism

时间:2018-11-05 17:45:57

标签: db2

当前,当我执行db2备份时,我可以在日志中看到Autonomic backup/restore - using parallelism = 2.。我们如何禁用并行性以使其处于最低水平?我正在使用DB2 11.1.9.0版。

1 个答案:

答案 0 :(得分:0)

尝试使用PARALLELISM 1子句

db2 backup database test to /dev/null PARALLELISM 1

Backup successful. The timestamp for this backup image is : 20181105183709

db2diag -H 1m | grep "Autonomic backup"
Autonomic backup/restore - using parallelism = 1.

但是在使用Db2 Warehouse时,应使用db_backup来备份数据库https://www.ibm.com/support/knowledgecenter/en/SS6NHC/com.ibm.swg.im.dashdb.doc/admin/app_backup.html