Re: Query plan with missing timespans - Mailing list pgsql-performance

From Andomar
Subject Re: Query plan with missing timespans
Date
Msg-id 5537FD9F.3060109@aule.net
Whole thread Raw
In response to Re: Query plan with missing timespans  (Kevin Grittner <kgrittn@ymail.com>)
Responses Re: Query plan with missing timespans  (Jason Petersen <jason@citusdata.com>)
List pgsql-performance
> Looping through 384 index scans of tbl, each taking 0.040 ms.
> That's 15.36 ms.  That leaves 0.291 ms unaccounted for, which means
> that's about how much time the top level nested loop took to do its
> work.
>

Thanks for your reply, interesting!  I'd have thought that this line
actually implied 0 ms:

     actual time=0.040..0.040

But based on your reply this means, it took between 0.040 and 0.040 ms
for each loop?

Is there a way to tell postgres that a function will always return the
same result for the same parameter, within the same transaction?

Kind regards,
Andomar


pgsql-performance by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: Query plan with missing timespans
Next
From: Jason Petersen
Date:
Subject: Re: Query plan with missing timespans