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
VulpesPosted May 10, 2011, 5:35 AM
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.
Suthish NairPosted May 10, 2011, 2:27 AM
Abhimanyu K VatsaPosted May 10, 2011, 2:26 AM
Sam HobbsPosted May 10, 2011, 1:28 AM
Abhimanyu K VatsaPosted May 9, 2011, 8:05 AM
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
VulpesPosted May 9, 2011, 7:21 AM
mark dineshPosted May 9, 2011, 5:13 AM
MY Structure will be
< UserName>xxxxxx
both are encrypted
Abhimanyu K VatsaPosted May 9, 2011, 4:02 AM
(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.