Give the reasoning behind using an index.
Answers were Sorted based on User's Feedback
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 |
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 |
What is the difference between conversions and interfaces? : oracle accounts receivable
What is mrc and what is its use? : oracle accounts receivable
what are important reports in HRMS,GL,AP,AR in oracle apps?
3 Answers IBM, Pathway Technologies, Satyam, Techtimer, Wipro,
WHAT ALL DIFFERENT OPTIONS PRESENT IN WEBI?
TILL WHAT LEVEL OF SECURITY BO SUPPORTS?
How would you go about generating an EXPLAIN plan?
what are basic modules required to implement oracle application in any oraganisation?
what is the querry to get first 10 records from the emp table?(emp no is the primary key)
can we use lexical perameter in oracle plsql if yes how
What do you mean by Oracle MEDIA RECOVERY?
I need a Technical evaluation between Oracle and SAP ? please do a need ful.
write a query to find the third maximum salary of a employee.(table:employ col name:salary)