{
    "content": "<h1><a href=\"..\/INDEXING\/\">INDEXING<\/a><\/h1><p><a href=\"..\/INDEXING\/\">INDEXING<\/a> is a fundamental technique in <a href=\"..\/COMPUTER-SCIENCE\/\">COMPUTER-SCIENCE<\/a> used to speed up the retrieval of records from a dataset. In <a href=\"..\/DATABASE-MANAGEMENT-SYSTEMS\/\">DATABASE-MANAGEMENT-SYSTEMS<\/a>, an index is a data structure that improves the speed of data retrieval operations on a database table at the cost of additional storage and slower writes. For more on the basics, see <a href=\"https:\/\/en.wikipedia.org\/wiki\/Database_index\">Wikipedia's entry on Database Indexing<\/a>.<\/p><h2>Methodologies and Structures<\/h2><p>Common indexing structures include the <a href=\"..\/B-TREE\/\">B-TREE<\/a>, which is widely used in <a href=\"..\/RELATIONAL-DATABASES\/\">RELATIONAL-DATABASES<\/a> like <a href=\"..\/MYSQL\/\">MYSQL<\/a> and <a href=\"..\/POSTGRESQL\/\">POSTGRESQL<\/a>. Another approach is <a href=\"..\/HASH-INDEXING\/\">HASH-INDEXING<\/a>, which is efficient for equality comparisons. Advanced systems might use a <a href=\"..\/BITMAP-INDEX\/\">BITMAP-INDEX<\/a> for columns with low cardinality. Technical implementation details are provided by the <a href=\"https:\/\/docs.oracle.com\/en\/database\/oracle\/oracle-database\/19\/cncpt\/indexes-and-index-organized-tables.html\">Oracle Documentation<\/a>.<\/p><h2>Web and Search Applications<\/h2><p>In the context of the web, <a href=\"..\/SEARCH-ENGINE-INDEXING\/\">SEARCH-ENGINE-INDEXING<\/a> is the process of a search engine collecting and storing data for use in search results. This involves <a href=\"..\/CRAWLING\/\">CRAWLING<\/a> the web and creating an <a href=\"..\/INVERTED-INDEX\/\">INVERTED-INDEX<\/a>. This allows engines like <a href=\"..\/GOOGLE\/\">GOOGLE<\/a> to provide results in milliseconds. Guidance on how this affects <a href=\"..\/SEARCH-ENGINE-OPTIMIZATION\/\">SEARCH-ENGINE-OPTIMIZATION<\/a> can be found at <a href=\"https:\/\/developers.google.com\/search\/docs\/fundamentals\/how-search-works\">Google Search Central<\/a>.<\/p><ul><li><a href=\"..\/DATABASE-MANAGEMENT-SYSTEMS\/\">DATABASE-MANAGEMENT-SYSTEMS<\/a><\/li><li><a href=\"..\/SEARCH-ENGINE-OPTIMIZATION\/\">SEARCH-ENGINE-OPTIMIZATION<\/a><\/li><li><a href=\"..\/DATA-STRUCTURES\/\">DATA-STRUCTURES<\/a><\/li><li><a href=\"..\/INFORMATION-RETRIEVAL\/\">INFORMATION-RETRIEVAL<\/a><\/li><\/ul>",
    "tags": [
        "indexing",
        "databases",
        "search engines",
        "data structures",
        "optimization",
        "information retrieval",
        "metadata",
        "crawling",
        "b-tree",
        "sql",
        "performance",
        "algorithms"
    ]
}