Re: General query optimization howto

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: General query optimization howto
Дата
Msg-id 200503131213.38718.peter_e@gmx.net
обсуждение исходный текст
Ответ на General query optimization howto  (Miroslav Šulc <miroslav.sulc@startnet.cz>)
Ответы Re: General query optimization howto  (Miroslav Šulc <miroslav.sulc@startnet.cz>)
Список pgsql-general
Miroslav Šulc wrote:
> is there on the net any general howto on SQL query optimizations? We
> have recently moved our project from MySQL to PostgreSQL and are
> having problem with one of our queries.

I doubt that there is a generic documentation on SQL optimization,
because this heavily depends on the particular implementation that you
are using.

> The EXPLAIN command is surely
> useful but I don't know how to read it and how to use the output to
> optimize the query so I'm looking for some intro that could help me.

You should probably start with the Performance Tips chapter in the
PostgreSQL documentation.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

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

Предыдущее
От: Russell Smith
Дата:
Сообщение: Re: Using sequence name depending on other column
Следующее
От: Ragnar Hafstað
Дата:
Сообщение: Re: General query optimization howto