| От | Greg Smith |
|---|---|
| Тема | Re: select count(*) status these days |
| Дата | |
| Msg-id | 4CBD2BE8.6030105@2ndquadrant.com обсуждение исходный текст |
| Ответ на | select count(*) status these days (Dennis Gearon <gearond@sbcglobal.net>) |
| Список | pgsql-general |
Dennis Gearon wrote: > Is there any architectural way to speed it up? I'd actually like to run it every 2-60 seconds to update a counter on apage for the marketing guy, (which for once, is me :- Could always maintain it with triggers. See http://wiki.postgresql.org/wiki/Slow_Counting for a discussion of this whole issue, with pointers to articles about alternate solutions. -- Greg Smith, 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD PostgreSQL Training, Services and Support www.2ndQuadrant.us Author, "PostgreSQL 9.0 High Performance" Pre-ordering at: https://www.packtpub.com/postgresql-9-0-high-performance/book
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера