Re: query optimization

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: query optimization
Дата
Msg-id 28774.1078434950@sss.pgh.pa.us
обсуждение исходный текст
Ответ на query optimization  (Charles Hauser <chauser@duke.edu>)
Список pgsql-sql
Charles Hauser <chauser@duke.edu> writes:
> I have the following query which is running quite slow on our server and
> was hoping someone would have suggestions how I might improve it.

Have you vacuumed or analyzed these tables recently?  The EXPLAIN
numbers show that the planner thinks all the tables are tiny, which
hardly seems likely given that you're complaining about the speed.

If it's still bad after you VACUUM ANALYZE, send EXPLAIN ANALYZE (not
just EXPLAIN) output and maybe we can give some help.
        regards, tom lane


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

Предыдущее
От: Radu-Adrian Popescu
Дата:
Сообщение: Re: returning a recordset from PLpg/SQL
Следующее
От: Tom Lane
Дата:
Сообщение: Re: debugging query to put message in pg logfile?