システムルーチン ^DBSIZE を利用するとバックアップファイルサイズを見積もることができます。
※オンラインバックアップを使用してデータベースのバックアップを行っている環境に有効な方法です。
^DBSIZE は、データベース・バックアップ・リストに選択されたデータベースを対象に、フルバックアップ/累積バックアップ/差分バックアップ それぞれのファイルサイズを見積もります。
(データベース・バックアップ・リストは、管理ポータルの [システム管理] > [構成] > [データベースバックアップ] > [データベース・バックアップ・リスト] から作成します。)
詳細については、下記ドキュメントもご参照ください。
^DBSIZEによるバックアップ・サイズの見積もり【IRIS】
^DBSIZEによるバックアップ・サイズの見積もり
USER>zn "%SYS"
%SYS>do ^DBSIZE
Incremental Backup Size Estimator
What kind of backup:
1. Full backup of all in-use blocks
2. Incremental since last backup
3. Cumulative incremental since last full backup
4. Exit the backup program
1 => 1
In-Use Block
Directory Blocks Size
c:\intersystems\ensemblenew\mgr\ensemble\ 95 (8KB)
c:\intersystems\ensemblenew\mgr\user\ 769 (8KB)
--------------
Total number of database blocks: 864
Total backup size, including overhead of volume and pass labels:
For a disk file:
Number of 512-byte blocks: 14,652 (7,501,824 bytes)
For magnetic media:
Number of 58KB blocks: 126 (7,483,392 bytes)
%SYS>