Re: Having too many indexes on a table
Posted in 1998
> I have a table with 10 columns, and row size is 261 and index size<BR> >> is 117.<BR> >> I need indexes on these columns.<BR> >> <BR> >> 1. userid, startdate<BR> >> 2. userid, wcc<BR> >> 3. wcc, startdate<BR> >> 4. sesssionid ( I do not do query on this, But it is primary key for<BR> >> making row unique)<BR> >> <BR> >> I need to know about these problems<BR> Without a sqexplain.out, or an example of your application(s), I am just shooting in the dark. Never stopped me before. Iwould imagine you have some queries that are interested in the startdate. try making index #1( startdate,userid) . You still have a userid index at the head of #2 , and you now have an index on that date. email me and let me know. Sean Bradley sailf3@aol.com