Re: Query optimization

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: Query optimization
Дата
Msg-id 87adlube0y.fsf@mailbox.samurai.com
обсуждение исходный текст
Ответ на Re: Query optimization  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
Richard Huxton <dev@archonet.com> writes:
> First stage though, run an EXPLAIN and if you need help understanding it post
> the output back to the list.

Yep, that's a good idea. Another thing to try is to disable GEQO (SET
geqo = off;) and see what difference that makes to the performance of
the optimizer and the quality of the chosen plan (12 relations is
close to the cross-over point for the useability of the genetic
optimizer, IME).

Also, your comment regarding slow access over the Internet is not a
problem with PostgreSQL -- if it really *is* 2x or so slower when done
remotely, talk to your network admin.

Cheers,

Neil

--
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Structured Types, Oids and Reference Types
Следующее
От: Siva Kumar
Дата:
Сообщение: Re: Query optimization