The invention belongs to the technical field of
database performance evaluation, and discloses a query performance evaluation method and
system for a multi-model
database. The method comprises the following steps of: constructing a
test data set coexisting with four models, namely a relationship, a document, a graph and a vector, by an open-
source data source and a native model, and performing global entity ID
semantic association; four types of cross-model query workloads are defined, point query, aggregation, vector ANN and graph matching scenes are covered, and the method is used for systematically evaluating the comprehensive capacity of the multi-model
database in the aspects of connection
sequence selection, model
data conversion cost
estimation, aggregation operation optimization and the like. During testing, under the conditions of fixed hardware, a memory buffer area and concurrent parameters, the
workload is automatically executed, the median
execution time is collected, then the performance
score of each load is calculated based on a logarithm normalization speed-up ratio model, and fair quantitative comparison among different multi-model databases is achieved. The method is reproduced in a common multi-model database
system to verify the feasibility of the evaluation benchmark.