Re: Queries within a function

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Queries within a function
Дата
Msg-id 162867791002021107t18ad959n9ef8b63b7b3292d4@mail.gmail.com
обсуждение исходный текст
Ответ на Queries within a function  (Mridula Mahadevan <mmahadevan@stratify.com>)
Список pgsql-performance
Hello

look on http://blog.endpoint.com/2008/12/why-is-my-function-slow.html

Regards
Pavel Stehule

2010/2/2 Mridula Mahadevan <mmahadevan@stratify.com>:
> Hi,
>
>  I am running a bunch of queries within a function, creating some temp
> tables and populating them. When the data exceeds say, 100k the queries
> start getting really slow and timeout (30 min). when these are run outside
> of a transaction(in auto commit mode), they run in a few seconds. Any ideas
> on what may be going on and any postgresql.conf parameters etc that might
> help?
>
> Thanks

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [HACKERS] Re: Faster CREATE DATABASE by delaying fsync (was 8.4.1 ubuntu karmic slow createdb)
Следующее
От: Rob
Дата:
Сообщение: System overload / context switching / oom, 8.3