Re: Queries take long long(10 sec.) time running

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Queries take long long(10 sec.) time running
Дата
Msg-id 4EDF3758.2090902@hogranch.com
обсуждение исходный текст
Ответ на Queries take long long(10 sec.) time running  (Andre Lopes <lopes80andre@gmail.com>)
Ответы Re: Queries take long long(10 sec.) time running
Список pgsql-general
On 12/07/11 1:27 AM, Andre Lopes wrote:
> This is enough information for some clues on how to increase the
> response time in queries?

no.

to optimize queries, you generally need to know what the queries are,
what the relations they are using look like, and get the output of
`explain analyze <your query>;`

some random comments in passing...

  * whats mysql got to do with this?

  * a server running efficiently should be using zero swap.   the fact
    that you have 340MB of swap used implies you need at least twice as
    much physical memory as you have.

  * VPS?  as in virtual server?  so your disk IO is virtualized too?
    this is usually bad news for getting decent database performance.



--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast


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

Предыдущее
От: "Tomas Vondra"
Дата:
Сообщение: Re: Queries take long long(10 sec.) time running
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: [pgadmin-support] Help for Migration