| От | Mike Ivanov |
|---|---|
| Тема | Re: random slow query |
| Дата | |
| Msg-id | 4A4AB4C6.8070808@activestate.com обсуждение исходный текст |
| Ответ на | Re: random slow query (Scott Carey <scott@richrelevance.com>) |
| Список | pgsql-performance |
Scott Carey wrote: > the OS can either quickly allocate to the process or > the page cache from the free buffers, or more slowly take from the page > cache, or even more slowly page out a process page. > Aha, now it all makes sense. > I like to use the '5 second rule'. dirty_background_ratio should be sized > so that it takes about 5 seconds to flush to disk in optimal conditions. > dirty_ratio should be 2x to 5x this depending on your application's needs -- > for a system with well tuned postgres checkpoints, smaller tends to be > better to limit stalls while waiting for the checkpoint fsync to finish. > Thanks a lot, this is invaluable information. Regards, Mike
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера