| От | Pierre C |
|---|---|
| Тема | Re: unlogged tables |
| Дата | |
| Msg-id | op.v5ysw1d3eorkce@apollo13 обсуждение исходный текст |
| Ответ на | Re: unlogged tables ("Anibal David Acosta" <aa@devshock.com>) |
| Список | pgsql-performance |
> My table is a statistics counters table, so I can live with a partial > data > loss, but not with a full data loss because many counters are weekly and > monthly. > > 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. You could use an unlogged table for hourly updates, and periodically, accumulate those counters to a (logged) daily/weekly table... The hourly table could be rebuilt by examining only 1 hour's worth of data, so it isn't too much of a problem if it's lost. The other tables would get much less updates.
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера