Re: [SQL] Good Optimization
От | wieck@debis.com (Jan Wieck) |
---|---|
Тема | Re: [SQL] Good Optimization |
Дата | |
Msg-id | m112BLo-0003ktC@orion.SAPserv.Hamburg.dsh.de обсуждение исходный текст |
Ответ на | Re: [SQL] Good Optimization (Patrik Kudo <kudo@partitur.se>) |
Список | pgsql-sql |
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) #
В списке pgsql-sql по дате отправления: