Data Protection Advisor - How to check the size of a datastore/database (DB) export?

概要: A database export is deemed a valid backup of the DPA datastore. They should be run regularly and also required prior to any upgrade or changes being made to the datastore. Space is needed, but how to check the size of a datastore export? ...

この記事は次に適用されます: この記事は次には適用されません: この記事は、特定の製品に関連付けられていません。 すべての製品パージョンがこの記事に記載されているわけではありません。

手順

NOTE:  There is no command to determine the size of a database export without having an existing export to check.  
However, the following command can be run:

Linux: <install dir>/opt/emc/dpa/services/bin> ./dpa.sh ds query "SELECT pg_size_pretty(pg_database_size('apollo'));"
Windows:  <install dir>\emc\dpa\services\bin> dpa ds query "SELECT pg_size_pretty(pg_database_size('apollo'));"

The output reflects the size of the DPA datastore (db).  A db export is typically 1/10th of the size of this db but this may vary.
This is a general rule.  There are exceptions to this if there are large indexes on the db.  
Always place the db export outside of the DPA install directory for safety and space reasons.

Example:
dpaapp@lab]# ./dpa.sh ds query "SELECT pg_size_pretty(pg_database_size('apollo'));"

EMC Data Protection Advisor

pg_size_pretty
----------------
87 GB
(1 row)


87GB is the size of the db thus we would expect the size of the db export to be over 8GB.

対象製品

Data Protection Advisor
文書のプロパティ
文書番号: 000203586
文書の種類: How To
最終更新: 10 3月 2023
バージョン:  7
質問に対する他のDellユーザーからの回答を見つける
サポート サービス
お使いのデバイスがサポート サービスの対象かどうかを確認してください。