Home > database > How to optimize efficiency paging statements
How to optimize efficiency paging statements
Time:09-21
SELECT * FROM (SELECT r_t. *, ROWNUM r_rownum FROM (SELECT/* + */subscribersn rule FROM subscriberrentinfo where version & gt;=1 and the version & lt;=: 2) r_t WHERE ROWNUM & lt; : 3) WHERE r_rownum & gt; 4=: Statement execution performance tests found that trip when the most time consuming, 98% CPU usage, can you tell me how to optimize
CodePudding user response:
Posted on the execution plan, light a statement, don't see what,
CodePudding user response:
The execution plan,,
CodePudding user response:
What is the Oracle version? If it is 10 g and 11 g, 12 c, please remove the rule *//* + hint,
CodePudding user response:
Condition too much is not controllable, the paging SQL can't be in all conditions can be optimized