postgresql-indexing and optimization

postgresql-index and optimization Introduction to indexing Index type B-tree index Hash index GiST index SP-GiST index GIN index BRIN index Create index unique index multi-column index function index partial index covering index View index Maintain index Delete index Introduction to indexing Index (Index) can be used to improve the query performance of the database; however, […]

Mysql indexing and query optimization

1 Index 1.1 What is an index An index is a data structure used in a database to speed up data retrieval. It is similar to a library catalog and can quickly find corresponding records based on keywords. In a database, an index consists of one or more columns, each of which stores the key […]

Handwritten database wheel project MYDB Part 5 | DataManager (DM) Data page indexing and upward management DataItem

This chapter introduces a simple page index and implements the DM layer’s abstraction of the upper layer: DataItem. 1. Page index Page index, which caches the free space of each page. It is used to quickly find a page with suitable space when the upper module performs an insertion operation without checking the information of […]

MySQL (2) indexing principle and optimization

MySQL series articles MySQL (1) basic architecture, SQL statement operation, try MySQL (2) indexing principle and optimization MySQL (3) SQL optimization, Buffer pool, Change buffer MySQL (4) transaction principle and analysis MySQL (5) caching strategy MySQL (6) master-slave replication Three paradigms of database Article directory MySQL Series Articles foreword 1. Index primary key index unique […]

Efficient Use and Exploration of .NET Indexing and Search Engines Powered by Lucene.Net: Examine’s Simple Application of Indexing and Searching Data and Its Scalability Analysis

Effective use and exploration of .NET index and search engine supported by Lucene.Net: Examine’s simple index and search data application and its scalability analysis Searching and indexing data is becoming increasingly important in the current technological environment, especially when dealing with large amounts of data. This makes us need a tool that can index and […]

MySQL indexing and optimization

MySQL index database index data structure binary tree red black tree B-tree B+ tree index hash index Clustered and nonclustered indexes secondary index covering index index pushdown Single column and combined index leftmost matching principle Mysql optimization index optimization sql optimization Database index Divided by data structure: B + tree, hash, full-text Divided by data […]