Re: Why Size Of Data Backed Up Varies Significantly In SQL 6.5?

Поиск
Список
Период
Сортировка
От Marc SCHAEFER
Тема Re: Why Size Of Data Backed Up Varies Significantly In SQL 6.5?
Дата
Msg-id Pine.LNX.3.96.1010426213247.910C-100000@defian.alphanet.ch
обсуждение исходный текст
Ответ на Why Size Of Data Backed Up Varies Significantly In SQL 6.5?  ("Wendy" <windy1a@yahoo.com>)
Список pgsql-general
On Thu, 26 Apr 2001, Wendy wrote:

> I backed up a database at night and noted the size to be about over 300MB.

Backuped with pg_dump, or dumped the raw database files ?  In the latter
case you want to stop the PostgreSQL server first.

> The following morning, I again backed up the same database and found out the
> size to be less than 100MB. There was no massive deletes by users during
> that morning.

If you dumped the raw database, this difference can be caused by VACUUM
being run automatically at night to free deleted items.

NB: personnally I recommend backuping using pg_dump or pg_dumpall. And
testing that restoration works.



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

Предыдущее
От: "Gregory Wood"
Дата:
Сообщение: Re: help with serial type
Следующее
От: "V. M."
Дата:
Сообщение: Re: [HACKERS] Re: unanswered: Schema Issue