Re: [PDO] Client side cache for prepared queries
[email protected] (Julien Palard) Tue, 2 Aug 2011 14:47:21 +0200
| Newsgroups | php.pdo |
|---|---|
| Message-ID | <CAOO=pgCWnXBTWnwNfEjnWvga4+D2vnR2VoVr+dEaoTk+pssqyg@mail.gmail.com> |
Hi Ferenc On Tue, Aug 2, 2011 at 2:35 PM, Ferenc Kovacs <[email protected]> wrote: > if you [...] force pdo to use real prepared statements, > then you can reuse the compiled statements via using persistent > connections. > [...] > > does this answer your question? Yes you're exactly answering my question, so there already has a cache in the driver that reuse the prepared queries on the same connection, great ! So as I already use persistent connection, if I force PDO to use real prepared queries, does I have something more to do to use this cache ? And is there any documentation about it ? Bests, -- Julien Palard