pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: wieck@debis.com
To: kudo@partitur.se
Cc: jwieck@debis.com
Cc: maillist@candle.pha.pa.us
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] Good Optimization
Date: Thu, 8 Jul 1999 12:24:20 +0200 (MET DST)
Message-ID: <m112BLo-0003ktC@orion.SAPserv.Hamburg.dsh.de> (raw)
In-Reply-To: <37846E02.CB83939C@partitur.se>

Patrik Kudo wrote:

> Jan Wieck wrote:
> >
> >     This time the "a.x = b.x" is important!
>
> Ouch... didn't think that far. However, if an cache is implemented
> it might be worth the extra overhead to optimize special cases like
> the one I commented on. Since most systems use a fairly limited set
> of queries (I suppose...) most of the queries will be cached quite
> fast.

    Exactly  the  fact  that  most  system  use  a limited set of
    queries made me think that a shared query->plan  cache,  that
    in  the best of all worlds isn't lost on backend termination,
    is worth the efford. And it would lower the  need  of  client
    side prepared execution plans as discussed sometimes.


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#========================================= wieck@debis.com (Jan Wieck) #





view thread (27+ messages)  latest in thread

Message-ID: <m112BLo-0003ktC@orion.SAPserv.Hamburg.dsh.de>
Permalink:  ../m112BLo-0003ktC@orion.SAPserv.Hamburg.dsh.de/
Also on:    postgresql.org/message-id/m112BLo-0003ktC@orion.SAPserv.Hamburg.dsh.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: wieck@debis.com, kudo@partitur.se, jwieck@debis.com, maillist@candle.pha.pa.us
  Subject: Re: [SQL] Good Optimization
  In-Reply-To: <m112BLo-0003ktC@orion.SAPserv.Hamburg.dsh.de>
  References: <37846E02.CB83939C@partitur.se> <m112BLo-0003ktC@orion.SAPserv.Hamburg.dsh.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox