Re: bug in zcatalog queryplan causing very slow first query after startup
Jean Jordaan <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <CAJqnznBxB6JXgozRG=j5puF_Ps72qn4j4pdh505McV4FtqnEBg@mail.gmail.com> |
On Thu, Oct 17, 2013 at 5:38 PM, Dylan Jay <djay-n0pU0XVUApFWk0Htik3J/[email protected]> wrote: >>> I would also like to make a fix to make queryplans persistent into the ZODB which would further help to prevent slow queries on startup. Does anyone know this wasn't done in the originally? >>> >> Presumably because you don't want to write to the ZODB after every query. > > Could be made to write only on significant changes. How about write on ZEO shutdown? -- jean . .. .... //\\\oo///\\ ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk