Re: Slow counting still true?
От
Jeff Janes
Тема
Re: Slow counting still true?
Дата
Msg-id
CAMkU=1zEHjhkqZZBBf=p982sd_z437Y50gkMMcp5nogj+guU_g@mail.gmail.com
Ответ на
Slow counting still true? (Thomas Guettler)
Список
Дерево обсуждения
Slow counting still true? Thomas Guettler <hv@tbz-pariv.de>
Re: Slow counting still true? Chris Travers <chris.travers@gmail.com>
Re: Slow counting still true? Edson Richter <edsonrichter@hotmail.com>
Re: Slow counting still true? Dann Corbit <DCorbit@connx.com>
Re: Slow counting still true? Jeff Janes <jeff.janes@gmail.com>
Re: Slow counting still true? Edson Richter <edsonrichter@hotmail.com>
Re: Slow counting still true? Jeff Janes <jeff.janes@gmail.com>
On Mon, Sep 17, 2012 at 1:07 AM, Thomas Guettler wrote: > Release 9.2 should increase count(*) performance. Is this wiki page still > valid? Even with index only scans, it still has to walk through every tuple, even if they are only index tuples not table tuples. So nothing has fundamentally changed. So it is still true that "PostgreSQL must walk through all rows, in some sense". I guess this sentence is partly out of date: "PostgreSQL will still need to read the resulting rows to verify that they exist; other database systems may only need to reference the index in this situation." Maybe just deleting it would be appropriate. Cheers, Jeff
В списке pgsql-general по дате отправления
От: Alex Lai
Дата: