sql server - Storing XML in Database -
our system comprises of various components. data flow in system in form of xml . each component process xml , , add content , , pass next component.
i want store xml versions.the xml size 250-300 kb . there 20 versions of xml 1 single transaction.also transactions in millions.
am looking alternatives of storage of kind of xml data .what if store xml in db. efficient way?
also , if store xml in db , there way search xml based on it's content . , how efficient be.
any thoughts help.
since data flows going in small chunks of 250-300 kb, makes sense save them in db xml or nvarchar (max) field, marc mentioned can store upto 2gb data.the xml data type validate xml formed, have advantage well. can consider index xml column, if retrieving large xml data. further, can able take advantage of xquery language search xml content. in terms of efficient, if storing xml files, keeping in files sytem folder work well, otherwise store in database. hope helps
Comments
Post a Comment