MIDRANGE dot COM Mailing List Archive



MIDRANGE-L » February 2013

Re: SSD Best practices



To reiterate what Luis said, if you have this huge multicolumn table, but
the columns you need are all in the index it will only access the index
and never touch the physical. For example, suppose you have a state index
(custbystate) on your customer master and you run this sql:

select state, count(*)
from custmast
group by state
order by state

then it will only access custbystate. See iNav's Visual Explain.

Now if you do something like

select state, max(custno), count(*)
from custmast
group by state
order by state

then it's going to need the physical since custno is not stored in the
index.



Rob Berendt





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2013 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact