Alvaro Herrera <alvherre@xxxxxxxxxxxxxxxxx> writes: > Patric wrote: >> My Question now is: Is it wise to do so, and create hundreds or maybe >> thousands of Indices >> which partition the table for the selections. > No, this is not helpful -- basically what you are doing is taking the > first level (the first couple of levels maybe) of the index out of it, Right --- you'd be *far* better off using a small number of multicolumn indexes. I wouldn't want to bet that the planner code scales effectively to thousands of indexes, and even if it does, you're throwing away any chance of using parameterized queries. The update overhead is unpleasant to contemplate as well (or is this a read-only table?) regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org