This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data 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: 3739
    
  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: 3739
    
  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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How Creating an Index on Table helps Database engine to do fast Search