![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
What is an index that is narrow and fixed? int int int datetime be narrow and fixed? Would int int char(4) datetime be narrow and fixed? And int int varchar(25) datetime would be narrow but not fixed? |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
On Oct 19, 11:16*am, 1dg618 <1dg... (AT) gmail (DOT) com> wrote: Yes. By "narrow" I meant any number of narrow columns: 1 & 2 By "fixed" I meant all the columns are fixed length *and* not null. Nullable is implemented as variable length. |
|
In the context of making general statements about how slow/fast an index is, without observing other aspects such as no of rows; APL vs DPL/DRL; row size; fragmentation; etc, a "fast" index is one that has narrow, fixed columns. *The number of columns does not make much difference, the width of the columns, and the fixed/var does make a difference. |
![]() |
| Thread Tools | |
| Display Modes | |
| |