pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: shane hill <shill@adobe.com>
To: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: design question: general db performance
Date: Tue, 25 Nov 2003 19:27:39 +0000
Message-ID: <200311251927.39671.dev@archonet.com> (raw)
In-Reply-To: <3FC3A2A7.6060804@adobe.com>
References: <3FC26E96.9090101@be-a-part.de>
	<3FC27071.9000001@bigfoot.com>
	<3FC3A2A7.6060804@adobe.com>

On Tuesday 25 November 2003 18:42, shane hill wrote:
>
> Our db is getting to be a respectable size (about 10GB right now) and is
> growing slower and slower. I have been charged with making it faster and
> with a smaller footprint while retaining all of the current
> functionality.  here is one of my ideas.  Please tell me if I am crazy:

Your idea of using an integer makes sense - that's how it is stored on unix 
anyway.

Are you familiar with VACUUM/VACUUM FULL/REINDEX and when you should use them? 
If not, that's a good place to start. Try a VACUUM FULL on frequently updated 
tables and see if that reduces your disk size.

You'll probably want to check the performance notes too: 
http://www.varlena.com/varlena/GeneralBits/Tidbits/index.php



-- 
  Richard Huxton
  Archonet Ltd



view thread (5+ messages)

Message-ID: <200311251927.39671.dev@archonet.com>
Permalink:  ../200311251927.39671.dev@archonet.com/
Also on:    postgresql.org/message-id/200311251927.39671.dev@archonet.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: dev@archonet.com, shill@adobe.com
  Subject: Re: design question: general db performance
  In-Reply-To: <200311251927.39671.dev@archonet.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