I'm using a file XML in my ASP.NET project to store information (entered by admin only). I would like to know the maximum size of an xml file is allowed in a project?. (size can be measured in number of lines, GB,etc.).
Also, My xml file must be updated programatically by adding new lines.
Also suggest me,
Actually, some data by admin would be updated and admin want to list of name and description of members of a company, so,members would be add, update or delete. Would this member information too store in XML? Would never issue of space came in future?
IS using of XML file good?
Note: as already told only admin would going to store information. i.e. user (client) would be only able to see the updates in website.
Loading

Abhimanyu K VatsaRank #14 · 51.7K reputationPosted May 9, 2011, 12:02 AM EDT
(i) Character Length:2,147,483,647 characters
(ii) XML doesn't have support for casting to text.
(iii) ML datatype Can't be used in an index as a key column
There are many more.
No problem Mark, if admin is only one who play with your data. But for the future this will not be a good idea. Instead of this you may use MySQL or SQL Server.
Hope this helps.
mark dinesh15 reputationPosted May 9, 2011, 1:13 AM EDT
MY Structure will be
< UserName>xxxxxx
both are encrypted
VulpesRank #55 · 29.2K reputationPosted May 9, 2011, 3:21 AM EDT
Abhimanyu K VatsaRank #14 · 51.7K reputationPosted May 9, 2011, 4:05 AM EDT
Approx:
For 120MB file size RAM needed 512MB (this is approximate value not fixed)
For more look at the IBM Library,
http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.doc/doc/rsxlimit.htm
Sam HobbsRank #108 · 20.5K reputationPosted May 9, 2011, 9:28 PM EDT
Abhimanyu K VatsaRank #14 · 51.7K reputationPosted May 9, 2011, 10:26 PM EDT
Suthish NairRank #92 · 22.8K reputationPosted May 9, 2011, 10:27 PM EDT
VulpesRank #55 · 29.2K reputationPosted May 10, 2011, 1:35 AM EDT
Article 1 (http://www.codeproject.com/KB/XML/LargeXMLIndexing.aspx)
Article 2 (http://www.codeproject.com/KB/XML/SplitLargeXMLintoSmallFil.aspx)
However, I still think that you're better using a relational database instead if you believe there's any chance of the XML file growing to this sort of size.