Re: a very slow SQL

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: a very slow SQL
Дата
Msg-id 4FE7FD9A0200002500048A5A@gw.wicourts.gov
обсуждение исходный текст
Ответ на a very slow SQL  (wangqi <wangqi@edgesoft.cn>)
Список pgsql-admin
wangqi  wrote:

> An SQL execution is very slow.
> What can I do to makes it faster。

Without knowing more about the version of PostgreSQL, your PostgreSQL
configuration, your schema (including indexes), and your hardware,
it's hard to give advice.

http://wiki.postgresql.org/wiki/SlowQueryQuestions

A wild guess on the evidence we have is that you might benefit from
an index on MCL.ctid if you don't already have one.

-Kevin

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

Предыдущее
От: "Albe Laurenz"
Дата:
Сообщение: Re: terminating autovacuum process due to administrator command
Следующее
От: Mike Broers
Дата:
Сообщение: Re: starting postgres with an empty px_xlog folder