Re: Can anyone explain this: duplicate dbs. - Mailing list pgsql-performance

From Christopher Kings-Lynne
Subject Re: Can anyone explain this: duplicate dbs.
Date
Msg-id 4293EA66.3070401@familyhealth.com.au
Whole thread Raw
In response to Re: Can anyone explain this: duplicate dbs.  ("SpaceBallOne" <space_ball_one@hotmail.com>)
List pgsql-performance
> Would CLUSTER / REINDEX still have an effect if our queries were done
> via sequential scan?

SELECTS don't write to the database, so they have no effect at all on
vacuuming/analyzing.  You only need to worry about that with writes.

> This is a old database (as in built by me when i
> was just starting to learn unix / postgres) so the database design is
> pretty horrible (little normalisation, no indexes).

No indexes?  Bloody hell :D

Use EXPLAIN ANALYZE SELECT ... ; on all of your selects to see where
they are slow and where you can add indexes...

Chris

pgsql-performance by date:

Previous
From: "SpaceBallOne"
Date:
Subject: Re: Can anyone explain this: duplicate dbs.
Next
From: John A Meinel
Date:
Subject: Re: Can anyone explain this: duplicate dbs.