Re: [External] Change in db size

Поиск
Список
Период
Сортировка
От Vijaykumar Jain
Тема Re: [External] Change in db size
Дата
Msg-id CAE7uO5gqL19=OB+umkz8quVPzbt4es68vqLYh_6Apts+z6WFpQ@mail.gmail.com
обсуждение исходный текст
Ответ на Change in db size  (Sonam Sharma <sonams1209@gmail.com>)
Список pgsql-general
I guess the restore cleared the bloat from the table.
\dt+
\di+
If you run the above commands from the terminal, you would see diff in sizes of the. objects.
Also querying pg_stat_all_tables you might see  “dead” tuples in old tables which would have cleaned up now.
Also if there were any large temp objects or queries using temp files would have cleared and hence reclaimed disk.
If none of these are true, then I guess experts would pitch in.

On Wed, 17 Jul 2019 at 10:33 PM 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.

How to confirm if restore was successful or not ?
The table count is also same.
--

Regards,
Vijay

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Change in db size
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Corrupt index stopping autovacuum system wide