WebSphere WebSphere Enterprise Service Bus, Version 6.0.1 作業系統: AIX, HP-UX, Linux, Solaris, Windows

重組資料庫表格

從 DB2 事件資料庫清除事件之後,請利用 reorg Script 來重組資料庫表格。

執行這項作業的原因和時機

reorg Script 位於 install_root/event/dbscripts/db2 目錄中。

這項作業的步驟

如果要重組事件資料庫表格,請執行下列其中一個指令:
這些參數如下:
db2_version
DB2 Universal Database 主要版本號碼;這必須是 8.18.2.1。 這個參數是必要的。
db_user
要使用的資料庫使用者 ID。這個參數是必要的。
db_password
資料庫密碼。這個參數是選用的。如果您沒有在指令行中指定密碼,DB2 資料庫會發出提示。

範例

比方說,下列指令會利用資料庫使用者 ID dbadmin 和密碼 mypassword,在執行 DB2 Universal Database 8.1 版或 8.2.1 版的 Windows 系統上重組事件資料庫表格:

reorg.bat 8 dbadmin mypassword

下一步

執行 reorg Script 之後,您應該利用 runstats Script 來更新資料庫統計資料。 如需詳細資訊,請參閱更新資料庫統計資料

Task topic

使用條款 | 此頁的評等

「時間戳記」圖示前次更新: 5 Mar 2006
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6rxmx/index.jsp?topic=/com.ibm.websphere.wesb.doc.nl1_6.0.1\doc\tcei_admin_reorg.html

(C) Copyright IBM Corporation 2005. All Rights Reserved.
本資訊中心採用 Eclipse 技術。(http://www.eclipse.org)