| От | Harald Fuchs |
|---|---|
| Тема | Re: Caching of Queries |
| Дата | |
| Msg-id | pud60dgj0x.fsf@srv.protecting.net обсуждение исходный текст |
| Ответ на | Caching of Queries (Scott Kirkwood <scottakirkwood@gmail.com>) |
| Список | pgsql-performance |
In article <b3dc511704092212502a2ddb09@mail.gmail.com>, Scott Kirkwood <scottakirkwood@gmail.com> writes: > I couldn't find anything in the docs or in the mailing list on this, > but it is something that Oracle appears to do as does MySQL. > The idea, I believe, is to do a quick (hash) string lookup of the > query and if it's exactly the same as another query that has been done > recently to re-use the old parse tree. That's not was MySQL is doing. MySQL caches not the query plan, but the result set for the (hashed) query string. If the same query comes again, it is not executed at all (unless one of the tables involved have been changed meanwhile).
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера