| От | Greg Smith |
|---|---|
| Тема | Re: clearing the buffer cache |
| Дата | |
| Msg-id | Pine.GSO.4.64.0902161715500.4374@westnet.com обсуждение |
| Ответ на | Re: clearing the buffer cache (Sam Mason <sam@samason.me.uk>) |
| Список | pgsql-general |
On Mon, 16 Feb 2009, Sam Mason wrote: > On Mon, Feb 16, 2009 at 11:09:59AM -0500, Chris Mayfield wrote: >> You can also try something like this: >> http://wiki.services.openoffice.org/wiki/Cold-start-simulator >> might take too long in your situation of thousands of small queries. > > Why is this better than asking the kernel to drop its caches? fillmem/flushdisk also work with kernels before 2.6.16, which means that it's not avaialble on still common platforms (RHEL4 for example). If you've got drop_caches, it's the better approach, that pages gives an answer if you don't too. -- * Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера