W
Wed Oct 26 11:57:00 CDT 2005
"Cor Ligthert [MVP]" <notmyfirstname@planet.nl> wrote in message
news:Opa7n7j2FHA.2604@TK2MSFTNGP12.phx.gbl...
> Bill,
>
> An ISAM database and what you call sequential files in multiuser
> environments have been in past to be at least so called Index Sequential
> files. What in fact an ISAM file is. It has forever had in past an extra
> index file around and now inbuild, the best in my opinion when it is a
> BTree.
--I'm just using ISAM as an example of a purely one file system. You can
navigate an XML document the same way you can use an index to find your
position. From the point of I/O, there's no difference for the disk drive
doesn't care how you found the position you want to write to.
>
> The by the index to point seperated datainformation parts are forever
> direct addressable and to update.
>
> Not that I have it from that, however I like it to show it using Wikipedia
> than typing myself a lot.
>
>
http://en.wikipedia.org/wiki/ISAM
>
> I have endless used those seperated index and sequential files in past.
>
> An XML file has no index, you have to write and rewrite everything again.
--Actually you don't. That's what my point is. I was using ISAM as an
example of a one file system that fit your definition. You can load the xml
document and use XPath to write specific nodes out to it. This can be done
very quickly and while you have a file locked, it may only be for a
millisecond so it's not necessarily an issue.
>
> In past I have also worked with a relative database, which had beside
> indexes as well, zero or more list structures after every row, using those
> was really very fast. They are nomore, probably because that searching of
> the index is now fast enough.
>
> Using sequential files was in past forever in batch where the first record
> of (by instance) a tape was read and than in the same time rewritten on
> another tape. That was no multiprocessing.
--Sure, but flat file db's are still in use some places today. All it is is
a different file format. There are pure XML databases out there, that use
one file, and that are used by multiple people. It's not the best
configuration for tons of concurrent users but it can and does work for many
situations. What my point is is simply that all db's write to some file
format. XML is just another format of writing out your data. The db engine
handles how the data is written and the same can be done using an xml
structure.
>
> Cor
>