1. A computer-implemented method of reducing redundancy within a data model in a database, wherein the data model is represented by at least one table, the method comprising: determining a number of distinct values of partial keys in a table, wherein each partial key represents at least one row in the table; reordering one or more columns of the table by cardinality of partial keys, wherein the cardinality of a partial key represents a number of distinct values of the partial key; determining whether pairs of partial keys are functionally dependent; and eliminating one or more columns having functional dependencies from the table.