Query cardinal number estimation method based on hybrid autoregression model and sampling
Through a hybrid method of multi-channel parallel mask autoencoding model and offline connection key sampling, the problem of high quantile error in database query optimization is solved, and the accuracy of cardinality estimation and the stability of database query are improved.
Patent Information
- Application Number
- CN202410628960.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-05-21
AI Technical Summary
Existing database query optimization methods, including traditional cardinality estimation methods and machine learning-based methods, have high quantile errors, causing the query optimizer to generate wrong execution plans when facing a small number of queries or multi-table connections, which cannot satisfy the current database Optimization requirements.
A hybrid autoregressive model using a multi-channel parallel masked autoencoding model and offline connection key sampling is used to obtain the conditional probability distribution between different columns by training a multi-layer neural network, and combined with offline connection key sampling, cardinality estimation is performed to improve accuracy.
It improves the accuracy of cardinality estimation, reduces high-quantile errors, reduces erroneous execution plans caused by database optimizer errors, and improves the stability of database queries.
Smart Images

Figure CN118568129A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of database query, and in particular relates to a query cardinality estimation method based on a hybrid autoregressive model and sampling. Background Art
[0002] With the development of the information age, the various data stored in the database are increasing day by day. In this case, the optimizer needs to have higher accuracy and stability and reduce the proportion of large errors in order to improve the quality of the generated plan and reduce the additional execution cost caused by the optimizer generating incorrect plans and the system shock caused by excessive errors.
[0003] However, both the traditional cardinality estimation method and the current machine learning-based cardinality estimation method have large high-quantile errors. These high-quantile errors can cause the query optimizer to generate incorrect execution plans when facing a small number of queries, thereby increasing the running time of the execution plan.
[0004] At present, the data-driven method based on the autoregressive model can adapt to more load scenarios and has higher accuracy. However, when training, the autoregressive model needs to read all the data of a single table in the database or all the data of all estimated tables in the outer connection. With the increasing amount of data, the learning cost is very huge. Therefore, it will produce large high-quantile errors in queries with low selectivity or queries with a small number of connected tables in multi-table connections, which will further cause the query optimizer to choose the wrong plan and make it difficult to meet the current database optimization needs. Summary of the invention
[0005] The object of the present invention is to provide a query cardinality estimation method of a hybrid autoregressive model and sampling which has high stability and meets the requirements of database query optimization.
[0006] The hybrid autoregressive model and sampling query cardinality estimation method proposed in the present invention specifically comprises the following steps: multi-channel parallel masked autoencoder model design and training, offline connection key sampling, hybrid autoregressive model and offline connection key sampling cardinality estimation;
[0007] (I) Design and training of multi-channel parallel masked autoencoder model:
[0008] The multi-path parallel masked self-encoding model, hereinafter referred to as the model, is specifically a multi-layer neural network model constructed in parallel using multiple masked self-encoding layers, which is trained using the original data set to obtain the joint probability distribution between different columns in the original database data table.
[0009] The multi-path parallel masked self-encoding model includes an Embedding encoding layer and a computing module; the computing module includes a data feature extraction layer, a data feature enhancement layer and a final computing layer; the final output of the model is a conditional probability distribution between different columns.
[0010] The feature extraction layer includes a plurality of masked autoencoding layers and an average pooling layer; wherein the masked autoencoding layer is derived from a single-layer structure of a masked autoregressive model, and a mask is set between layers so that the fully connected layer acquires autoregressive properties;
[0011] The feature enhancement layer has the same structure as the feature extraction layer, and also includes multiple masked autoencoding layers and an average pooling layer. The masked autoencoding layer is derived from the single-layer structure of the masked autoregressive model. By setting masks between layers, the fully connected layer can obtain autoregressive properties.
[0012] The final computation layer includes a complete and large masked self-encoding layer W;
[0013] The model first encodes the row data in the input original data table through the Embedding encoding layer; usually the length of a single column of the embedding layer is L em Set within 64, encode the data according to the value range, and encode the value range less than L em The columns are encoded using one-hot encoding, and the range is greater than L em The columns of are embedded in the code, and the output of the coding layer is set to
[0014] The above embedding encoding can be converted to a single column value range L by a single matrix multiplication operation. c The vector data is reduced to a vector of 64. Each column of data with a value range of more than 64 corresponds to a size of (L c ,64) of the trainable dimension reduction matrix.
[0015] After encoding, the data is input into the computational part of the model. The computational part of the model consists of three layers: data feature extraction layer, data feature enhancement layer, and final computational layer. The final output of the model is the conditional probability distribution between different columns. The overall structure of the model is shown in Figure 1 shown.
[0016] The feature extraction layer includes multiple masked autoencoder layers and an average pooling layer; the masked autoencoder layer used is derived from the single-layer structure of the masked autoregressive model (Mathieu Germain published a paper "MADE: Masked Autoencoder for Distribution Estimation" at ICML in 2015); it sets masks between layers so that the fully connected layer can obtain autoregressive properties. The connection mask between the two layers of neurons is shown in the following formula:
[0017]
[0018] Among them, x represents the node number of the i-1th layer, y represents the node number of the i-th layer, and layer i-1 [x] represents the actual node value, the next layer i [y] node value is greater than or equal to layer i-1 [x], it means that the information of the x node in the i-th layer can be propagated to the y node in the i-1th layer, and the Mask value is 1. i [y] node value is greater than layer i-1 [x], it means that the information of the x node in the i-th layer cannot be propagated to the y node in the i-1th layer, and the Mask value is 0. For internal details, see Figure 2 shown.
[0019] For the last layer of the neural network, in order to ensure that the final output value is autoregressive, that is, the data of the y=i-th bit of the last layer will not accept the input of all the data of the x≤i-th bit of the last layer, the connection mask of the last layer is as follows:
[0020]
[0021] The input of the feature extraction layer is the data sequence after Embedding encoding. After passing through multiple parallel masked self-encoding layers, the data is vertically spliced and input into the average pooling layer. The number of masked self-encoding layers is usually 5. Finally, Relu is used for activation to obtain the output of this layer. The specific structure of this layer is shown in Figure 3 As shown, the calculation formula is shown in the following formula (1), where Represents the i-th mask self-encoding layer of the extraction layer to operate on the input;
[0022]
[0023] The input of the feature enhancement layer is the data sequence calculated by the feature extraction layer. After the data passes through the parallel masked self-encoding layer, it is vertically spliced and input into the average pooling layer. The number of masked self-encodings is usually 5. Finally, Sigmod is used for activation to obtain the output of this layer. The specific structure of this layer is shown in Figure 4 The calculation formula is shown in the following formula (2), where Represents the i-th mask self-encoding layer of the enhancement layer to operate on the input.
[0024]
[0025] The final calculation layer, whose input is the coded data, the horizontal combination of the output vectors of the feature extraction layer and the feature enhancement layer, is specifically a concatenate function. The input is represented as:
[0026]
[0027] The above features are processed by a single masked self-encoding layer W, and the output is an output vector data of the same length as the embedded encoding vector data, as shown in the following formula (4):
[0028]
[0029] The output is decoded by the subsequent decoding layer to obtain the conditional probabilities of different values of the current columns. The structure of the final calculation layer is as follows Figure 5 shown.
[0030] The training process of this model requires the input of the complete data sequence of multi-table connections randomly sampled in batches in the original database. The original database here refers to the relational database that the user wants to learn about the joint cardinality, which contains data single tables, foreign key constraints, database schemas, and table indexes. For relational databases, connections, or join operations, will be performed according to equivalent keys. For example, T1.A = T2.A, that is, only when the attributes of column A of T1 are equal to the attributes of column A of T2 will a connection be generated and added to the result set. This connection relationship in the relational database schema can be regarded as a graph data type. For the autoregressive model, the complete data sequence that needs to be generated during training needs to traverse the data of all tables in the database schema in order. This process has a starting point and an end point, so it is necessary to set a root table as the starting point of the connection. Starting from the root table, the entire data set is traversed and connected according to the equivalent connection key to connect the sampled outer connection. During the connection process, the duplicate keys in the next table will have an amplification effect on the tuples in the previous connection table. Therefore, the proportion of each different key in the final training space is different. Based on this, it is necessary to record the connection weight of each table in the path during sampling, that is, the subsequent table T i+1 Compared with the above table T i When doing equivalent key connection, T i Some of the key values will be due to T i+1The number of equal key values in the table is greater than 1, which results in amplification. The coefficient of this amplification is the connection weight. After determining the connection weight, the complete data sequence is sampled randomly in each table according to the connection weight and a complete tuple of the outer connection is generated. For more detailed sampling methods and cardinality estimation methods, see the section on weight sampling method and cardinality estimation in the paper "NeuroCard: One Cardinality Estimator for All Tables" published by Zongheng Yang on VLDB in 2020. After obtaining the above randomly extracted complete data sequence, the data is input into the model to output the cross entropy between the probability distributions, and the model can be trained by back propagation using the cross entropy.
[0031] (II) Offline connection key sampling:
[0032] The offline connection key sampling, hereinafter referred to as sampling, specifically includes the steps of determining the sampling construction pattern diagram sequence, confirming the sampling ratio, and sampling based on the connection.
[0033] First, input the database schema diagram for the cardinality estimation task in step (1). Each table in the schema diagram is regarded as a node in the diagram, and the connection keys between tables are regarded as directed connections between nodes in the diagram. The final output is a schema diagram in the form of a directed acyclic graph.
[0034] For the construction of the above directed acyclic graph, it is necessary to use the sampling starting point table in the model training process in step (a) as the starting point for constructing the pattern graph, and use the breadth-first traversal algorithm (please note the references) from the starting point to search the entire database pattern with the connection key as the edge, while recording the calling order of each edge, and finally generating a directed acyclic graph.
[0035] Then, set the overall sampling ratio f, which can usually be set to 0.1% to ensure that the total sampling volume is not too large. Starting from the root table, randomly sample f proportion of data tuples from it to form the root table sampling S root .
[0036] For the first sampling, let S i-1 =S root , calculate the sampling S i-1 According to the above calling order, the next connection table T i The different values of the corresponding connection key are equi-joined, and then Join is performed from the connection result. res Then draw out the number n i The tuples of which constitute the current table sample S i , count(X) is the total number of rows in table or result set X, and the number of samples is n i With the record ratio f i The calculation is as follows:
[0037] n i = count(T i )×f, (5)
[0038]
[0039] For subsequent cyclic sampling, the calling order of edges and nodes recorded in the directed acyclic graph is followed, and each round of cyclic sampling is used as S i-1 , calculate S i-1 With T i Get the current table T for different values of the corresponding connection key i Sampling S i With the record ratio f i .
[0040] After the loop is finished, you can get samples of all tables to form a list List S When connecting with different values, if the number of connection results is less than n i value, all connection results should be taken as sample S i , set f i =1.
[0041] (III) Cardinality estimation of hybrid autoregressive model and offline connection key sampling:
[0042] The hybrid autoregressive model and cardinality estimation of offline join key sampling, hereinafter referred to as the hybrid method, specifically includes: cardinality estimation of query, cardinality estimation on offline join key sampling, and hybrid cardinality estimation; the specific estimation process is as follows:
[0043] First, use the multi-way parallel masked autoencoder model trained in step (1) to estimate the cardinality of the query, generate a certain number of virtual tuples under the predicate constraints of the query, and obtain the conditional probabilities of these virtual tuples in the overall data distribution. The conditional probabilities are summed up to obtain the cardinality estimate of the query.
[0044] The query predicate constraint is in the form of the following formula (7), where T i .C j represents the data in the jth column of the ith table, R ij Represents the query constraint value range for the query on this column:
[0045] Q={T1.C 11 ∈R1,…,T n .C m ∈R nm}, (7)
[0046] Let the autoregressive model generate n virtual tuples within the constraint value domain. Usually n is 4000. At the same time, the distribution ratio of these virtual tuples is obtained, and then the estimated selectivity sql′(Q) of the query is obtained:
[0047]
[0048] Cardinality can be calculated by multiplying the query selectivity by the total cardinality:
[0049] card′ AR (Q) = sel′(Q) × card ALL , (9)
[0050] For the cardinality estimate on the offline join key sampling, we only need to execute the cardinality estimation target query Q on the constructed sampling to obtain the following:
[0051] card′ S (Q) = Q(sample), (10)
[0052] Finally, the final cardinality value of the mixed cardinality estimation method is obtained by weighting the two by size:
[0053] card′(Q)=,
[0054] W1×max(card′ S (Q),card′ AR (Q))+W2×min(card′ S (Q),card′ AR (Q)), (11)
[0055] Among them, W1 and W2 are weight coefficients, W1 is usually 0.75, and W2 is usually 0.25.
[0056] The query cardinality estimation method based on hybrid autoregressive model and sampling of the present invention has the following advantages:
[0057] When performing query optimization in a large-scale data set scenario of an OLAP analytical database, the multi-way parallel masked autoencoding model of the present invention can improve the accuracy of cardinality estimation compared to traditional models, and the method based on offline connection key sampling can make up for the high quantile errors of low connection number and selectivity queries that still exist in the above-mentioned method based on the autoregressive model. Finally, the method of mixing the two proposed by the present invention can provide a more accurate subquery cardinality estimate, reduce the generation of high quantile errors, reduce the possibility of catastrophic execution plans generated by the database optimizer due to high quantile errors, and improve the stability of database query execution. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1It is a diagram of the multi-channel parallel masked self-encoding model of the present invention.
[0059] Figure 2 The masked self-encoding layer structure used in the present invention and the conditional probability of the corresponding output.
[0060] Figure 3 This is the feature extraction layer structure of the multi-way parallel masked autoencoder model.
[0061] Figure 4 It is the feature enhancement layer structure of the multi-way parallel masked autoencoder model.
[0062] Figure 5 The final computational layer structure of the multi-way parallel masked autoencoder model.
[0063] Figure 6 Demonstrates an example for sampling a directed acyclic graph.
[0064] Figure 7 A detailed example of the process of generating samples. DETAILED DESCRIPTION
[0065] The following are specific examples of the present invention, which further describe the present invention.
[0066] IMDB-Job-Light dataset: contains a lot of information about film and television works from 1880 to 2019. Its content includes different movies, TV shows, and their companies, actors, directors, etc. This information is stored in different tables, and their complete information can be obtained through foreign key connections. It is a commonly used multi-table dataset.
[0067] PostgreSQL database: This is an open source object-relational database that uses standard SQL language for query. It has a query optimization module and a corresponding cardinality estimation module. The deployment location of the present invention is in its cardinality estimation module.
[0068] Firstly, the weighted connection method is used to process the IMDB dataset to generate a dataset for training the multi-way parallel masked autoencoder model. Then, the dataset is used to complete the training of the model. The training is considered completed when the cross entropy of the model is stable.
[0069] During the above training, the breadth-first traversal algorithm is used to traverse the complete database schema starting from the root table of the training set to generate the directed acyclic graph and connection order required for constructing the sampling. The construction process is shown in Figure 6 shown.
[0070] After determining the sampling order, it is necessary to determine the overall sampling ratio f at the same time, which is usually set to 0.1%, starting from T root Start random sampling with a sampling volume of Troot The total number of rows in the table is multiplied by f. After sampling is completed, the next edge of the sample in the directed acyclic graph is Figure 6 The connection key connecting edge 1 is T root .k1 performs unique value extraction calculation to obtain the unique key data table k1, and compares it with the table T1 pointed to by the edge. root .k1=T1.k1 join operation, and perform random sampling in the join result JoinResult1 to obtain the sample S1 of the table.
[0071] Then continue to sample the new table according to the order of the connection edges in the directed acyclic graph, starting from the table that has been sampled, and continue to sample according to the above process, for example Figure 6 and Figure 7 The connection edge starting from T1 connects to T2, and finally completes the sampling construction of all tables.
[0072] In the online estimation stage, it is connected to the cardinality estimation module of PostgreSQL. PostgreSQL provides the query content required for cardinality estimation, that is, the subquery. The cardinality estimation module first converts the query into a query constraint range, and uses the trained multi-way parallel masked autoencoder model to generate virtual tuples within the range constraint and sum their probability distributions to obtain the cardinality estimation value card′ of the autoregressive model. AR (Q), then execute the subquery on the sample, and divide the result value by the sampling ratio of this query in its use of sampling to obtain the sampling cardinality estimate card′ S (Q), and finally the mixed cardinality estimation module performs a weighted average of the two to obtain the final cardinality estimate card′(Q).
[0073] Table 1 shows the relative error comparison of the test workload Job-Light on the PostgreSQL native cardinality estimation method, the MSCN method driven by queries based on multi-convolutional neural networks, the DeepDB method driven by data based on product networks, the UAE method driven by data and queries based on autoregressive models, the NeuroCard method driven by data based on autoregressive models, and the hybrid method HAS-CE of the present invention. On the Job-Light dataset, the high percentile estimation error (maximum error, 99th percentile, 95th percentile and 90th percentile) of the present invention is much lower than that of the other five existing methods, which can reduce database error optimization caused by high percentile errors. At the same time, its median error is second only to DeepDB, which can better complete the cardinality estimation work.
[0074] Table 1. Comparison of relative test error of the present invention with other existing methods under the Job-Light test set
[0075]
Claims
1. A query cardinality estimation method based on hybrid autoregressive model and sampling, It is characterized in that The specific steps are: (I) Design and training of multi-channel parallel masked autoencoder model: The multi-channel parallel masked self-encoding model, hereinafter referred to as the model, is specifically a multi-layer neural network model constructed in parallel using multiple masked self-encoding layers, trained using the original data set to obtain the joint probability distribution between different columns in the original database data table; The multi-path parallel masked self-encoding model includes an embedding encoding layer and a computing module; the computing module includes a data feature extraction layer, a data feature enhancement layer and a final computing layer; the final output of the model is a conditional probability distribution between different columns; The feature extraction layer includes a plurality of masked autoencoding layers and an average pooling layer; wherein the masked autoencoding layer is derived from a single-layer structure of a masked autoregressive model, and a mask is set between layers so that the fully connected layer acquires autoregressive properties; The feature enhancement layer has the same structure as the feature extraction layer, and also includes multiple masked autoencoding layers and an average pooling layer. The masked autoencoding layer is derived from the single-layer structure of the masked autoregressive model. By setting masks between layers, the fully connected layer can obtain autoregressive properties. The final computation layer includes a complete and large masked self-encoding layer W; (II) Offline connection key sampling: The offline connection key sampling, hereinafter referred to as sampling, specifically includes the steps of determining the sampling construction pattern diagram sequence, confirming the sampling ratio and sampling based on the connection; (III) Cardinality estimation of hybrid autoregressive model and offline connection key sampling: The hybrid autoregressive model and the cardinality estimation of offline connection key sampling specifically include: cardinality estimation of query, cardinality estimation on offline connection key sampling, hybrid cardinality estimation, and obtaining a final query cardinality estimation value.
2. According to the query cardinality estimation method of claim 1, It is characterized in that In step (1), the model first encodes the row data in the input original data table through the Embedding encoding layer; The length of a single column of data in the coding layer is L em Set within 64, encode the data according to the value range, and encode the value range less than L em The columns are encoded using one-hot encoding, and the range is greater than L em The columns of are embedded in the code, and the output of the coding layer is set to The above Embedding encoding layer converts a single column value range L into a single column value range L through a single matrix multiplication operation. c The vector data is reduced to a vector of 64. Each column of data with a value range of more than 64 corresponds to a size of (L c , 64) a trainable dimension reduction matrix; After the coding is completed, the data is input into the calculation module of the model; among them: The input of the feature extraction layer is the data sequence after Embedding encoding. The data is vertically spliced after passing through multiple parallel masked self-encoding layers and input into the average pooling layer; finally, Relu is used for activation to obtain the output of this layer. The calculation formula is shown in the following formula (1), where Represents the i-th mask self-encoding layer of the extraction layer to operate on the input; The input of the feature enhancement layer is the data sequence calculated by the feature extraction layer. After the data passes through the parallel masked self-encoding layer, it is vertically spliced and input into the average pooling layer; finally, Sigmod is used for activation to obtain the output of this layer; the calculation formula is shown in the following formula (2), where Represents the i-th mask self-encoding layer of the enhancement layer to operate on the input; The input of the final calculation layer is the lateral combination of the encoded data, the output vectors of the feature extraction layer and the feature enhancement layer, which is specifically a concatenate function. Concatenate and add random Dropout; the input is represented as: The above features are processed by a single masked self-encoding layer W, and the output is an output vector data of the same length as the embedded encoding vector data, as shown in the following formula (4): The output is decoded by the subsequent decoding layer to obtain the conditional probabilities of different values of the current columns.
3. According to the query cardinality estimation method of claim 2, It is characterized in that In step (a), during the model training process, it is necessary to input a complete data sequence of multi-table connections randomly sampled in batches in the original database; the original database refers to a relational database that the user wants to learn about joint cardinality, which contains data single tables, foreign key constraints, database schemas, table indexes, and other contents; for a relational database, a connection is performed according to an equivalent key, i.e., a join operation, and the connection relationship in the relational database schema can be regarded as a graph data type; for an autoregressive model, the complete data sequence that needs to be generated during training needs to traverse the data of all tables in the database schema in order. This process has a starting point and an end point, and a root table needs to be set as the starting point of the connection. Starting from the root table, the entire data set is traversed and connected according to the equivalent connection key, and the sampled outer connection is connected; During the connection process, the repeated keys in the next table have an amplifying effect on the tuples in the previous connection table. Therefore, the proportion of each different key in the final training space is different. Therefore, it is necessary to record the connection weight of each table in the path during sampling; after determining the connection weight, the complete data sequence sampling is randomly sampled in each table according to the connection weight, and a complete tuple of the outer connection is generated; after obtaining the above-mentioned randomly selected complete data sequence, the data is input into the model, and the cross entropy between the probability distributions is output. The cross entropy is used for back propagation to complete the model training.
4. According to the query cardinality estimation method of claim 3, It is characterized in that The specific process of step (ii) is as follows: First, input the database schema diagram for the cardinality estimation task in step (1). Each table in the schema diagram is regarded as a node in the diagram, and the connection keys between tables are regarded as directed connections between nodes in the diagram. The final output is a schema diagram in the form of a directed acyclic graph. To construct the directed acyclic graph, the sampling starting point table in the model training process in step (1) is used as the starting point for constructing the pattern graph. From the starting point, the breadth-first traversal algorithm is used to search the entire database pattern with the connection key as the edge, and the calling order of each edge is recorded to finally generate a directed acyclic graph. Then, set the overall sampling ratio f, start from the root table, and randomly sample f proportion of data tuples from it to form the root table sampling S root ; For the first sampling, let S i-1 =S root , calculate the sampling S i-1 According to the above calling order, the next connection table T i The different values of the corresponding connection key are equi-joined, and then Join is performed from the connection result. res Then draw out the number n i The tuples of which constitute the current table sample S i , count(X) is the total number of rows in table or result set X, and the number of samples is n i With the record ratio f i The calculation is as follows: n i =count(T i )×f, (5) For subsequent cyclic sampling, the calling order of edges and nodes recorded in the directed acyclic graph is followed, and each round of cyclic sampling is used as S i-1 , calculate S i-1 With T i Get the current table T for different values of the corresponding connection key i Sampling S i With the record ratio f i ; After the loop is finished, get the samples of all tables to form a list List S ; Use different values to connect, if the number of connection results is less than n i value, all connection results are taken as sampling S i , set f i =1.
5. According to the query cardinality estimation method of claim 4, It is characterized in that The specific process of step (three) is as follows: First, the cardinality of the query is estimated using the multi-way parallel masked autoencoder model trained in step (1), a certain number of virtual tuples are generated under the predicate constraints of the query, and the conditional probabilities of these virtual tuples in the overall data distribution are obtained, and the conditional probabilities of these virtual tuples in the overall data distribution are summed to obtain the cardinality estimate of the query; The query predicate constraint is in the form of the following formula (7), where T i ·C j represents the data in the jth column of the ith table, R ij Represents the query constraint value range for the query on this column: Q={T 1 .C 11 ∈R 1 ,...,T n .C m ∈R nm }, (7) Let the autoregressive model generate n virtual tuples within the constraint value domain, and obtain the distribution ratio of these virtual tuples, and then obtain the estimated selectivity sql′(Q) of the query: Cardinality is calculated by multiplying the query selectivity by the total cardinality: card′ AR (Q)=sel′(Q)×card ALL , (9) For the cardinality estimate on the offline join key sampling, the cardinality estimation target query Q is executed on the constructed sampling to obtain: card′ S (Q)=Q(sample), (10) The final cardinality value is obtained by weighting the two by size: Among them, W 1 , W 2 is the weight coefficient.
Citation Information
Patent Citations
Combined deep neural network-based connection cardinal number estimation method
CN110888859A
Query optimization system based on cost estimation
CN116521719A
Query cardinal number estimation method based on grouping mask autoregression model
CN116662454A
Adaptive model cardinality estimation method
CN117931857A
