“…Query-driven methods [17,22,31,41,46,47,49,52,53] deploy discriminative models trained on a set of historic queries to predict the cardinality for a single query. Data-driven methods [24,37,39,51,54,56,57,60] deploy generative models trained on data without using query workloads. In general, query-driven methods are inflexible, especially when representative queries are unavailable, and data-driven methods can achieve better performance than query-driven methods [21].…”