Skip site navigation (1) Skip section navigation (2)

Queries within a function

From: Mridula Mahadevan <mmahadevan(at)stratify(dot)com>
To: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Queries within a function
Date: 2010-02-02 18:17:15
Message-ID: 0A59BA5B590B7E4A8D441196A9F17E904C68825D26@corpmail11.calpurnia.com (view raw or flat)
Thread:
Lists: pgsql-performance
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

Responses

pgsql-performance by date

Next:From: Andres FreundDate: 2010-02-02 18:34:07
Subject: Re: [HACKERS] Re: Faster CREATE DATABASE by delaying fsync (was 8.4.1 ubuntu karmic slow createdb)
Previous:From: Robert HaasDate: 2010-02-02 18:14:40
Subject: Re: [HACKERS] Re: Faster CREATE DATABASE by delaying fsync (was 8.4.1 ubuntu karmic slow createdb)

Privacy Policy | About PostgreSQL
Copyright © 1996-2013 The PostgreSQL Global Development Group