GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Oracle  >  Data Access
Go To First  |  Previous Question  |  Next Question 
 Data Access  |  Question 9 of 27    Print  
What  are  the  different approaches used by Optimizer in choosing an execution plan ?
Rule-based and Cost-based.



  
Total Answers and Comments: 0 Last Update: N/A   
  
 Sponsored Links

 

No answers are posted for this question yet.
Be the first to answer it!


 Related Questions

A  Transaction  is  a  logical  unit of work that comprises one or more SQL statements executed by a single user. 
Latest Answer : Transaction is a process by which we take the database from one consistent level to another consistent level. A transaction is said to be completed only when we supply COMMIT and apply the changes to the database. ...

COMMIT makes permanent the changes resulting from all SQL statements in the transaction. The changes made by the SQL statements of a transaction become visible   to  other  user  
Latest Answer : all dml operations done previsouly makes permanent in hte database ...

ROLLBACK  retracts  any of the changes resulting from the SQL statements in the transaction. 
Latest Answer : ROLLBACK:  This is just like UNDO in MSOFFICE but can not  REDO, means what ever changes You made after any commit/rollback or A DDL command they will not be saved into database . when rollback is issued your database goes to the stage when ...

For  long  transactions  that  contain  many  SQL  statements, intermediate markers  or  savepoints  can  be  declared  which  can  
Latest Answer : SavePoint:  this is also a TCL command, which puts break points between DML statements so that you can rollback to any point and keeping some part of transaction in process.exampleupdate emp set sal = 500 + sal;savepoint ainser into emp values(.......);savepoint ...

A  Read-Only transaction ensures that the results of each query executed in the transaction are consistant with respect to the same point in time. 
Latest Answer : it will reads the data firsrt and then executes the transaction ...

The  goal of the optimizer is to choose the most efficient way to execute a SQL statement. 
Latest Answer : The optimizer determines the most efficient way to use the tables and indexes to complete the request made by an SQL statement after considering many factors related to the objects referenced and the conditions specified in the query. ...

The  combinations of the steps the optimizer chooses to execute a statement is called an execution plan. 
Latest Answer : The operations that the oracle server performs to execute a SQL statement. ...

What  are  the  different approaches used by Optimizer in choosing an execution plan ?
Rule-based and Cost-based. 

The   OPTIMIZER_MODE   initialization  parameter  Statistics  in  the  Data Dictionary  the OPTIMIZER_GOAL parameter of the ALTER SESSION command hints 

COST and RULE. 
Latest Answer : One can specify COST , RULE or CHOOSE for OPTIMIZER _MODE in init.ora file ...


 Sponsored Links

 
Related Articles

Breaking up XML into Relational Data

Breaking up XML into Relational Data While the preceding example shows how to construct an XML representation over relational data the example in this section illustrates how you can shred XML data back into relational data This reverse operation can be useful if your application works with relation
 

Querying Data with Oracle XQuery

Querying Data with Oracle XQuery Starting with Oracle Database 10g Release 2 you can take advantage of a full featured native XQuery engine integrated with the database With Oracle XQuery you can accomplish various tasks involved in developing PHP Oracle XML applications operating on any kind of dat
 

Using Oracle XML DB Repository

Using Oracle XML DB Repository Another variation on accessing and manipulating XML content stored in Oracle database is provided by Oracle XML DB repository which is an essential component of Oracle XML DB mosgoogle NOTE Oracle XML DB repository also known as XML repository is a hierarchically organ
 

Retrieving XML Data

Retrieving XML DataTo retrieve XML data from an XMLType table you can use a SELECT SQL statement just as you would if you had to query a relational table For example to select the employee with the id set to 100 from the employees XMLType table discussed in the preceding section you might issue the
 

Using XMLType for Handling XML Data in the Database

Using XMLType for Handling XML Data in the Database Being an object type XMLType can not only be used to store XML data in the database but also to operate on that data via its built in methods Regardless of the storage model you choose XMLType provides a set of XML specific methods to operate on XM
 

Using Oracle Database for Storing, Modifying, and Retrieving XML Data

Using Oracle Database for Storing Modifying and Retrieving XML Data With Oracle XML DB you have various XML storage and XML processing options allowing you to achieve the required level of performance and scalability One of the most interesting things about Oracle XML DB is that it allows you to per
 

XML Processing in PHP and Oracle Applications

Processing XML in PHP Oracle Applications As mentioned there are two alternatives when it comes to performing XML processing in your PHP Oracle application You can perform any required XML processing using either PHP s XML extensions or PEAR XML packages or Oracle s XML features mosgoogle In the fol
 

PHP Oracle Web Development

PHP Oracle Web Development Data processing Security Caching XML Web Services and Ajax The book is written by Yuli Vaseliev a well known author of different web development and programming books PHP Oracle Web Development Data processing Security Caching XML Web Services and Ajax is a good starting b
 

ODP.NET - Techniques to Improve Performance while Retrieving Data

ODP NET Techniques to Improve Performance while Retrieving Data Performance tuning is a great subject in Oracle Volumes of books would not be enough to cover every aspect of performance tuning in Oracle However in this section we will only discuss the fundamental performance techniques while working
 

ODP.NET - Populating a Dataset with a Single Data Table

ODP NET Populating a Dataset with a Single Data Table A dataset is simply a group of data tables These data tables can be identified with their own unique names within a dataset You can also add relations between data tables available in a dataset mosgoogle The following code gives you the details o
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape