Re: increasing shared buffer slow downs query performance.
В списке pgsql-performance по дате отправления:
| От | Pavan Deolasee |
|---|---|
| Тема | Re: increasing shared buffer slow downs query performance. |
| Дата | |
| Msg-id | 2e78013d0803250523w28a16315w3e5ec0846155c8b7@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: increasing shared buffer slow downs query performance. (Andreas Kretschmer <akretschmer@spamfence.net>) |
| Список | pgsql-performance |
On Mon, Mar 24, 2008 at 3:37 PM, Andreas Kretschmer <akretschmer@spamfence.net> wrote: > petchimuthu lingam <spmlingam@gmail.com> schrieb: > > > > Hi friends, > > > > I am using postgresql 8.1, I have shared_buffers = 50000, now i execute the > > query, it takes 18 seconds to do sequential scan, when i reduced to 5000, it > > takes one 10 seconds, Why. > > Wild guess: the second time the data are in the filesystem cache. > Another wild possibility is that the first query sets the hint bits for the rows involved and hence the second time it runs fast. May be you want to run the query few times in both the settings and then compare. Thanks, Pavan -- Pavan Deolasee EnterpriseDB http://www.enterprisedb.com
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера