Re: Performance of count(*)

Поиск
Список
Период
Сортировка
От Michael Stone
Тема Re: Performance of count(*)
Дата
Msg-id 8eec90ab2ccf424d8df4ef12d2bf3fb6
обсуждение исходный текст
Ответ на Re: Performance of count(*)  ("Merlin Moncure" <mmoncure@gmail.com>)
Список pgsql-performance
On Thu, Mar 22, 2007 at 02:24:39PM -0400, Merlin Moncure wrote:
>Tino was saying that rather that build a complete indexing storage
>management solution that lives outside the database, it is better to
>do intelligent session management so that you get the simplicity if a
>two tier client server system but the scalability of a web app.

No, what he was saying was "there's this thing called a cursor". I 
thought there was enough information in the original message to indicate 
that the author knew about cursors. There are certainly pros and cons 
and nuances to different approaches, but Tino's message didn't touch on 
anything that specific. 

And even if you do use some kind of "intelligent session management", 
how many simultaneous cursors can postgres sanely keep track of? 
Thousands? Millions? Tens of Millions? I suspect there's a scalability 
limit in there somewhere. Luckily I don't spend much time in the web 
application space, so I don't need to know.  :)

Mike Stone


В списке pgsql-performance по дате отправления: