暂停并重新启动联机表重组db2 reorg inplace

Pausing and restarting an online table reorganization

An online table reorganization that is in progress can be paused and restarted by the user.

To pause or restart an online table reorganization you must have one of the following:
  • sysadm
  • sysctrl
  • sysmaint
  • dbadm
  • CONTROL privilege on the table.
  1. To pause an online table reorganization, issue the REORG TABLE command using the PAUSE option:
      db2 reorg table homer.employee inplace pause
  2. To restart a paused online table reorganization, issue the REORG TABLE command with the RESUME option:
      db2 reorg table homer.employee inplace resume

你可能感兴趣的:(reorg,db联机表重组)