Re: unlogged tables

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: unlogged tables
Дата
Msg-id 4EC2D0B5.6060901@agliodbs.com
обсуждение исходный текст
Ответ на Re: unlogged tables  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-performance
>> Unlogged table can increase speed, this table has about 1.6
>> millions of update per hour, but unlogged with a chance of loss
>> all information on a crash are not a good idea for this.
>
> pg_dump -t 'tablename' from a cron job?  (Make sure to rotate dump
> file names, maybe with day of week or some such.)

Or just "CREATE TABLE AS" copy the table every hour to a second, backup
table.  Then it would be much easier to script automated restore of the
data.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: What's the state of postgresql on ext4 now?
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: What's the state of postgresql on ext4 now?