Re: Query with "like" is really slow - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Query with "like" is really slow
Date
Msg-id 20070907151448.GH6167@alvh.no-ip.org
Whole thread Raw
In response to Re: Query with "like" is really slow  ("Carlo Stonebanks" <stonec.register@sympatico.ca>)
Responses Re: Query with "like" is really slow  ("Carlo Stonebanks" <stonec.register@sympatico.ca>)
List pgsql-general
Carlo Stonebanks wrote:
> <<Actually it's quite possible that
> that extra overhead in nested loop is largely gettimeofday() calls for the
> explain analyze. Does the query take less time run without explain analyze
> than it does run with it?
>>>
>
> Do you mean that an EXPLAIN ANALYZE that runs longer than the actual query
> is a symptom of time being lost to a function call?

It means that measuring alters the reality.

--
Alvaro Herrera                         http://www.flickr.com/photos/alvherre/
"I must say, I am absolutely impressed with what pgsql's implementation of
VALUES allows me to do. It's kind of ridiculous how much "work" goes away in
my code.  Too bad I can't do this at work (Oracle 8/9)."       (Tom Allison)
           http://archives.postgresql.org/pgsql-general/2007-06/msg00016.php

pgsql-general by date:

Previous
From: Bill Moran
Date:
Subject: Re: Security Advances in Postgresql over other RDBMS
Next
From: Zoltan Boszormenyi
Date:
Subject: Re: What's the difference between SET STORAGE MAIN and EXTENDED?