Re: [PERFORM] Created Index is not used

2006-02-23 Thread Kjeld Peters
Hi Markus, first of all thanks for your quick reply! Markus Schaber wrote: Kjeld Peters wrote: Select and update statements are quite slow on a large table with more than 600,000 rows. The table consists of 11 columns (nothing special). The column "id" (int8) is primary key and has a btree ind

Re: [PERFORM] Created Index is not used

2006-02-23 Thread Markus Schaber
Hi, Kjeld, Kjeld Peters wrote: > Select and update statements are quite slow on a large table with more > than 600,000 rows. The table consists of 11 columns (nothing special). > The column "id" (int8) is primary key and has a btree index on it. > > The following select statement takes nearly 500

Re: [PERFORM] Created Index is not used

2006-02-23 Thread Ragnar
On fim, 2006-02-23 at 13:35 +0100, Kjeld Peters wrote: > Select and update statements are quite slow on a large table with more > than 600,000 rows. The table consists of 11 columns (nothing special). > The column "id" (int8) is primary key and has a btree index on it. > > The following select s

[PERFORM] Created Index is not used

2006-02-23 Thread Kjeld Peters
Select and update statements are quite slow on a large table with more than 600,000 rows. The table consists of 11 columns (nothing special). The column "id" (int8) is primary key and has a btree index on it. The following select statement takes nearly 500ms: SELECT * FROM table WHERE id = 600