HomeMogDBMogDB StackUqbar
v3.1

Documentation:v3.1

Supported Versions:

Other Versions:

Parallel Index Scanning

Availability

This feature is available since MogDB 3.1.0.

Introduction

To improve data query efficiency and avoid scanning all data files, this feature supports scanning only effective data. This can greatly improve data access speed.

Benefits

This feature can greatly improve data query efficiency.

Description

To perform range query for a data table, an index can be used to locate the start and end position of data files. Index data is scanned first and then data files are scanned based on the scanning result. Additionally, this feature supports parallel index scanning. Multiple threads work in parallel to scan indexes, and then scan data files, thereby improving query efficiency.

When the target columns to be accessed are included in the index, only index data can be scanned to reduce the size of the files to be scanned. Additionally, the range of the index data can be determined based on the constraints for scanning.

Enhancements

None

Constraints

  • This feature requires enabling of the parallel switch (setting query_dop to a value greater than 1).
  • This feature supports BTree index and does not support Ustore and Cstore storage.

Dependencies

None

Copyright © 2011-2024 www.enmotech.com All rights reserved.