IBM Enterprise Records, 版本 5.1.+            

執行暫存區清理

暫存區清理是一個守護程序。如果要限制對您的系統所造成的效能影響,在系統使用率低時排程要執行的程序。 如果要執行暫存區清理,請確定您具有必要的 JRE 層次。

重要: 執行「暫存區清理」之前,管理者必須將 QueryPageMaxSize 內容值設定為 150,000,並將「最大查詢時間限制」值設定為 0。請參閱配置暫存區清理

如果要執行「暫存區清理」,請執行下列動作:

  1. 從安裝「暫存區清理」元件之所在機器的 RecordsManagerSweep 資料夾中,執行「暫存區清理」或執行特定的設定檔。 設定檔可讓您儲存不同的配置,並利用這些配置來執行清理,而不需要重新配置它們。使用以下其中一種方法執行暫存區清理程序:
    選項 敘述
    UNIX ./RecordsManagerSweep.sh -HoldSweep [-profile "profile name"]
    Windows RecordsManagerSweep.bat -HoldSweep [-profile "profile name"]
  2. 此外,您也可以從「暫存區清理」元件之安裝機器的 RecordsManagerSweep 資料夾中,利用 -ForceRemoveHold 參數,對物件儲存庫執行「暫存區清理」來移除暫存區。 對物件儲存庫執行「暫存區清理」,可讓您從指定的物件儲存庫中移除最多 5 個列出的記錄暫存區、從指定的物件儲存庫中移除所有暫存區,或從位於特定設定檔內的特定物件儲存庫中移除記錄暫存區。 當您利用 -ForceRemoveHold 參數來移除暫存區時,如果暫存區是在作用中、非作用中、以手動方式套用,或利用「暫存區清理」套用,就會將它移除。 請利用下列方法之一,移除物件儲存庫的暫存區:
    選項 敘述
    UNIX ./RecordsManagerSweep.sh -HoldSweep -ObjectStore objectstorename|objectstoreID -ForceRemoveHold holdlist [-profile "profile name"]

    例如:

    ./RecordsManagerSweep.sh -HoldSweep -ObjectStore "MyFPOS" -ForceRemoveHold "Hold1|Hold2|{E4F6F8F9-4E1A-4762-B062-344980B2B92}" -profile "profile1"

    Windows RecordsManagerSweep.bat -HoldSweep -ObjectStore objectstorename|objectstoreID -ForceRemoveHold holdlist [-profile "profile name"]

    例如:

    ./RecordsManagerSweep.bat -HoldSweep -ObjectStore "MyFPOS" -ForceRemoveHold "Hold1|Hold2|{E4F6F8F9-4E1A-4762-B062-344980B2B92}" -profile "profile1"

    選項 敘述
    UNIX ./RecordsManagerSweep.sh -HoldSweep -ObjectStore objectstorename -ForceRemoveHold -All [-profile "profile name"]
    小心: 這個選項只用於特殊用途
    Windows RecordsManagerSweep.bat -HoldSweep -ObjectStore objectstorename -ForceRemoveHold -All [-profile "profile name"]
    小心: 這個選項只用於特殊用途
  3. 或者,您也可以導覽至 ..\FileNet\RecordsManagerSweep\lib 資料夾,在命令提示字元之下,輸入下列指令來執行「暫存區清理」程序:java -jar rmHoldSweep.jar
  4. 如果要停止暫存區清理,請新增 -stop 參數:
    選項 敘述
    UNIX ./RecordsManagerSweep.sh -HoldSweep -stop
    Windows RecordsManagerSweep.bat -HoldSweep -stop
    暫存區清理程序停止後,系統將顯示一條訊息。
  5. 檢視 RecordsManagerSweep 資料夾中所建立的錯誤日誌檔,以驗證「暫存區清理」是否執行成功。 如果錯誤檔案為空,則暫存區清理程序執行成功。否則,檔案會包含錯誤,您可以利用它們來進行問題的疑難排解。


意見

前次更新: 2011 年 8 月


© Copyright IBM Corp. 2011.
此資訊中心採用 Eclipse 技術。(http://www.eclipse.org)