软件开发Db2数据库缓存

db2 怎样清空缓存

请教 :
   怎样清空DB2数据库的缓存?
  如oracle 清空数据缓冲区:ALTER SYSTEM FLUSH BUFFER_CACHE
参与14

13同行回答

weiruan85weiruan85数据库管理员ibm
回复 5# chenxw_mail     FLUSH BUFFERPOOLS statementThe FLUSH BUFFERPOOLS statement writes the dirty pages from all the local buffer pools for a particular database synchronously to disk.In DB2® pureScale® environments, the dirty pages in ...显示全部
回复 5# chenxw_mail


    FLUSH BUFFERPOOLS statement

The FLUSH BUFFERPOOLS statement writes the dirty pages from all the local buffer pools for a particular database synchronously to disk.

In DB2® pureScale® environments, the dirty pages in the group buffer pool are also written synchronously to disk.

This statement is not under transaction control.
The FLUSH BUFFERPOOLS statement can be used in the following ways:

    To reduce the recovery window of a database in the event of a failure
    To reduce the size of logs written to a backup image before database operations such as online backups
    To minimize the recovery time of a split-mirror database收起
政府机关 · 2015-03-13
浏览3995

    提问者

    zyclove2008
    数据库运维工程师xsw

    相关问题

    相关资料

    相关文章

    问题状态

  • 发布时间:2015-03-12
  • 关注会员:1 人
  • 问题浏览:11018
  • 最近回答:2015-03-13
  • X社区推广