Re: unlogged tables
От | Josh Berkus |
---|---|
Тема | Re: unlogged tables |
Дата | |
Msg-id | 4CE43033.2080008@agliodbs.com обсуждение исходный текст |
Ответ на | Re: unlogged tables (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: unlogged tables
|
Список | pgsql-hackers |
> Now, a few minutes ago Robert was muttering about supporting more than > one kind of degraded-reliability table. I could see inventing > "unlogged" tables, which means exactly that (no xlog support, but we > still checkpoint/fsync as usual), and "unsynced" tables which > also/instead suppress fsync activity. The former type could be assumed > to survive a clean shutdown/restart, while the latter wouldn't. This > would let people pick their poison. We're assuming here that the checkpoint activity for the unlogged table causes significant load on a production system. Maybe we should do some testing before we try to make this overly complex? I wouldn't be surprised to find that on most filesystems the extra checkpointing of the unlogged tables adds only small minority overhead. Shouldn't be hard to build out pgbench into something which will test this ... if only I had a suitable test machine available. -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com
В списке pgsql-hackers по дате отправления: