pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: C Pond <cpondwork@yahoo.com>
To: pgsql-performance@postgresql.org
Subject: Embedded VACUUM
Date: Fri, 2 Sep 2011 17:25:00 -0700 (PDT)
Message-ID: <1315009500.78128.YahooMailClassic@web112110.mail.gq1.yahoo.com> (raw)

I'm running a labour-intensive series of queries on a medium-sized dataset (~100,000 rows) with geometry objects and both gist and btree indices.

The queries are embedded in plpgsql, and have multiple updates, inserts and deletes to the tables as well as multiple selects which require the indices to function correctly for any kind of performance.

My problem is that I can't embed a vacuum analyze to reset the indices and speed up processing, and the queries get slower and slower as the un-freed space builds up.



view thread (2+ messages)  latest in thread

Message-ID: <1315009500.78128.YahooMailClassic@web112110.mail.gq1.yahoo.com>
Permalink:  ../1315009500.78128.YahooMailClassic@web112110.mail.gq1.yahoo.com/
Also on:    postgresql.org/message-id/1315009500.78128.YahooMailClassic@web112110.mail.gq1.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: cpondwork@yahoo.com
  Subject: Re: Embedded VACUUM
  In-Reply-To: <1315009500.78128.YahooMailClassic@web112110.mail.gq1.yahoo.com>
  References: <1315009500.78128.YahooMailClassic@web112110.mail.gq1.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox