[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>
  • Date: Mon, 03 Aug 2009 17:24:53 +0000

Re:   Why Multipath (LCA) Hierarchical Query Processing    Work
Sounds like your example is a specific application. Are any of those tables carrying hierarchical mapping information? Using the Left Outer Join to map hierarchical structures is general purpose. No additional hierarchical information or additional processing is necessary. By using the Left Outer Join to map the structures hierarchically, the ANSI SQL engine will operate fully hierarchically on hierarchical structures. This naturally supports nonlinear hierarchical processing where multiple path queries are accepted and correctly processed. Hierarchical structures can be dynamically joined into new larger hierarchical structures and the SQL processor automatically continues to operate hierachically correct on the new structure. As I said originally, the ANSI SQL processor when operating hierarchically automatically supports Lowest Common Ancestor (LCA) logic necessary to process multipath queries such as SELECTing data from one path of the hierarchical structure based on data values from another pathway. This hierarchical processing can dynamically process the most complex multipath queries requiring much nesting of LCAs. XQuery academic research has had a number of projects attemping to add LCA functions to XQuery to add multipath processing. For further information, see my interactive ANSI SQL Transparent XML Hierarchical Processor dynamically invokable at: http://www.adatinc.com/demo.html.
 
-----Original Message-----
From: Robert Koberg [mailto:rob@koberg.com]
Sent: Monday, August 3, 2009 12:18 PM
To: 'Peter Hunsberger'
Cc: 'XML Developers List'
Subject: Re: Why Multipath (LCA) Hierarchical Query Processing Works Automatically in ANSI SQL

Peter, Don't suppose you can post your schema and some examples of how you use it? It sounds very interesting. best, -Rob On Aug 3, 2009, at 8:58 AM, Peter Hunsberger wrote: > On Sun, Aug 2, 2009 at 11:41 PM, wrote: >> 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. > > Not sure what you mean by "external programmable hierarchical > programming functions" You can use set/subset hierarchies with pure > SQL. Nothing external is required....? > > They can certainly handle multiple node types and multiple data > occurrences: just map the hierarchy using a table that is pure set / > subset and use a foreign key from it to a table joining multiple types > and / or multiple occurences as needed. > >> 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 >> > > I read your articles, frankly I don't get it. Like I said, I can't see > how to manage large tree structures in the way you suggest. In one > application we manage about 200 different major tree structures, one > instance of these has 60,000+ main nodes in it. These nodes represent > in the order of 50 major types and probably over 200 subtypes. The > tree nodes point to in the order of 300,000 data instances (this > particular tree is relatively sparsely populated). All this is managed > with about 10 tables using set / subset. Any path traversal that I > need for any use case I've ever seen is realizable in pure ANSI SQL. > We create XML from these tables, on demand to build navigation menus, > OWL ontology dumps, and data management screens (which may include > multiple levels of hierarchy depending on the use case). > > What am I missing here? > > -- > 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 > _______________________________________________________________________ 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.