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

Re: Performance problem with semi-large tables

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Cc: "Ken Egervari" <ken(at)upfactor(dot)com>
Subject: Re: Performance problem with semi-large tables
Date: 2005-01-29 21:51:10
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance

Actually, your problem isn't that generic, and might be better solved by 
dissecting an EXPLAIN ANALYZE.

> 1. Should I just change beg to change the requirements so that I can make
> more specific queries and more screens to access those? 

This is always good.

> 2. Can you 
> recommend ways so that postgres acts on big tables more efficiently?  I'm
> not really interested in this specific case (I just made it up).  I'm more
> interested in general solutions to this general problem of big table sizes
> with bad filters and where join orders don't seem to help much.

Well, you appear to be using ORDER BY ... LIMIT.   Is there a corresponding 
index on the order by criteria?

Josh Berkus
Aglio Database Solutions
San Francisco

In response to

pgsql-performance by date

Next:From: David ParkerDate: 2005-01-29 22:04:26
Subject: Re: Performance problem with semi-large tables
Previous:From: Tom LaneDate: 2005-01-29 15:51:18
Subject: Re: Postgres server getting slow!!

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