Data reading method and device
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ALIBABA GRP HLDG LTD
- Publication Date
- 2019-10-29
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention belongs to the technical field of computers, and in particular relates to a data reading method and device. Background technique
[0002] In relational databases, two-dimensional tables are usually used for data storage. Two-dimensional tables usually have two implementation methods, one is the implementation of the heap table, and the other is the implementation of the index cluster table. Among them, the heap table stores data in the free space in an unordered manner; the index cluster table is stored in the B-tree structure according to the order of the index keys.
[0003] The B-tree of the indexed cluster table uses a page as a unit as a node, and uses a page number to locate a page. Nodes include three types, root (root) nodes, branch (branch) nodes and leaf (leaf) nodes. The data of the database is stored in the leaf nodes. In the process of reading data, it is necessary to scan the index cluster table. The process of scanning ...