multi column query - Mailing list pgsql-performance

From Sriram Dandapani
Subject multi column query
Date
Msg-id 6992E470F12A444BB787B5C937B9D4DF03EF488C@ca-mail1.cis.local
Whole thread Raw
Responses Re: multi column query
List pgsql-performance

Hi

When I update a table that has 20 columns and the where clause includes 16 of the columns (this is a data warehousing type update on aggregate fields),

The bitmap scan is not used by the optimizer. The table is indexed on 3 of the 20 fields. The update takes really long to finish (on a 6 million row table)

 

Do I need to do some “magic” with configuration to turn on bitmap scans.

pgsql-performance by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: pgmemcache
Next
From: Tom Lane
Date:
Subject: Re: pgmemcache