EAV的数据建模 [英] Data Modeling for EAV
本文介绍了EAV的数据建模的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
EAV是一种非关系设计。您无法使用EAV实现任何正常表单,因为它不能成为关系。
EAV是 Inner-平台效果反模式。
如果您需要许多属性,您可以考虑序列化到BLOB 的XML,并将该XML存储在 CLOB
列中。
How are others using relational modeling tools to map a logical model or one in third normal form to a database that uses EAV?
解决方案
EAV is a non-relational design. You can't achieve any normal forms with EAV, because it fails to be a relation.
EAV is an example of the Inner-Platform Effect antipattern.
If you need many attributes, you could consider serializing to a blob of XML and storing that XML in a CLOB
column.
这篇关于EAV的数据建模的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文