Please explan Why static query is more faster than dynamic
query ?
Answers were Sorted based on User's Feedback
Answer / uma
In dynamic SQL the SQL statement is prepared each time
before the Run time.But this not the case with static SQL
it ll be stored in shared SQL area and this will refered if
same Query is used again.So static ll be faster
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / deshabandhu bar
Static query is faster as this keep the Execution plan in
the lib cache. Also it keeps data blocks in the buffer
cache. Next time when a user try to execute the same query
the user hit the cache and execution plan will be ready for
that user. So the time required for parsing and creating
execution plan will be 0. So the Static query is faster
than the dynamic query.
Is This Answer Correct ? | 5 Yes | 0 No |
Can we write dml statement in function in oracle?
How do you bind variables in oracle?
How do you rate yourself in oracle and sql server ?
what is primary key?
why pl sql doesn't support retrieving multiple records
What is sharded cluster?
What is an Integrity Constrains ?
20. Using a set operator, display the client number of all clients who have never placed an order.
Difference between oracle's plus (+) notation and ansi join notation?
What is an oracle user account?
How to delete an existing row from a table in oracle?
List the parts of a database trigger.