Re: any way to use indexscan to get last X values

Поиск
Список
Период
Сортировка
Искать
От
Shridhar Daithankar
Тема
Re: any way to use indexscan to get last X values
Дата
Msg-id
3EEDBD70.15023.3CCA80F@localhost
Ответ на
Список
Дерево обсуждения
any way to use indexscan to get last X values with "order by Y limit X" clause? Tomaz Borstnar <tomaz.borstnar@over.net>
Re: any way to use indexscan to get last X values with Stephan Szabo <sszabo@megazone23.bigpanda.com>
Re: any way to use indexscan to get last X values with "order by Y limit X" clause? Tom Lane <tgl@sss.pgh.pa.us>
Re: any way to use indexscan to get last X values Tomaz Borstnar <tomaz.borstnar@over.net>
Re: any way to use indexscan to get last X values "Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>
Re: any way to use indexscan to get last X values Tomaz Borstnar <tomaz.borstnar@over.net>
Re: any way to use indexscan to get last X values "Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>
Re: any way to use indexscan to get last X values Tomaz Borstnar <tomaz.borstnar@over.net>
Re: any way to use indexscan to get last X values with "order by Y limit X" clause? "Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>
Re: any way to use indexscan to get last X values Tomaz Borstnar <tomaz.borstnar@over.net>
On 16 Jun 2003 at 9:08, Tomaz Borstnar wrote:
> So this really means major increase of performance for real situation - 
> forum with over 85 000 messages where you get rid of full scan and 2 full 
> sorts to display list of msgs which happens a lot. You can always use some 
> query/page caching things, but then people start to post duplicates, 
> because they think the message did not make it into the database.

OTOH, I was thinking of your original problem. If you could have two identical 
tables, one to store incoming posts and other to store approved posts, that 
should be lot more simpler.

Of course you need to vacuum much more if you are deleting from in queue but 
the kind of database you are handling, me need not tell you about vacuum..

Just a though..


Bye
 Shridhar

--
Drew's Law of Highway Biology:	The first bug to hit a clean windshield lands 
directly in front	of your eyes.

В списке pgsql-performance по дате отправления
От: Tomaz Borstnar
Дата:
От: Bruno Wolff III
Дата:
FAQ