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

Re: XML-enabled databases, XQuery APIs

  • To: Michael Kay <mike@s...>
  • Subject: Re: XML-enabled databases, XQuery APIs
  • From: Peter Hunsberger <peter.hunsberger@g...>
  • Date: Fri, 15 Apr 2005 13:03:13 -0500
  • Cc: xml-dev@l...
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GpTuzkanojn2tVDfIXMV5dintG0xbqZ35XouLaLyVMGafpoOmb5IhOrKxjX7qDQJNhZFP1GcDKZgqNZ/9H+gi6ONSPO9Qg8RA3Xnggbl7KY2FdDmnruh8WE2WBqsz18KEK3akKuivC/Y1hXGu2SRsrDQyqgNSazIWe2+LXVPip4=
  • In-reply-to: <425ffce1.6c2cfc88.09f7.02efSMTPIN_ADDED@m...>
  • References: <cc159a4a05041510265cc2d696@m...> <425ffce1.6c2cfc88.09f7.02efSMTPIN_ADDED@m...>
  • Reply-to: Peter Hunsberger <peter.hunsberger@g...>

Re:  XML-enabled databases
On 4/15/05, Michael Kay <mike@s...> wrote:
> > I think you're over generalizing more than a bit. Over the years I've
> > done a couple shredding implementations.  In particular, I've
> > previously built a generalized approach on top of SQL server that
> > supported mixed content, sibling order and did not require a schema.
> > Adding comments and PI's to that would have been pretty much trivial.
> 
> It's not difficult to do it. It's just difficult to do it in such a way that
> you can reassemble a shredded document of any size before the kettle has
> boiled.

If you do it right it's a flat query and reassembly is Order N.  That
means you pay the cost on the update side which can on occasion become
very expensive. Inserts are still relatively painless, I haven't had a
need to do the analysis, but I'd guess around N log N.  In our case
everything is an insert since old data is retained for audit purposes
and deactivating old records is trivial.  At some point we'll have to
partition the data, but that's still a long way away.

Don't know what you mean by "any size", but in our current case we
have one screen that has about 9 documents some of which are several K
in size. All of  this is assembled on the fly (and subsequently pumped
through a couple of Saxon transforms ;-).  This screen takes a couple
seconds to go from request to being rendered on the browser. Pulling
the data out of the database and assembling it isn't the bottleneck,
rendering it in the browser is...

-- 
Peter Hunsberger

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.