| От | Harald Fuchs |
|---|---|
| Тема | Re: Caching of Queries |
| Дата | |
| Msg-id | puzn3bg02g.fsf@srv.protecting.net обсуждение |
| Ответ на | Caching of Queries (Scott Kirkwood <scottakirkwood@gmail.com>) |
| Список | pgsql-performance |
In article <1096261381.25688.741.camel@localhost.localdomain>,
Neil Conway <neilc@samurai.com> writes:
> I think the conclusion of past discussions about this feature is that
> it's a bad idea. Last I checked, MySQL has to clear the *entire* query
> cache when a single DML statement modifying the table in question is
> issued.
Nope, it deletes only queries using that table.
> Not to mention that the feature is broken for non-deterministic
> queries (like now(), ORDER BY random(), or nextval('some_seq'), and so
> on).
Queries containing now(), rand(), or similar functions aren't cached by MySQL.
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера