Re: strange pauses
От | Scott Marlowe |
---|---|
Тема | Re: strange pauses |
Дата | |
Msg-id | dcc563d10801160730u21b55aeaqe7eaa792451492cd@mail.gmail.com обсуждение исходный текст |
Ответ на | strange pauses (Adrian Moisey <adrian@careerjunction.co.za>) |
Список | pgsql-performance |
On Jan 16, 2008 4:42 AM, Adrian Moisey <adrian@careerjunction.co.za> wrote: > Hi > > I've noticed a strange pattern in our logs. > > We only log anything that takes longer then 5 seconds. > > If I tail the logs, I see a steady stream of functions that took longer > then 5 seconds. But every now and then I see nothing for 3 minutes and > after that a whole bunch (about 20 - 30) queries all finishing at the > same second. > > During this 3 minutes of nothing being logged, the db is still active > and I can access our website > > Looks to me like "something" is "locking" and causing requests to be > delayed. Once this "lock" unlocks, everything goes through. Hmmm. Are these queries actually all finishing at the same time or just showing up in the logs at the same time. Just thinking there might be some kind of issue going on with logging. Are you using syslog or postgresql stderr logging?
В списке pgsql-performance по дате отправления: