Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««12

Pros and Cons - Table with loads of uniqe columns VS Row based keys with row data type Expand / Collapse
Author
Message
Posted Friday, August 3, 2012 12:37 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, December 18, 2014 10:24 PM
Points: 54, Visits: 146
The EAV model is as everything else a tool. Used correctly, though it rarely is, is extremely powerful. The Relational model when implemented to address a specific problem is quick, robust and maintainable. Can they be used together ? Sure... but there are boundries that if crossed. will bring a project to it's knees. Sure storing data in 'skinny' structures is easy but the implementation of an application to manange, modify and view that data is complex and error prone. But one can't deny the ability to store vast amount of data in a single table. SQL Server 2008 and on employ Spare tables to help address the storage of tables with large numbers of columns and no data but, they to, have limitations. For example range check constraints are not possible (though Data types are). So whatever the solution you are after be aware of the design considerations required to achieve your aims.
COde On
Post #1339650
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse