2017-05-22 42 views
0

我一直有<MAXSTRING>錯誤返回一些我們現有的InterSystems的緩存類Intersystems Cache中的最大字符串長度。改變它會影響速度嗎?

我已經閱讀here在默認情況下,最大字符串的長度設置爲32K左右。運行腳本WRITE $SYSTEM.SYS.MaxLocalLength()確認這是32767,最小的最大字符串長度。

我的問題是,如果我們消極改變InterSystems的緩存此設置(例如使它達到它的最大的長度3M),是否會影響服務器的速度(一般)?還是不會有太大的區別?

大約平均500人經常使用的系統,並利用所提到的類方法,如果該事項

的文件提到以下幾點:

When a process actually uses a long string, the memory for the string comes from the operating system’s malloc() buffer, not from the partition memory space for the process. Thus the memory allocated for actual long string values is not subject to the limit set by the maximum memory per process (Maximum per Process Memory (KB)) parameter and does not affect the $STORAGE value for the process.

不過,我不是完全確定這是什麼意思,如果我們改變字符串的大小。

回答

1

我們幾年前切換到長字符串(3MB),並沒有發現任何性能上的差異。

+0

注意到,由於弗雷德。 –

相關問題