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 |
When a user process fails, what background process cleans up after it?
What are different types of transactions in ar? : oracle accounts receivable
How would you go about generating an EXPLAIN plan?
What is the Difference between the Person_Type_id column in the per_all_people_f and per_person_type_usages_f
How to clone the database using RMAN back
What is Virtual Memory?
When the procedures or packagess become invalidate
key flexfield structure
can u give guidance abt packages of plsql
What are the main diff. between oracle 7.3 and oracle 8i?
What is the difference between the SQL*Loader and IMPORT utilities?
What is the importance of batch source set up in ar? : oracle accounts receivable