Please explan Why static query is more faster than dynamic
query ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the various oracle database objects?

799


What is Segment Advisor in Oracle?

825


How to load data from external tables to regular tables?

779


What is pragma autonomous transaction in oracle?

741


What is transaction control statement and how many types of transaction control statement in Oracle?

799


How does Oracle guarantee data integrity of data changes?

2121


How to sort the query output in oracle?

798


How to drop a tablespace?

730


What is Trigger in Oracle?

773


What is Java Pool in Oracle?

814


Explain compound trigger in oracle?

744


What are the different types of partitions in oracle?

700


Oracle

2113


Explain oracle left join with an example?

757


Can we insert data in view oracle?

726