Re: how does pg handle concurrent queries and same queries

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
Cc: Faludi Gábor <gfaludi(at)fits(dot)hu>, pgsql-performance(at)postgresql(dot)org
Subject: Re: how does pg handle concurrent queries and same queries
Date: 2008-07-28 13:47:02
Message-ID: 20080728134702.GA14617@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Craig Ringer wrote:
> Faludi Gábor wrote:
>
> > . Why does the second and the later queries take the whole on second
> > if the dataset is the same . Shouldn't PG realise that the query is the same
> > so i give the user the same resultset ?
>
> That would require a result cache. I don't know if Pg even has a query
> result cache - I don't think so, but I'm not sure.

It doesn't.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Mark Wong 2008-07-28 20:17:08 Re: A guide/tutorial to performance monitoring and tuning
Previous Message Matthew Wakeling 2008-07-28 11:27:27 Re: how does pg handle concurrent queries and same queries