[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fw: Ozone and XPATH

On Fri, 23 Feb 2001, Lars Martin wrote:
> Begin forwarded message:
> Date: Fri, 23 Feb 2001 00:10:19 +0100
> From: "Juergen Fey" <jfey@xerpent.com>
> To: <ozone-users-owner@ozone-db.org>
> Subject: Ozone and XPATH
> Hi,
> I am working on a new version of a content management system which
> is beeing used by some heavy load sites in germany.
> Currently i do use (for the upcoming version) JDOM and an XPATh extension 
> to do XPATH queries into the docs for some special add on functions.
> The performance is not bad.
> I just wonder if Ozone support XPATH directly and if so, how fast it
> is. The number of docs is about 50.000 xml files with an average size of 
> 10 k.

ozone supports XPath. It employs third party packages like Xt or Xalan for
that. The default is Xt which is included in CVS. Xt is pretty fast. If the
working set of data fits in memory, then Xt works on persistent DOM (ozone)
nearly as fast as on transient DOM.

However, if you need to process all the 50000 documents each time, then ozone
is probably not suited for your needs because a working set of data of 50000
XML documents each of 10k would probably not fit in memory ;) which makes
ozone/XML very slow because serializing data to/from disk is by far the most
time consuming operation.

The is the drawback of the current architecture of ozone/XML. Which is very
flexible and works with each products that uses DOM (Xt, Xalan, SAXON, ...) but
on the other hand need enough memory to hold the working set of data in memory.

> I will dig into Ozone in the coming weeks anyways to get some new ideas
> like search engines and stuff.
> Juergen Fey
>          The box said "Win95 or better", so i installed Linux 

Falko Braeutigam                              mailto:falko@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com