Explain not accurate

Поиск
Список
Период
Сортировка
От Richard van den Berg
Тема Explain not accurate
Дата
Msg-id 3FFEB6DA.8000905@trust-factory.com
обсуждение исходный текст
Ответы Re: Explain not accurate  (Dennis Bjorklund <db@zigo.dhs.org>)
Re: Explain not accurate  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Re: Explain not accurate  (Greg Stark <gsstark@mit.edu>)
Список pgsql-performance
Hi there,

I am quite new to postgresql, and love the explain feature. It enables
us to predict which SQL queries needs to be optimized before we see any
problems. However, I've run into an issue where explain tells us a the
costs of a quiry are tremendous (105849017586), but the query actually
runs quite fast. Even "explain analyze" shows these costs.

This makes me wonder: can the estimates explain shows be dead wrong?

I can explain in more detail (including the query and output of explain)
if needed. I'm using 7.4 on Solaris 8.

Sincerely,

--
Richard van den Berg, CISSP

Trust Factory B.V.      | http://www.trust-factory.com/
Bazarstraat 44a         | Phone: +31 70 3620684
NL-2518AK The Hague     | Fax  : +31 70 3603009
The Netherlands         |

Visit us at Lotusphere 2004 http://www.trust-factory.com/lotusphere



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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: optimizing Postgres queries
Следующее
От: Dennis Bjorklund
Дата:
Сообщение: Re: Explain not accurate