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

Re: Why Multipath (LCA) Hierarchical Query Processing Work

  • From: mike@adatinc.com
  • To: "Peter Hunsberger" <peter.hunsberger@gmail.com>, mike@a...
  • Date: Mon, 03 Aug 2009 04:41:27 +0000

Re:   Why Multipath (LCA) Hierarchical Query Processing    Work
Joe Celko's and the other hierarchical processing solutions you mentioned is to use external programmable hierarchical programming functions and they also do not handle the necessary multiple node type and multiple data occurences necessary for XML. Using the Left Out Join in a hierarhical data modeling fashion allows full multipath hierarchical processing to be transparently performed automatically and correctly including nonlinear multipath queries. See my DevX ANSI SQL Hierarchical Processing article at: http://www.devx.com/xml/Article/39183/1954
 
            /Mikehttp://www.devx.com/xml/Article/39183/1954?pf=true
-----Original Message-----
From: Peter Hunsberger [mailto:peter.hunsberger@gmail.com]
Sent: Monday, August 3, 2009 12:08 AM
To: mike@a...
Cc: XML-dev@l...
Subject: Re: Why Multipath (LCA) Hierarchical Query Processing Works Automatically in ANSI SQL

On Sun, Aug 2, 2009 at 10:25 PM, wrote: > Basic ANSI SQL inherent hierarchical processing using the Left Outer Join to > model and processes hierarchical structures is basically quite obvious and > empirical and I have covered this in my previous SQL/XML articles. The proof > for multipath hierarchical query processing which requires Lowest Common > Ancestor (LCA) processing occurring naturally in ANSI SQL is not that > obvious because it is truly quite amazing since it was never designed into > ANSI SQL and is quite complex to perform. Empirically it can be proven from > its results, but it would be very nice to know how and why it is working so > we can absolutely trust the results. I have written an article describing > the how and why of natural LCA processing in ANSI SQL and have appropriately > entitled it “The Ghost in the Machine”. It can be located below. > > The Ghost in the Machine > http://www.tdan.com/view-articles/11069 > > This LCA processing in XQuery is not automatically performed today and is > too complex to do with procedural navigation. This problem has been > researched academically and attempted solutions use LCA functions that have > to be inserted correctly by the query user which takes away for its ease of > use and schema-free purpose. My work with LCA processing has shown that LCA > processing can involve nesting LCA’s that I do not necessarily see occurring > in this LCA XQuery research limiting their future solutions to more simple > queries. ANSI SQL performing LCA processing automatically has no multi-path > LCA query limitations. This has been referred to a LCA query processing, at > least three decades ago. Mike, Perhaps I'm missing something here, surely you're not really suggesting that we should code outer joins to manage hierarchical structures in a relational database? Why not just use Celkos set / subset tree management (or other related algorithms)? We've got some tree structures several 1000 nodes deep and wide managed in a relational database, can you me exactly how you would go about finding (for example) all the leaf nodes for such a tree? -- Peter Hunsberger _______________________________________________________________________ XML-DEV is a publicly archived, unmoderated list hosted by OASIS to support XML implementation and development. To minimize spam in the archives, you must subscribe before posting. [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/ Or unsubscribe: xml-dev-unsubscribe@l... subscribe: xml-dev-subscribe@l... List archive: http://lists.xml.org/archives/xml-dev/ List Guidelines: http://www.oasis-open.org/maillists/guidelines.php


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.