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 recovery and restoring of the oracle database?
What is the use of transaction flexfield in autoinvoice? : oracle accounts receivable
What is the use of lockboxes? : oracle accounts receivable
When the procedures or packagess become invalidate
statement string in open is null or 0 length ORA-40735
A table is classified as a parent table and you want to drop and re-create it. How would you do this without affecting the children tables?
What is the disk migration? what is the steps involved in oracle disk migration?
if i write the procedure.. and other person make the changes in that code then where i find who is changing my procedure
What is the Query Optimizer. How you optimize your qeury.
hi iam looking for HRMS(functional) training inst or person in hyderbad. plz help me its urgent
what are basic modules required to implement oracle application in any oraganisation?
whats the difference between join command and Cartesian product using example?