Re: need suggestion on querying big tables
От | Scott Ribe |
---|---|
Тема | Re: need suggestion on querying big tables |
Дата | |
Msg-id | AF5ECE5E-E6BA-41DD-B644-EB92A870736A@elevated-dev.com обсуждение исходный текст |
Ответ на | Re: need suggestion on querying big tables (Ron <ronljohnsonjr@gmail.com>) |
Список | pgsql-admin |
> On Dec 6, 2022, at 8:51 AM, Ron <ronljohnsonjr@gmail.com> wrote: > > https://www.postgresql.org/docs/11/runtime-config-query.html > > effective_cache_size is how much RAM a single query gets. "When setting this parameter you should consider both PostgreSQL'sshared buffers". > > https://www.postgresql.org/docs/11/runtime-config-resource.html > > "a reasonable starting value for shared_buffers is 25% of the memory in your system. There are some workloads where evenlarger settings for shared_buffers are effective, but because PostgreSQL also relies on the operating system cache, itis unlikely that an allocation of more than 40% of RAM to shared_buffers will work better than a smaller amount." > > You've set effective_cache_size to 83%, when it should be at most 20%. effective_cache_size is a hint as to how much RAM is available for the operating system file cache after all other uses aretaken into account.
В списке pgsql-admin по дате отправления: