![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I work primarily in SQL Server and have run across a situatiion in Oracle that's troubling me.... I have a query that contains a where clause with 2 restrictions. *Both these fields are in a composite index of 3 fields. *If I add the third field to the restriction the optimizer uses the index, however if i keep it with just the 2 fields it does a table scan and takes forever unless I put in an index hint to use the composite index. *Is this right?..is this a dba issue? |
#3
| |||
| |||
|
|
I work primarily in SQL Server and have run across a situatiion in Oracle that's troubling me.... I have a query that contains a where clause with 2 restrictions. *Both these fields are in a composite index of 3 fields. *If I add the third field to the restriction the optimizer uses the index, however if i keep it with just the 2 fields it does a table scan and takes forever unless I put in an index hint to use the composite index. *Is this right?..is this a dba issue? |
#4
| |||
| |||
|
|
I work primarily in SQL Server and have run across a situatiion in Oracle that's troubling me.... I have a query that contains a where clause with 2 restrictions. *Both these fields are in a composite index of 3 fields. *If I add the third field to the restriction the optimizer uses the index, however if i keep it with just the 2 fields it does a table scan and takes forever unless I put in an index hint to use the composite index. *Is this right?..is this a dba issue? |
#5
| |||
| |||
|
|
I work primarily in SQL Server and have run across a situatiion in Oracle that's troubling me.... I have a query that contains a where clause with 2 restrictions. *Both these fields are in a composite index of 3 fields. *If I add the third field to the restriction the optimizer uses the index, however if i keep it with just the 2 fields it does a table scan and takes forever unless I put in an index hint to use the composite index. *Is this right?..is this a dba issue? |
#6
| |||
| |||
|
|
I work primarily in SQL Server and have run across a situatiion in Oracle that's troubling me.... I have a query that contains a where clause with 2 restrictions. *Both these fields are in a composite index of 3 fields. *If I add the third field to the restriction the optimizer uses the index, however if i keep it with just the 2 fields it does a table scan and takes forever unless I put in an index hint to use the composite index. *Is this right?..is this a dba issue? |
#7
| |||
| |||
|
|
I work primarily in SQL Server and have run across a situatiion in Oracle that's troubling me.... I have a query that contains a where clause with 2 restrictions. *Both these fields are in a composite index of 3 fields. *If I add the third field to the restriction the optimizer uses the index, however if i keep it with just the 2 fields it does a table scan and takes forever unless I put in an index hint to use the composite index. *Is this right?..is this a dba issue? |
#8
| |||
| |||
|
|
I work primarily in SQL Server and have run across a situatiion in Oracle that's troubling me.... I have a query that contains a where clause with 2 restrictions. *Both these fields are in a composite index of 3 fields. *If I add the third field to the restriction the optimizer uses the index, however if i keep it with just the 2 fields it does a table scan and takes forever unless I put in an index hint to use the composite index. *Is this right?..is this a dba issue? |
#9
| |||
| |||
|
|
I work primarily in SQL Server and have run across a situatiion in Oracle that's troubling me.... I have a query that contains a where clause with 2 restrictions. *Both these fields are in a composite index of 3 fields. *If I add the third field to the restriction the optimizer uses the index, however if i keep it with just the 2 fields it does a table scan and takes forever unless I put in an index hint to use the composite index. *Is this right?..is this a dba issue? |
#10
| |||
| |||
|
|
I work primarily in SQL Server and have run across a situatiion in Oracle that's troubling me.... I have a query that contains a where clause with 2 restrictions. Both these fields are in a composite index of 3 fields. If I add the third field to the restriction the optimizer uses the index, however if i keep it with just the 2 fields it does a table scan and takes forever unless I put in an index hint to use the composite index. Is this right?..is this a dba issue? |
![]() |
| Thread Tools | |
| Display Modes | |
| |