learn java
The moose likes JDBC and Relational Databases and the fly likes How Creating an Index on Table helps Database engine to do fast Search Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "How Creating an Index on Table helps Database engine to do fast Search" Watch "How Creating an Index on Table helps Database engine to do fast Search" New topic
Author

How Creating an Index on Table helps Database engine to do fast Search

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi

Kept on reading from many sires that Index will help Database engine to do search faster .

For example i have student table with many columns and i had created a index on one of the field



Could anyone please tell me how this helps DB Engine ??


Save India From Corruption - Anna Hazare.
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3740
    
  10

Do you understand how databases search for information? Try reading Wikipedia for more information: http://en.wikipedia.org/wiki/Index_%28database%29


[OCA 8 Book] [Blog]
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3740
    
  10

Ravi Kiran V wrote:Could anyone please tell me how this helps DB Engine ??


Actually your question can be rephrased to the non-computer variety... "How does the index in the back of an encyclopedia book help users search for information?". The answers are remarkable similar.
 
 
subject: How Creating an Index on Table helps Database engine to do fast Search