I've got an app that has hundreds of medium-sized (100s of elements) XML
files on disk (not in db). Right now these are loaded via XMLDocument.Load
and searched with XPATH.
The performance has become unacceptable.
Performance improvment strategies I know of:
1. Switching to XMLReader
2. general System.XML 2.0 speed improvements
3. SQL Server 2005 : putting the XML in the XML Data Type and :
(a) doing XPATH directly against the DB
(b) loading the XML from the DB into an XMLDocument and doing XPATH against
it
Can anyone provide more information? What type of speed improvements can be
expected?
I've read that with System.XML 1.0 you can expect about 30-40% improvement
by switching to XMLReader techniques.