Yes, I can possibly use triggers to maintanin
counts of several fixed groups of records or total recordcount (but it's
unpractical).
No, I can't speed-up evaluation of generic
"count(*) where ()" queries this way.
My question was rather about general performance of
count() queries in environment with infrequent updates.
Cestmir
|
- [PERFORM] count(*) using index scan in "que... Cestmir Hybl
- Re: [PERFORM] count(*) using index scan in ... hubert depesz lubaczewski
- Re: [PERFORM] count(*) using index scan... Cestmir Hybl
- Re: [PERFORM] count(*) using index ... hubert depesz lubaczewski
- Re: [PERFORM] count(*) using index scan in ... Steinar H. Gunderson
- Re: [PERFORM] count(*) using index scan... Cestmir Hybl
- Re: [PERFORM] count(*) using index ... Alvaro Herrera
- Re: [PERFORM] count(*) using index scan... mark
- Re: [PERFORM] count(*) using index scan in ... Tom Lane
- Re: [PERFORM] count(*) using index scan... Richard Huxton
- Re: [PERFORM] count(*) using index scan in ... Merlin Moncure