Re: checkpoint_timeout
От | chirag.dave@gmail.com |
---|---|
Тема | Re: checkpoint_timeout |
Дата | |
Msg-id | f1d4f3170810080715u55afb2gd9d2edf7091603d0@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: checkpoint_timeout ("Rafael Domiciano" <rafael.domiciano@gmail.com>) |
Список | pgsql-admin |
Again very little information to work with but I would start with looking at postgres logs. you should enable checkpoint_timeout to a very high number, so you have an entry in the log anytime checkpoint occurs and set your log_min_duration_statement to number which your considered to be long running, to log all slower statement.
Chirag Dave
DBA, Afilias
Chirag Dave
DBA, Afilias
On Wed, Oct 8, 2008 at 8:31 AM, Rafael Domiciano <rafael.domiciano@gmail.com> wrote:
The server is running Postgres 8.2.4When the server is doing too much operations like I, U or D the postgres stop a while each 5 min...!I mean "stopping" that I don't receive any response from postgres, and the process the all people are running stay there, waiting for something.I read a several names to it like: gap, stall, slowdown... I don't know the write expression for this situation.I hope you can help me.Thnks,Rafael DomicianoPostgres DBA2008/10/7 <chirag.dave@gmail.com>What version of postgres are you running ? and please also provide more information about your suspected slowdown ?On Tue, Oct 7, 2008 at 4:21 PM, Rafael Domiciano <rafael.domiciano@gmail.com> wrote:Hello there,I'm having some slowndowns in my postgresql server, and I had been reading something about checkpoints, that could resolve my problem.Now, I have:checkpoint_segments = 30 # in logfile segments, min 1, 16MB each#checkpoint_timeout = 5minAnd I percebed that this slowndown is occuring for 5 min...! So I'm suposing that the problem is in the checkpoint_timeout.What's the impact to chang it to:checkpoint_timeout = 2min orcheckpoint_timeout = 5minTnhks,Rafael Domiciano
В списке pgsql-admin по дате отправления: