| От | Tom Lane |
|---|---|
| Тема | Re: count(*) performance improvement ideas |
| Дата | |
| Msg-id | 20576.1205340164@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: count(*) performance improvement ideas (Mark Mielke <mark@mark.mielke.cc>) |
| Ответы |
Re: count(*) performance improvement ideas
|
| Список | pgsql-hackers |
Mark Mielke <mark@mark.mielke.cc> writes:
> Fine - once per transaction instead of once per insert. Still, if there
> is overhead to this (updating a secondary summary table), does it really
> make sense to have it for every table?
We certainly wouldn't accept a patch that imposed this overhead on every
table.
One of the advantages of framing it as an explicit set of triggers is
that then you have a natural way of indicating which table(s) you want
the feature for (and are willing to pay the overhead to get it).
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера