June 16, 2010 at 11:15 am
We are considering using the XML datatype for a new application, and I have been asked to provide - at high level - the pros and cons of XML storage in SQL Server, as well as scenarios in which XML is a good option.
I have some idea what to talk about, but was wondering if I could get additional input here.
Any advice, links etc. would be appreciated.
__________________________________________________________________________________
SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
Persisting SQL Server Index-Usage Statistics with MERGE[/url]
Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]
June 16, 2010 at 11:50 am
We're using XML files only for getting data from a DB2 into SQL Server through a (required) 3rd party middleware.
The reason we're using XML is to be flexible in terms of add/remove columns to transfer since this can be done without wasting money on the middle ware folks to change the mapping. So, XML is used only to compensate a semi-optimal business structure 😉
Other than that, we don't use it at all sine we couldn't find a business case (in our departement) that couldn't be covered using T-SQL and a relational database model.
June 17, 2010 at 11:11 am
lmu92 (6/16/2010)
We're using XML files only for getting data from a DB2 into SQL Server through a (required) 3rd party middleware.The reason we're using XML is to be flexible in terms of add/remove columns to transfer since this can be done without wasting money on the middle ware folks to change the mapping. So, XML is used only to compensate a semi-optimal business structure 😉
Other than that, we don't use it at all sine we couldn't find a business case (in our departement) that couldn't be covered using T-SQL and a relational database model.
Thank you.
Indeed a good case for using XML for data storage is when data is semi-structured, ie. the fields are not known at the outset;
that's often the case with third-party tools.
__________________________________________________________________________________
SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
Persisting SQL Server Index-Usage Statistics with MERGE[/url]
Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply