Statement processing method, apparatus and device, and computer readable storage medium

Embodiments of the invention provide a statement processing method, apparatus and device, and a computer readable storage medium. The method comprises the steps of obtaining a to-be-processed target statement; determining a target data table corresponding to the target statement from a preset databa...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: CHEN TIANYU, HE SHENGHUI, GUAN XUN, ZENG ZHAOZHENG, CAI SHIZHAI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:Embodiments of the invention provide a statement processing method, apparatus and device, and a computer readable storage medium. The method comprises the steps of obtaining a to-be-processed target statement; determining a target data table corresponding to the target statement from a preset database according to the syntax tree corresponding to the target statement and the target statement; a metadata table associated with the target data table is extracted from a preset database, and the metadata table comprises statistical information of all rows and columns of data in the target data table; and determining a query result corresponding to the target statement according to the statistical information in the metadata table and the target statement. In the embodiment of the invention, the statistical information for describing the data in the data table is usually stored in the metadata table, so that the target statement is processed based on the statistical information in the metadata table, the data readi