| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: XQuery question
Paul Tiseo wrote:
> In article <4b45d3ad.0305152208.3ea6e13d_at_posting.google.com>, neo55592
> @hotmail.com says...
>> > Could you easily solve graph problems in XML? >> > Find the shortest path in a graph, for example? >> >> What is the significance or benefit of solving "shortest path in a >> graph"
Also, you will have serious troubles with SQL's expressivity when calculating the shortest path in a graph represented as a binary relation.
>> and are rdbs well suited to solve such problems?
I'd say that rdbms fail in at least half of the criteria that you mention for graph algorithms:
- Performance: a join for each edge is hardly efficient - Maintainability: arguable, depends on what you call arguable - Data integrity: RDBMS can probably ensure this with constraints, howeverthis is rather inconvenient when compared to a language of which the syntax alone precludes inconsistencies (in the graph structure) in many cases.
Sebastian Received on Fri May 16 2003 - 10:23:16 CDT
![]() |
![]() |