The invention provides a domestic
database compatibility comparison evaluation and migration method and
system and a medium, and belongs to the technical field of
database migration. The method comprises the following steps: acquiring a creation statement of each
database object in a pre-connected target source database; and based on a preset grammar parser and a preset grammar feature
library, analyzing each creation statement, generating an abstract grammar tree and traversing the abstract grammar tree to determine grammar features corresponding to each
database object, and generating a mapping
list between each
database object and each grammar feature. And comparing the mapping
list with a plurality of preset grammar feature templates of the domestic databases, generating compatibility evaluation results corresponding to the domestic databases according to comparison results, and determining corresponding migration
working hours and an automatic
rewriting grammar set according to the compatibility evaluation results. And based on each compatibility
evaluation result, each migration man-hour and the automatic
rewriting grammar set, generating a multi-dimensional comparison view corresponding to each domestic database, and sending the multi-dimensional comparison view to an evaluation migration user terminal.