Give the reasoning behind using an index.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between writeoff and receipt writeoff. : oracle accounts receivable

844


What are the interface tables used for ar invoices, customers, receipts for conversion process? : oracle accounts receivable

859


What is the mandatory setup in cyclecount ?

2288


What is Tax Categories?

1715


What Are Cross Validation & Adi?

784






1.In a table Gender is a column in that male and female are the two data.In a single statement i have to modify all male to female and all female to male vice versa. 2.In a single query i need the count of male data,count of female and total count

16600


Explain the difference between $ORACLE_HOME and $ORACLE_BASE.

6942


Is there any link between pr form(purchse requisition)and po form(purchase order)

2248


I would like to study certification course in Data base adminidtrator then where would i go to study this course?

1837


How would you determine who has added a row to a table?

1891


What are the standard concurent programs for auto invoice interface and customer interfaces? : oracle accounts receivable

703


I need a Technical evaluation between Oracle and SAP ? please do a need ful.

1579


8. Supporting AP, AR and GL?

1914


i am working with OC 4.5 i have numbers in table in 10 row with some null values please tell me how to find total? Thanks

1874


Explain accounting for invoice in advance and arrears. : oracle accounts receivable

702