pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fernando Ike <fike@midstorm.org>
To: Matthew Wakeling <matthew@flymine.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: Database size Vs performance degradation
Date: Sun, 3 Aug 2008 23:51:40 +0000
Message-ID: <1ed3e91a0808031651n4f3ab56ah632a9544a61f22f6@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0808011200300.4250@aragorn.flymine.org>
References: <35FABCF85D99464FB00BC5123DC2A70A051D0FB8@s228130hz1ew09.apptix-01.savvis.net>
	<276541.4189.qm@web25805.mail.ukl.yahoo.com>
	<35FABCF85D99464FB00BC5123DC2A70A051D11E1@s228130hz1ew09.apptix-01.savvis.net>
	<48908988.7020204@emolecules.com>
	<Pine.LNX.4.64.0807301656020.4250@aragorn.flymine.org>
	<1217436578.6288.44.camel@localhost>
	<1240.1217440309@sss.pgh.pa.us>
	<1217441061.6288.47.camel@localhost>
	<4891FB28.7000800@wp.pl>
	<Pine.LNX.4.64.0808011200300.4250@aragorn.flymine.org>

2008/8/1 Matthew Wakeling <matthew@flymine.org>:
> On Thu, 31 Jul 2008, Andrzej Zawadzki wrote:
>>
>> Maybe I'm wrong but if this "bulk insert and delete" process is cyclical
>> then You don't need vacuum full.
>> Released tuples will fill up again with fresh data next day - after
>> regular vacuum.
>
> Yes, a regular manual vacuum will prevent the table from growing more than
> it needs to. However, a vacuum full is required to actually reduce the size
> of the table from 7.5G to 2.7G if that hasn't been done on the production
> system already.

    One good possibility is use pg8.3 for fix problem. Enable
Autovacuum+HOT was won a significant performance compared with 8.2 and
minor versions. :)



Kind Regards,
-- 
Fernando Ike
http://www.midstorm.org/~fike/weblog



view thread (23+ messages)

Message-ID: <1ed3e91a0808031651n4f3ab56ah632a9544a61f22f6@mail.gmail.com>
Permalink:  ../1ed3e91a0808031651n4f3ab56ah632a9544a61f22f6@mail.gmail.com/
Also on:    postgresql.org/message-id/1ed3e91a0808031651n4f3ab56ah632a9544a61f22f6@mail.gmail.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: fike@midstorm.org, matthew@flymine.org
  Subject: Re: Database size Vs performance degradation
  In-Reply-To: <1ed3e91a0808031651n4f3ab56ah632a9544a61f22f6@mail.gmail.com>
  References: <35FABCF85D99464FB00BC5123DC2A70A051D0FB8@s228130hz1ew09.apptix-01.savvis.net> <276541.4189.qm@web25805.mail.ukl.yahoo.com> <35FABCF85D99464FB00BC5123DC2A70A051D11E1@s228130hz1ew09.apptix-01.savvis.net> <48908988.7020204@emolecules.com> <Pine.LNX.4.64.0807301656020.4250@aragorn.flymine.org> <1217436578.6288.44.camel@localhost> <1240.1217440309@sss.pgh.pa.us> <1217441061.6288.47.camel@localhost> <4891FB28.7000800@wp.pl> <Pine.LNX.4.64.0808011200300.4250@aragorn.flymine.org> <1ed3e91a0808031651n4f3ab56ah632a9544a61f22f6@mail.gmail.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