Create Composite Index
Last updated on JULY 24, 2016
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.5 to 126.96.36.199 [Release 10.2 to 12.1]
Information in this document applies to any platform.
We have a table that makes a Full table scan.
At start of the application the query had 0.1 second execution time, now after 5 months it's 0.3 seconds.
The query is simple and has only a Primary key, no other indexes defined.
What is the best practice to create the index?
The problematic query looks like this:
WHERE (TRS_PRID = :1 AND TRS_PID = :2 AND TRS_STA = :3 ) ;
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms