Re: Change in db size

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Change in db size
Дата
Msg-id CAKFQuwZPBou+0NEU24QTXDaM=d1EE6wuOjNFcGn9JWK1ge_3DQ@mail.gmail.com
обсуждение исходный текст
Ответ на Change in db size  (Sonam Sharma <sonams1209@gmail.com>)
Ответы Re: Change in db size  (Sonam Sharma <sonams1209@gmail.com>)
Список pgsql-general
On Wed, Jul 17, 2019 at 10:03 AM Sonam Sharma <sonams1209@gmail.com> wrote:
I have restored database and the db size of source was around 55gb and after restore the db size of Target is 47gb.

You haven't described how you restored the database but measuring size doesn't work because typically restoring a table causes it to be (nearly?) bloat free while a long running system will accumulate bloat.
 
How to confirm if restore was successful or not ?

A lack of error messages is a good primary indicator.
 
The table count is also same.

Good.

Beyond that you need to decide what amount of internal data validation you can live with.  It also depends on whether you have expected numbers based upon the data being restored.

David J.

В списке pgsql-general по дате отправления:

Предыдущее
От: Sonam Sharma
Дата:
Сообщение: Change in db size
Следующее
От: Vijaykumar Jain
Дата:
Сообщение: Re: [External] Change in db size