Re: Queries within a function - Mailing list pgsql-performance

From Pavel Stehule
Subject Re: Queries within a function
Date
Msg-id 162867791002021107t18ad959n9ef8b63b7b3292d4@mail.gmail.com
Whole thread Raw
In response to Queries within a function  (Mridula Mahadevan <mmahadevan@stratify.com>)
List 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 by date:

Previous
From: Andres Freund
Date:
Subject: Re: [HACKERS] Re: Faster CREATE DATABASE by delaying fsync (was 8.4.1 ubuntu karmic slow createdb)
Next
From: Rob
Date:
Subject: System overload / context switching / oom, 8.3