1

如果我有一个包含 City 字段的表,并且正如预期的那样,该字段会重复自身,因此仅将其与另一个表分开就可以规范化概念?我的意思是只有一个字段的分隔表可以有意义并且可以帮助提高性能?

4

1 回答 1

1

It is unlikely to help much. You would need to invent a 'City ID' which would, presumably, be an integer type for cross-referencing to the table of city names. You would complicate the data; when presenting the address information, you'd have to do a join - so simple data dumps would be less readily meaningful (you need two dumps - the main table and the city table - to make sense of a simple data dump).

于 2010-06-10T08:08:06.607 回答