Re: [PERFORM] index performance on large tables with update and insert

2008-05-23 Thread Magnus Hagander
Jessica Richard wrote: > I have a large table with about 2 million rows and it will keep > growing... > > I need to do update/inserts, and select as well. > > An index will speed up the select, but it will slow down the updates. > > Are all Postgres indexes ordered? i.e., with every update, the

[PERFORM] index performance on large tables with update and insert

2008-05-23 Thread Jessica Richard
I have a large table with about 2 million rows and it will keep growing... I need to do update/inserts, and select as well. An index will speed up the select, but it will slow down the updates. Are all Postgres indexes ordered? i.e., with every update, the index pages will have to be physically