| От | Tom Lane |
|---|---|
| Тема | Re: count * performance issue |
| Дата | |
| Msg-id | 16334.1204956792@sss.pgh.pa.us обсуждение |
| Ответ на | Re: count * performance issue (Greg Smith <gsmith@gregsmith.com>) |
| Список | pgsql-performance |
Greg Smith <gsmith@gregsmith.com> writes:
> I know when I'm playing with pgbench the primary key index on the big
> accounts table is 1/7 the size of the table, and when using that table
> heavily shared_buffers ends up being mostly filled with that index. The
> usage counts are so high on the index blocks relative to any section of
> the table itself that they're very sticky in memory. And that's toy data;
> on some of the webapps people want these accurate counts for the ratio of
> index size to table data is even more exaggerated (think web forum).
Remember that our TOAST mechanism acts to limit the width of the
main-table row.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера