Published on InterSystems Developer Community (https://community.intersystems.com)

ホーム > オンラインバックアップでのバックアップサイズを見積もる方法

記事
Mihoko Iijima · 2020年11月12日 3m read

オンラインバックアップでのバックアップサイズを見積もる方法

これはInterSystems FAQ サイトの記事です。

システムルーチン ^DBSIZE を利用するとバックアップファイルサイズを見積もることができます(メモ1もご参照ください)。

^DBSIZE は、データベース・バックアップ・リストに選択されたデータベースを対象に、フルバックアップ/累積バックアップ/差分バックアップそれぞれのファイルサイズを見積もります。

なお、データベース・バックアップ・リストは、管理ポータルの [システム管理] > [構成] > [データベースバックアップ] > [データベース・バックアップ・リスト] から作成します。

 

詳細については、下記ドキュメントもご参照ください。

^DBSIZEによるバックアップ・サイズの見積もり【IRIS】

^DBSIZEによるバックアップ・サイズの見積もり

 

実行例は、以下の通りです。

USER>set $namespace="%SYS"   //または 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\iris1\mgr\fs\                              2,668   (8KB)
c:\intersystems\iris1\mgr\irisaudit\                         102   (8KB)
                                                  --------------
     Total number of database blocks:                      2,770
 
Total backup size, including overhead of volume and pass labels:
 
     For a disk file:
          Number of 512-byte blocks:  46,068  (23,586,816 bytes)
 
     For magnetic media:
          Number of 58KB blocks:  398  (23,638,016 bytes)
 
%SYS>

 

メモ1:^DBSIZE ルーチンは、オンラインバックアップを使用してデータベースのバックアップを行っている環境に有効な方法です。

メモ2:オンラインバックアップ とは?

弊社製品(Caché/Ensemble/HealthShare/IRIS)の内部ツールを使用してデータベースの使用済ブロックをオンラインでバックアップする方法のことです。

この他にも、データベースファイルをオンラインでバックアップする方法もあります。バックアップ手法の違いについてはFAQトピック「データベースのバックアップにはどのような方法がありますか?」もご参照ください。

#バックアップ #Caché #Ensemble #HealthShare #InterSystems IRIS #InterSystems IRIS for Health

ソースURL:https://jp.community.intersystems.com/post/%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%83%90%E3%83%83%E3%82%AF%E3%82%A2%E3%83%83%E3%83%97%E3%81%A7%E3%81%AE%E3%83%90%E3%83%83%E3%82%AF%E3%82%A2%E3%83%83%E3%83%97%E3%82%B5%E3%82%A4%E3%82%BA%E3%82%92%E8%A6%8B%E7%A9%8D%E3%82%82%E3%82%8B%E6%96%B9%E6%B3%95