1. A method, comprising: selecting a column of a table for which test data is needed; and generating test data for the column that replicates cardinality characteristics of an existing production dataset and that comprises a local predicate of a workload.