{"id":1714,"date":"2011-09-20T14:16:58","date_gmt":"2011-09-20T14:16:58","guid":{"rendered":"https:\/\/www.techopedia.com\/definition\/index\/"},"modified":"2017-06-15T17:41:47","modified_gmt":"2017-06-15T17:41:47","slug":"index","status":"publish","type":"definition","link":"https:\/\/www.techopedia.com\/definition\/1210\/index-idx-database-systems","title":{"rendered":"Index"},"content":{"rendered":"
In database systems, an index (IDX) is a data structure defined on columns in a database table to significantly speed up data retrieval operations. An index is a small copy of a database table sorted by key values. Without an index, query languages like SQL may have to scan the entire table from top to bottom to choose relevant rows.\n<\/p>\n
An index on a database table must be created with care, as indexes consume space and are stored in the database. An index can also cause write operations to take more time, as the index must be updated when the underlying table is updated.\n<\/p>\n
The different data structures used to create indexes are B+ trees, balanced trees and hashes. Using these data structures, a scan on the entire database table is relatively easy.\n<\/p>\n
Indexes can also be created on functions or expressions. A unique index prevents duplicate entries in the index and the related table, thus acting as a constraint. Column order is also an important aspect of indexing. The first indexed column always has a priority; row identifiers are retrieved based on the first indexed columns. In a normal scenario, indexes do not return a value but only locate records.\n<\/p>\n
There are generally two types of index architecture:\n<\/p>\n
What Does Index Mean? In database systems, an index (IDX) is a data structure defined on columns in a database table to significantly speed up data retrieval operations. An index is a small copy of a database table sorted by key values. Without an index, query languages like SQL may have to scan the entire […]<\/p>\n","protected":false},"author":7813,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"_lmt_disableupdate":"","_lmt_disable":"","om_disable_all_campaigns":false,"footnotes":""},"definitioncat":[227,222,230,228],"class_list":["post-1714","definition","type-definition","status-publish","format-standard","hentry","definitioncat-data-management","definitioncat-database","definitioncat-privacy-and-compliance","definitioncat-risk-management"],"acf":[],"yoast_head":"\n