Re: It's past time to redo the smgr API

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: It's past time to redo the smgr API
Дата
Msg-id 17593.1076022878@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: It's past time to redo the smgr API  ("Marc G. Fournier" <scrappy@postgresql.org>)
Ответы Re: It's past time to redo the smgr API  ("Marc G. Fournier" <scrappy@postgresql.org>)
Список pgsql-hackers
"Marc G. Fournier" <scrappy@postgresql.org> writes:
> Why?  Setting it to the checkpoint interval itself should be sufficient,
> no?  All you want to do is avoid closing any files that were used during
> that last checkpoint interval, since there is a good chance you'd have to
> once more reopen them in the checkpoint interval ...

If we did that then (on Windows) every DROP TABLE would take one extra
checkpoint interval to take effect in terms of freeing disk space.
Not sure if this is a good tradeoff for avoiding some file opens.

In any case, I think we should leave it to be debated after we see what
the Windows file-closing solution turns out to be.  It might become a
non-issue.
        regards, tom lane


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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: It's past time to redo the smgr API
Следующее
От: Hans-Jürgen Schönig
Дата:
Сообщение: Re: Recursive queries?