Chris, please see responses inline..
> Greg,
>
[quoted text clipped - 4 lines]
> they are not really built for concurrent access by a bigger number of
> users simultaneously.
MSDE is a good alternative but there are definitely some costs associated
with running it (at least that is what my manager will tell me). MSDE is
vulnerable to many of the same exploits that SQL Server is, so that means it
will have to be updated periodically. With my particular application,
that's probably the only real maintenance cost that would need to be
considered since I will be reloading the entire data set frequently.
However, I will definitely have to think about it as an alternative. It
would be interesting to estimate out what it would take to do an MSDE
solution vs. an XML solution. Even if it were cheaper to initially develop,
I think I could be challenged with the "what about maintenance and security"
concerns. Concurrency is definitely not an issue because it is only a one
user application. The only technical issue would be if there is a limit to
how much data you can store in MSDE, of which I don't believe there is one.
> You sound like you know what you're in for with not using a database in
> terms of concurrency management, access control, indexing across the
> individual chunks, transactional integrity, etc, i.e. all those reasons
> why databases are popular ;).
Transactional integrity and indexing is another good point. With spanning
multiple files, I'll probably need to be able to rollback changes if an
update on one of them fails. That may mean having to create new files, then
deleting the old ones when they are all successful. I'm not that concerned
about indexing since most of the searching I'm doing will be on just about
any field. XPath seems to do a pretty good job since most everything is
loaded in memory (at least for the file I'm searching...)
> If you determined that it's still more economical to build that
> functionality then that's hard to argue with. The trickiest piece to
> figure out is figuring out which file to add new XML and how to perform
> any updates that spawn multiple files, but again ... you sound like
> you're well aware of what you're in for.
I won't actually need to add new XML, I'll just need to update certain
records it in my particular case. That definitely simplifies things.
Regardless, I think I'm going to take a look at what it may take to do an
MSDE solution. Thanks for the suggestion.
Greg
> HTH,
> Christoph Schittko
[quoted text clipped - 100 lines]
> > > the
> > > > XmlDocument object is probably not a good choice...