Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EAV over SQL Server

I'm interested in playing around with the EAV model over an SQL Server Database. Is anybody able to point me to an article or framework for an existing model/schema (I'm not intrested in Saas for this)?

like image 529
Jaimal Chohan Avatar asked Aug 26 '09 17:08

Jaimal Chohan


People also ask

What is EAV in SQL?

Entity–attribute–value model (EAV) is a data model to encode, in a space-efficient manner, entities where the number of attributes (properties, parameters) that can be used to describe them is potentially vast, but the number that will actually apply to a given entity is relatively modest.

Is eav an Antipattern?

The Entity-Attribute-Value (EAV) [ ] data model has appeared in many different guises over the years, and comes under a variety of names, such as Object-Attribute-Value Model and Open Schema.

What is an attribute value in database?

The attribute represents data that describes an entity, for instance a product will have a price, weight and many more characteristics. The value is the value of that attribute, for example our product might have an attribute price of £9.99.


1 Answers

Best Practices for Semantic Data Modeling for Perfor...

EAV is notoriusly problematic as it leads to severe deployment performance and scalability problems. The Whitepaper in the link, released by the SQL Server Customer Advisory Team tries to offer some guidance to deploy a succesful EAV model.

like image 107
Remus Rusanu Avatar answered Nov 05 '22 05:11

Remus Rusanu