Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: large table help needed
I think it will, Larry. It won't hurt to try anyway, as you can always drop
the index. The reason that I'm a little unsure is because I've not indexed
a date field before. I have also a 3-field (all numerics) concatenated
primary key on one large table (~300K records) and it ran like a dog without
indexes. I quickly added 6 indexes and it goes like a dream (6 being, 1 for
each field, 1 for the first 2 of 3 fields (a common query), another for the
1st and 3rd of the 3 (another very common join) and 1 for all 3. - I don't
have 2nd and 3rd as it's not a valid (for business reasons) join. Also, I
should have more indexes being for the 2nd and 1st, and for 3rd and 1st
(note the order) - but I'm careful I get the joins right (I check using
explain table).
--
David McRae dmcrae_at_dynamite.com.au Canberra 02 6239 4247Larry Schenavar wrote in message <6id85d$5l0$1_at_news1.infoave.net>...
![]() |
![]() |