Re: Can the V7.3 EXPLAIN ANALYZE be trusted?

Поиск
Список
Период
Сортировка
От Leeuw van der, Tim
Тема Re: Can the V7.3 EXPLAIN ANALYZE be trusted?
Дата
Msg-id BF88DF69D9E2884B9BE5160DB2B97A85010D7046@nlshl-exch1.eu.uis.unisys.com
обсуждение исходный текст
Ответ на Can the V7.3 EXPLAIN ANALYZE be trusted?  (Steven Rosenstein <srosenst@us.ibm.com>)
Ответы Re: Can the V7.3 EXPLAIN ANALYZE be trusted?  (Greg Stark <gsstark@mit.edu>)
Re: Can the V7.3 EXPLAIN ANALYZE be trusted?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance

-----Original Message-----
From: pgsql-performance-owner@postgresql.org [mailto:pgsql-performance-owner@postgresql.org]On Behalf Of Steven
Rosenstein
Sent: Sunday, February 06, 2005 8:51 PM
To: pgsql-performance@postgresql.org
Subject: [PERFORM] Can the V7.3 EXPLAIN ANALYZE be trusted?






While working on a previous question I posed to this group, I ran a number
of EXPLAIN ANALYZE's to provide as examples.  After sending up my last
email, I ran the same query *without* EXPLAIN ANALYZE.  The runtimes were
vastly different.  In the following example, I ran two identical queries
one right after the other.  The runtimes for both was very close (44.77
sec).  I then immediately ran the exact same query, but without EXPLAIN
ANALYZE.  The same number of rows was returned, but the runtime was only
8.7 sec.  I don't think EXPLAIN ANALYZE puts that much overhead on a query.
Does anyone have any idea what is going on here?

--- Steve


Caching by the OS?

(Did you try to *first* run the query w/o EXPLAIN ANALYZE, and then with? What's the timing if you do that?)

--Tim

В списке pgsql-performance по дате отправления:

Предыдущее
От: Steven Rosenstein
Дата:
Сообщение: Re: Are JOINs allowed with DELETE FROM
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Can the V7.3 EXPLAIN ANALYZE be trusted?