Path: news.cambrium.nl!textnews.cambrium.nl!feeder3.cambrium.nl!feed.tweaknews.nl!postnews.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.bresnan.com!news.bresnan.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 31 Dec 2008 18:47:35 -0600
Date: Wed, 31 Dec 2008 17:47:51 -0700
From: salmobytes <salmobytes@closenuf.org>
Organization: fair to middlin
User-Agent: Thunderbird 2.0.0.19 (X11/20081209)
MIME-Version: 1.0
Newsgroups: comp.databases.theory
Subject: Re: native xml processing vs what Postgres and Oracle offer
References: <EbWdncb60ebp34XUnZ2dnUVZ_hGdnZ2d@bresnan.com> <93c1e476-8a82-40f0-8909-b9b5b2e5c3ea@k19g2000yqg.googlegroups.com> <ggj506$ifq$1@mud.stack.nl> <62e66b8c-26ed-415a-9a83-49cb22f76d0f@r40g2000yqj.googlegroups.com> <ghlt81$1pdi$1@mud.stack.nl>
In-Reply-To: <ghlt81$1pdi$1@mud.stack.nl>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <voadnRZW8OQ6j8HUnZ2dnUVZ_qjinZ2d@bresnan.com>
Lines: 39
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 69.145.181.184
X-Trace: sv3-nuH7sayQboCFmv8kJW4bR0FKpE0E+dANblIqYbQUB7AxGP3F/GsXG/MmUrx8b+cgqMRgXTA6oVxoEUB!LGC1O8G/tSB8+bpW/dxR2oiRG6vM+afu2mb5GbvdqbXhVwVR7QngeSuLmDbJ7iV/R+RBKxJC75qV!KUSMbKOq8cvIKw==
X-Complaints-To: abuse@bresnan.net
X-DMCA-Complaints-To: abuse@bresnan.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.39
Xref:  news.cambrium.nl

rpost wrote:

> In short, I think the main issue in picking attributes and keys here is
> not in determining how the data is to be used, but in determining
> realistic commitments from the supporting software on the accuracy
> of the attribute values supplied.  For a web forum, <author, timestamp>
> seems a good choice of key, even if they aren't always accurate, as long
> as the server never accepts multiple messages with the same author and
> timestamp.
> 

This is why web-based forum coders (working with a relational database
at the back end) don't like "threading."

...it's hard to do and you pay a huge performance penalty to make it 
happen (with relational modeling anyway). So relational programmers
fool themselves into thinking hierarchies are bad design.
Hierarchies are not bad design, they are the weak underbelly of the 
relational model.
Hierarchies are part of the real world.  They just don't fit well into 
the relational scheme of things.

With XML querying hierarchies is a snap.
So if you have a hierarchical problem, XML is a better technology.

Someone referred to XML as messy technology that couldn't be optimised. 
But SleepyCat and XPath is faster than any relational system running any 
one of the ugly, complex and slow-as-mollases "relational solutions" to 
the hierarchical problem.

For some problems you don't need a database at all: grep or perhaps 
lucene or HyperEstaier are all that's needed.

For some problems XML is the best choice, particularly if the data
is naturally hierarchical.

For other problems--particularly for *large* data problems--relational 
systems are the best choice....but almost never when hierarchies are
involved.
