Re: Super Optimizing Postgres

From: mlw <markw(at)mohawksoft(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: matthew(at)zeut(dot)net, Alex Pilosov <alex(at)pilosoft(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Super Optimizing Postgres
Date: 2001-11-16 22:06:38
Message-ID: 3BF58DEE.55C57C2A@mohawksoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:
>
> > Didn't Bruce do a document on this exact topic? I'm not sure it's everything
> > you are looking for, but it might help you get started.
>
> Sure:
>
> http://techdocs.postgresql.org

Question:

Does sort memory come out of shared? I don't think so (would it need too?), but
"Cache Size and Sort Size " seems to imply that it does.

Also, you don't go into the COST variables. If what is documented about them is
correct, they are woefully incorrect with a modern machine.

Would a 1.3 ghz Athlon really have a cpu_operator_cost of 0.0025? That would
imply that that computer could process 2500 conditionals in the time it would
take to make a sequential read. If Postgres is run on a 10K RPM disk vs a 5.4K
RPM disk on two different machines with the same processor and speed, these
numbers can't hope to be right, one should be about twice as high as the other.

That said, do these numbers really affect the planner all that much?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-11-16 22:13:56 Re: Super Optimizing Postgres
Previous Message Trond Eivind =?iso-8859-1?q?Glomsr=F8d?= 2001-11-16 21:50:49 Re: 7.2b2 "make check" failure on Red Hat Linux 7.2