Re: [PERFORM] Why is not using the index

2005-08-11 Thread Luis Cornide Arce
Well I have change the next setting in the postgresql.conf shared_buffers= 16384 work_mem =32768 maintenance_work_mem= 65536 bgwriter_delay =800 bgwriter_maxpages= 100 wal_buffers =64 efective_cache_size= 2 The rest of the settings are the default. Thanks, Luis Richard Huxton escribió:

Re: [PERFORM] Why is not using the index

2005-08-11 Thread Richard Huxton
Luis Cornide Arce wrote: Hi everyone, I have some problems with a quite long query and the plan postgreSQL is choosing. The query joins 12 tables and in the WHERE clause I use a IN expression with a lot of identifiers (up to 2000). The problem is that the planner is proposing a seq_scan on tw