DDL statement processing method and device, electronic equipment and storage medium

The embodiment of the invention provides a DDL statement processing method and device, electronic equipment and a storage medium. In the embodiment of the invention, the optimized DDL statement is shorter than the to-be-processed DDL statement before optimization, and for the grammar analysis of the...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: FU DACHAO, WANG XU, HUO GUOCHENG, SU TENGHUI
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:The embodiment of the invention provides a DDL statement processing method and device, electronic equipment and a storage medium. In the embodiment of the invention, the optimized DDL statement is shorter than the to-be-processed DDL statement before optimization, and for the grammar analysis of the optimized DDL statement, only the statement fragment related to the description library table name information is subjected to grammar analysis, and the existing table structure information is reused, so that the grammar analysis difficulty of the DDL statement is greatly reduced, and the analysis performance of the DDL statement is improved. Especially in an SaaS service scene or a sub-library and sub-table scene, a large number of DDL statements triggered in a short time can be effectively dealt with, the grammar analysis performance of the DDL statements is greatly improved, and a basis is provided for better concurrent processing of the DDL statements by the DTS. 本申请实施例提供一种DDL语句的处理方法、装置、电子设备及存储介质。在本申请实施例中,优化DD