On Tue, 2007-03-20 at 09:03 +0000, Simon Riggs wrote: > We should allow the DBA to specify which groups of cols to keep > statistics on, if there is no index on that group. > > That solves the combinatorial explosion problem. >
I think it would be a good first step if we could just keep stats on multiple columns in the same table. If we can do more than that, great. We could probably keep stats on multiple columns across different tables, but I don't know how those statistics should be used. Using statistics to estimate joins seems like a tricky problem. Maybe it's already solved with known algorithms? Regards, Jeff Davis ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly