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

Answers were Sorted based on User's Feedback



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

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

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

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

Post New Answer

More Oracle General Interview Questions

Can we write dml statement in function in oracle?

0 Answers  


How do you bind variables in oracle?

0 Answers  


How do you rate yourself in oracle and sql server ?

2 Answers   Keane India Ltd,


what is primary key?

9 Answers  


why pl sql doesn't support retrieving multiple records

1 Answers   Mphasis,






What is sharded cluster?

0 Answers  


What is an Integrity Constrains ?

3 Answers  


20. Using a set operator, display the client number of all clients who have never placed an order.

0 Answers   Wipro,


Difference between oracle's plus (+) notation and ansi join notation?

0 Answers  


What is an oracle user account?

0 Answers  


How to delete an existing row from a table in oracle?

0 Answers  


List the parts of a database trigger.

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)