[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Some clarificatiosn -- RE: [Question] How to do incremental parsing?

  • From: Tony.Coates@r...
  • To: xml-dev@l...
  • Date: Fri, 06 Jul 2001 14:49:11 +0100

Re: Some clarificatiosn -- RE: [Question] How to do incremental parsing?

On 05/07/2001 18:33:39 "Xu, Mousheng  (SEA)" wrote:

>* What is "persistent DOM"?

I brought this up, so I had better provide an answer.  DOM itself is a set of interfaces, so it says nothing about how the actual XML data is stored.  The first DOM implementations stored the parsed information in a tree in memory, which meant that the size was more or less limited by the physical memory of your computer.  A persistent DOM is one where the parsed information is stored in a database.  Calls to DOM methods then cause the required parts of that information to be paged into memory, in just the same way that JDBC/ODBC/ADO calls result in some of the information in your database being paged into memory.  The result is that a persistent DOM can be as big as your database allows (which is typically a lot more than your physical memory), but if you only need to touch part of that information, then only that part ever gets loaded into memory.

As I noted before, having to page from a database into memory can be slower than having the whole thing constantly in memory, but that's OK, because existing databases are fast enough to do serious enterprise processing with, so there is no reason why a persistent DOM should be any less capable of "fast enough" processing of large volumes of enterprise (or other) data.

     Cheers,
          Tony.
========
Anthony B. Coates
(1) Content Distribution Architect - Project Gazelle
(2) Leader of XML Architecture & Design - Chief Technology Office
Reuters Plc, London.
tony.coates@r...
========



-----------------------------------------------------------------
        Visit our Internet site at http://www.reuters.com

Any views expressed in this message are those of  the  individual
sender,  except  where  the sender specifically states them to be
the views of Reuters Ltd.

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.