Reece, We have some multi-column indexes. Speed of insert, update, and delete are not an issue since this data is essentially static: write-once, read-many. As far as I can tell (from running actual tests) Postgres will not use a multi-column index when the SELECT is constraining on only one of the columns in the index. If I need a single column index, I create one. If I need three columns in an index, I create a specific 3 column index. Granted, my memory is fuzzy, and some of my testing was done on version 7.x and there may be improvements on version 8.x -Tom ... -- Tom Laudeman twl8n@xxxxxxxxxxxx (434) 924-2456 http://www.people.virginia.edu/~twl8n/ http://laudeman.com/ |