Give the reasoning behind using an index.

Answers were Sorted based on User's Feedback



Give the reasoning behind using an index...

Answer / pradeeshkumar

Its as simple as why do we need an index page in front of a
book. Whenever we wish to read a scpecific text from the
book, we'll first check the index and locate where that
specific text is. Similarly when create an index it enables
the queries to locate praticular row or entity in a table
by directly refering to the index instead of searching the
entire table. Whenever a table is created with a primary
key, an index ia automatically created on the primary key
column which makes easier access of table entries. When you
execute query say( select * from student where
student_id=10;), your query will first hit the index
(primary index on primary key column) and then will retrive
the corresponding row from the table. If there's no such
entry in the table, it'll return an empty result set
without searching the table.

Is This Answer Correct ?    0 Yes 0 No

Give the reasoning behind using an index...

Answer / pradeeshkumar

Its as simple as why do we need an index page in front of a
book. Whenever we wish to read a scpecific text from the
book, we'll first check the index and locate where that
specific text is. Similarly when create an index it enables
the queries to locate praticular row or entity in a table
by directly refering to the index instead of searching the
entire table. Whenever a table is created with a primary
key, an index ia automatically created on the primary key
column which makes easier access of table entries. When you
execute query say( select * from student where
student_id=10;), your query will first hit the index
(primary index on primary key column) and then will retrive
the corresponding row from the table. If there's no such
entry in the table, it'll return an empty result set
without searching the table.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle AllOther Interview Questions

Differentiate between writeoff and receipt writeoff. : oracle accounts receivable

1 Answers  


What is the Difference between the Person_Type_id column in the per_all_people_f and per_person_type_usages_f

1 Answers  


can we use lexical perameter in oracle plsql if yes how

1 Answers  


i want to know about the javaBean.what is its purpose and how it can use in Forms.

1 Answers   Logisoft,


What is the difference between oracle media recovery and crash recovery?

1 Answers  


What is the use of lockboxes? Steps for lock box : oracle accounts receivable

1 Answers  


What is Virtual Memory?

1 Answers  


what are the API of GL,PO,AP

1 Answers  


Which is the best institute in Hyderabad to learn OBIEE and DataStage?Please tell me faculty name also

1 Answers  


what is the difference b/w oracle8i and oracle9i

3 Answers   iGate,


Give two examples of how you might determine the structure of the table DEPT.

2 Answers  


Should you take the backup of Logfiles if the database is running in ARCHIVELOG mode?

4 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1803)
  • 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)