﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / SQL Server 2005 General Discussion  / Table Design - Use Xml Column or EAV Model? / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Thu, 23 May 2013 05:21:29 GMT</lastBuildDate><ttl>20</ttl><item><title>Table Design - Use Xml Column or EAV Model?</title><link>http://www.sqlservercentral.com/Forums/Topic596681-149-1.aspx</link><description>So I am hitting some resistance on a design.  Basically, the DBAs don't like using the Xml datatype in the database tables.  Instead, I've been told to create a table that stores Attribute Value pairs.  Basically, we're storing either scaler or complex values into the Xml column, however, they all have the same Xml Schema.  Now, I need to split the data from the Xml coming in and put it into multiple Rows in an EAV table.  Don't get me wrong, I am a fan of EAV when it's needed, however, I don't think it's needed in this case.My question is, what really is the performance impact of the Xml datatype?  I mean ideally using the [TEXT_FILEGROUP] of the table I am able to store the Xml data into a seperate FILEGROUP and therefore even a seperate physical file on disk.   I understand that space-wise it's probably a little larger, but if this one Xml column is never Indexed or used in any WHERE clauses, what is the performance impact of it?</description><pubDate>Tue, 04 Nov 2008 09:38:55 GMT</pubDate><dc:creator>tymberwyld</dc:creator></item></channel></rss>