The invention discloses a
database compatibility test method and
system, which can structurally store data from different
database systems, test scenes and compatibility indexes by defining a multi-dimensional array, cover key indexes such as
data integrity, consistency,
transaction processing, query performance and the like, and ensure that the test is comprehensive and systematic. A cluster containing a plurality of
database instances is constructed, and the same
test data set is configured, so that the consistency of a test environment is ensured, the accuracy and comparability of a test result are improved, a preset compatibility
test suite is automatically executed, the
test efficiency is greatly improved, manual intervention and errors are reduced, multi-dimensional array data are deeply analyzed, compatibility differences can be accurately identified, and the
test efficiency is improved. According to the scheme, the performance
bottleneck is positioned, potential problems are identified, the problems are found and solved in the development, upgrading or integration stage in time, risks are avoided, in addition, the scheme supports on-demand extension of array dimensions, test suites and data sets can be customized and adjusted, more requirements can be flexibly met, and high adaptability is achieved.