database cardinality ratio