これは InterSystems FAQ サイトの記事です。
グローバルのサイズは、^%GSIZE や、%SYS.GlobalQueryクラスのSizeクエリ で取得することができます。
このトピックでは、さらに細かく「サブスクリプトレベル」でグローバルサイズを取得する方法をご紹介します。
★^%GSIZEユーティリティを使用する方法
USER>d ^%GSIZE
Directory name: c:\intersystems\iris\mgr\user\ =>
All Globals? No => No
Global ^TEST1(1)
Global ^TEST1(1,1)
Global ^TEST1(1,1,1)
Global ^
3 globals selected from 178 available globals.
1) Get exact packing details
2) Get block counts only
3) Use fast stochastic estimate
Please select an option: 3 => 1
Device:
Right margin: 80 =>
directory: c:\intersystems\cache\mgr\user\
Page: 1 GLOBAL SIZE 18 Feb 2026
11:55 AM
Global Blocks Bytes Used Packing Contig.
-------- -------- --------------- ------- -------
TEST1(1) 30 228,058 93 % 15
TEST1(1,1) 3 9,146 37 % 1
TEST1(1,1,1) 1 12 0 % 0
TOTAL Blocks Bytes Used Packing Contig.
-------- -------- --------------- ------- -------
34 237,216 85 % 16
<RETURN> to continue or '^' to STOP:


.png)
.jpg)
【ご参考】




