Controlling the memory buffers used by a messaging engine

Every messaging engine manages two memory buffers that contain messages and message-related data. You can improve the interaction of a messaging engine with its data store by tuning the properties that set the sizes of the two buffers.

About this task

You can set the following properties to improve the interaction of a messaging engine with its data store:
sib.msgstore.discardableDataBufferSize
傳訊引擎用來包含服務品質屬性是最大努力非持續性之資料的資料緩衝區大小(位元組)。 預設值為 320000,大約是 320 KB。
可捨棄的資料緩衝區包含所有服務品質屬性是最大努力非持續性的資料。 這個資料包含作用中的交易所涉及的資料,以及傳訊引擎既未消費,也未捨棄的任何其他最大努力非持續性資料。 傳訊引擎會將這個資料完全存放在這個記憶體緩衝區內,絕不會將資料寫入資料儲存庫中。 當傳訊引擎新增資料到可捨棄的資料緩衝區時,比方說,當傳訊引擎收到用戶端的最大努力非持續性訊息時,傳訊引擎可能會捨棄已在緩衝區中的資料來讓出空間。 傳訊引擎只能捨棄作用中的交易所未涉及的資料。 這個行為使傳訊引擎能夠捨棄最大努力非持續性訊息。
增加可捨棄的資料緩衝區大小,可在傳訊引擎開始捨棄訊息之前,處理更多的最大努力非持續性資料。
sib.msgstore.cachedDataBufferSize
傳訊引擎用來包含服務品質屬性在最大努力非持續性之上,且保留在資料儲存庫之資料的資料緩衝區大小(位元組)。 預設值為 320000,大約是 320 KB。
快取資料緩衝區的用途,是將傳訊引擎可能需要從資料儲存庫中讀取的資料快取在記憶體中,以便使傳訊引擎的效能最佳化。 當傳訊引擎將資料寫入資料儲存庫,以及從資料儲存庫中讀取資料時,它會試圖將資料新增到快取的資料緩衝區中。 傳訊引擎可能會捨棄已在緩衝區的資料,將空間讓出來。
sib.msgstore.transactionSendLimit
傳訊引擎併入各項交易的作業數目上限。 比方說,每項 JMS 傳送或接收作業都是在交易傳送限制內計算的作業。 預設值為 100
Attention: The messaging engine uses approximate calculations to manage the data it holds in the memory buffers. Neither of the DataBufferSize properties gives an accurate indication of the amount of memory that the messaging engine consumes in the JVM heap. The messaging engine can consume considerably more heap storage than the DataBufferSize properties indicate.

To set the properties of a messaging engine to improve its interaction with its data store, use the administrative console to complete the following steps:

Procedure

  1. In the navigation pane, click 服務整合 -> 匯流排 -> bus_name -> [拓蹼] 傳訊引擎 -> engine_name -> [其他內容] 自訂內容.
  2. Type the name of the property that you want to set.
  3. Type the value that you want to set for that property.
  4. Click OK.
  5. 儲存對主要配置所做的變更。

What to do next

Remember: When you change any of these properties, the new values do not take effect until you restart the messaging engine.

指出主題類型的圖示 作業主題



時間戳記圖示 前次更新: July 9, 2016 11:15
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=tjm0220_
檔名:tjm0220_.html