Re: Update with Subquery Performance

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Update with Subquery Performance
Дата
Msg-id 2982.1202749162@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Update with Subquery Performance  ("Linux Guru" <linux.binary@gmail.com>)
Ответы Re: Update with Subquery Performance
Список pgsql-performance
"Linux Guru" <linux.binary@gmail.com> writes:
> We have a large datawarehouse stored in postgres and temp tables are created
> based on user query. The process of temp table creation involves selecting
> data from main fact table, this includes several select and update
> statements and one of the following update statement is having performance
> issues.

Try ANALYZEing the temp table before the step that's too slow.

If that doesn't help, let's see EXPLAIN ANALYZE (not just EXPLAIN)
output.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Optimizer : query rewrite and execution plan ?
Следующее
От: Thomas Zaksek
Дата:
Сообщение: Join Query Perfomance Issue