Re: unlogged tables
| От | Greg Stark | 
|---|---|
| Тема | Re: unlogged tables | 
| Дата | |
| Msg-id | AANLkTinq_pj3aL04oLTe-nx-jEw0mUqkeLOtCZv7creL@mail.gmail.com обсуждение исходный текст | 
| Ответ на | Re: unlogged tables (Tom Lane <tgl@sss.pgh.pa.us>) | 
| Ответы | Re: unlogged tables Re: unlogged tables | 
| Список | pgsql-hackers | 
On Wed, Nov 17, 2010 at 3:11 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes: >> fsync()ing the file at shutdown doesn't seem too bad to me from >> performance point of view, we tolerate that for all other tables. And >> you can always truncate the table yourself before shutdown. > > The objection to that was not about performance. It was about how > to find out what needs to be fsync'd. > Just a crazy brainstorming thought, but.... If this is a clean shutdown then all the non-unlogged tables have been checkpointed so they should have no dirty pages in them anyways. So we could just fsync everything. -- greg
В списке pgsql-hackers по дате отправления: