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

What are the execution control statements?

632


Briefly explain what is literal? Give an example where it can be used?

552


Explain the use of show option in imp command.

652


List the types of joins used in writing subqueries?

583


what is the difference between substr and instr function in oracle?

595






query optmization techniques and quwry analyser+projects+ppts

1950


What exactly do quotation marks around the table name do?

556


How to resolve name conflicts between variables and columns?

591


How do we display rows from the table without duplicates?

566


Explain the importance of .pll extension in oracle?

566


In which language oracle has been developed?

663


How a database is related to tablespaces?

589


Explain implicit cursor.

569


How to start your 10g xe server from command line?

557


How to use windows user to connect to the server?

542