Re: Defining performance.

From: nospam(at)hardgeus(dot)com
To: "Paul Lathrop" <plathrop(at)squaretrade(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Defining performance.
Date: 2006-12-01 00:37:12
Message-ID: 55688.71.81.36.247.1164933432.squirrel@www.hardgeus.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> 4) Much of my reading of the PG docs and list archives seems to suggest
that much of performance tuning is done at the query level - you have to
know how to ask for information in an efficient way.

Performance does not exist in a vacuum (ho ho, PostgreSQL joke). The
person writing the queries has to understand what is actually happening
inside of the database. When I ported my app from MS SQL over to
PostgreSQL several years ago, there were many queries that were previously
zippy that ran like turds on PostgreSQL, and vice-versa!

As my dataset has gotten larger I have had to throw more metal at the
problem, but I have also had to rethink my table and query design. Just
because your data set grows linearly does NOT mean that the performance of
your query is guaranteed to grow linearly! A sloppy query that runs OK
with 3000 rows in your table may choke horribly when you hit 50000.

John

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Marlowe 2006-12-01 00:43:54 Re: Defining performance.
Previous Message Tom Lane 2006-12-01 00:26:36 Re: Defining performance.