Re: query execution time

Поиск
Список
Период
Сортировка
От Julius Tuskenis
Тема Re: query execution time
Дата
Msg-id 4CAD852F.7050803@nsoft.lt
обсуждение исходный текст
Ответ на Re: query execution time  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-admin
  2010.10.06 17:03, Kevin Grittner rašė:
>> Version string:   PostgreSQL 8.3.4 on i686-pc-linux-gnu, compiled
>> by GCC gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.2)
>> https://sites.google.com/site/juliaustestukas/Home
>
> Well, you're showing us a version string for a Linux PostgreSQL
> server, but you link to a screen shot which appears to be a client
> connecting to localhost on some variety of Windows.  And you didn't
> tell us much of anything else.

You are right - we connect to localhost on windows machine because we
use ssh tunel to the postgresql server on gentoo linux. The server does
not have GUI, so no pgAdmin too... The DB is used for web application
writen in PHP. As the DB and WEB servers are on the same machine we can
rule out the network issues I guess... The query (in the screen shot)
was found in postgresql server logs as a long lasting query. I will try
issue the EXPLAIN ANALIZE query from the command line on server machine
to be 100% sure this is not related to networking.
The behavior described is observed when there is high server usage.
Using "server status" tool shows several such queries executed suddenly
and then after some waiting everything goes back to normal. The top
command on the server shows it has enough of ram (~200Mb free all the
time).


--
Julius Tuskenis
Programavimo skyriaus vadovas
UAB nSoft
mob. +37068233050


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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: newer release branch
Следующее
От: Kiswono Prayogo
Дата:
Сообщение: installation failed for PostgreSQL 9.0.0 in Windows (Visual C++ Runtime Installation error)