![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
My questions is, should I create one index contains col1, col2, and col3, or create 3 seperated columns. I.e. each column has its own index. |
|
Hi, Would like to know the performance differenece between Multi-column Index vs Single Column Indexes. Let's say I have a table with col1, col2, col3 along with a primary key column and non-indexed columns. In queries, I will use col1, col2, and col3 together and some times just one or two of these three columns. My questions is, should I create one index contains col1, col2, and col3, or create 3 seperated columns. I.e. each column has its own index. Any performance difference? Thanks a lot. |
#3
| |||
| |||
|
|
Hi, Would like to know the performance differenece between Multi-column Index vs Single Column Indexes. Let's say I have a table with col1, col2, col3 along with a primary key column and non-indexed columns. In queries, I will use col1, col2, and col3 together and some times just one or two of these three columns. My questions is, should I create one index contains col1, col2, and col3, or create 3 seperated columns. I.e. each column has its own index. Any performance difference? Thanks a lot. |
![]() |
| Thread Tools | |
| Display Modes | |
| |