Database test method and device, electronic equipment and readable storage medium

The embodiment of the invention provides a database testing method and device, electronic equipment and a readable storage medium, and relates to the technical field of databases, the method comprises the steps that at least one SQL sample is acquired from an SQL log generated by a first service sys...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHAO JIALUN, WANG MENGYUAN, AN JINXING, ZHANG ZILANG, DONG FENG, DONG BING, YANG XINGBO
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 database testing method and device, electronic equipment and a readable storage medium, and relates to the technical field of databases, the method comprises the steps that at least one SQL sample is acquired from an SQL log generated by a first service system in a first time period, and the first service system is a service system deployed with a first database; the at least one SQL sample is played back in a second database to obtain a playback result of each SQL sample in the at least one SQL sample, the second database is synchronized with data of the first database at a first moment in advance, and the first moment is a starting moment of the first time period; and determining a test result of the second database based on a playback result of each SQL sample in the at least one SQL sample. According to the embodiment of the invention, manual operation in a database testing process can be greatly reduced, so that the difference of test results is reduced, and the