EXPLAIN ANALYZE in comparable units

From: "Jason M(dot) Felice" <jfelice(at)cronosys(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: EXPLAIN ANALYZE in comparable units
Date: 2003-03-28 20:42:43
Message-ID: 20030328204243.GH11198@argo.eraserhead.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I'm curious if anyone's considered adding logic to count actual disk/cache
hits to report for EXPLAIN ANALYZE so that we get a more apples-to-apples
comparison?

The other question is whether anyone has got scripts or tools or what not
for testing and getting accurate numbers for the following tuning variables:

random_page_cost
cpu_tuple_cost
cpu_index_tuple_cost
cpu_operator_cost

I've seen the code and the last one is pretty gross, but the first three
could definitely swing the optimizer, especially with the hardware I might
be getting ;-)

If noone has scripts, can anyone suggest how to implement.

-Jason

Browse pgsql-hackers by date

  From Date Subject
Next Message Kris Jurka 2003-03-28 21:23:09 Re: Detecting corrupted pages earlier
Previous Message Tom Lane 2003-03-28 20:27:34 Re: Detecting corrupted pages earlier