Re: Default mode for shutdown
От | Robert Haas |
---|---|
Тема | Re: Default mode for shutdown |
Дата | |
Msg-id | AANLkTinFKGPvZ0m93QxFo9P-qP-kyn4Wz+Cw+4k0LedU@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Default mode for shutdown (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Default mode for shutdown
|
Список | pgsql-hackers |
On Wed, Dec 15, 2010 at 9:39 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > Magnus Hagander <magnus@hagander.net> writes: >> I'm sure this has been up before, but hey, let's take it another round. >> Why don't we change the default shutdown mode for pg_ctl from "smart" >> to "fast"? I've never come across a single usecase where "smart" is >> what people *want*... +1. I think we should either have a timeout for "smart" shutdown mode such that it turns into a fast shutdown after a configurable number of seconds that defaults to, say, 30; or we should just make the default fast shutdown as proposed. > Really? Personally I'm quite happy with that default. Why? It seems to me that just leads to, oh, gee, the database isn't shutting down, where's the window where I failed to exit a session? And it's even worse in production, where whatever you're using for connection pooling ensures that shutdown will take, if not forever, at least a very, very long time. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: