Path: dp-news.maxwell.syr.edu!spool.maxwell.syr.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!postnews.google.com!i39g2000cwa.googlegroups.com!not-for-mail
From: "Marshall  Spight" <marshall.spight@gmail.com>
Newsgroups: comp.databases.theory
Subject: Re: MV Keys
Date: 3 Mar 2006 10:17:56 -0800
Organization: http://groups.google.com
Lines: 41
Message-ID: <1141409876.758527.66510@i39g2000cwa.googlegroups.com>
References: <Xz9Mf.37664$F_3.21295@newssvr29.news.prodigy.net>
   <1140928045.223226.301140@i40g2000cwc.googlegroups.com>
   <440185c0$0$11076$e4fe514c@news.xs4all.nl>
   <1140963712.820976.72300@u72g2000cwu.googlegroups.com>
   <4401cd8b$0$11062$e4fe514c@news.xs4all.nl>
   <1140981916.897576.34490@u72g2000cwu.googlegroups.com>
   <1141000908.277461.101140@t39g2000cwt.googlegroups.com>
   <MPG.1e6e1c576dad2a0298976b@news.ntnu.no>
   <1141180942.125742.288830@j33g2000cwa.googlegroups.com>
   <MPG.1e6f9e5a3f96c28d98976c@news.ntnu.no>
   <1141239957.788010.239620@j33g2000cwa.googlegroups.com>
   <1141260473.796686.131530@u72g2000cwu.googlegroups.com>
   <MPG.1e710d32cc86fa77989770@news.ntnu.no>
   <1141324828.479189.199000@i40g2000cwc.googlegroups.com>
   <MPG.1e72083e15dbf5e598977b@news.ntnu.no>
   <1141393792.003417.56260@e56g2000cwe.googlegroups.com>
   <MPG.1e727b5de137fdce989782@news.ntnu.no>
NNTP-Posting-Host: 172.24.66.4
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1141409882 20134 127.0.0.1 (3 Mar 2006 18:18:02 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 3 Mar 2006 18:18:02 +0000 (UTC)
In-Reply-To: <MPG.1e727b5de137fdce989782@news.ntnu.no>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: i39g2000cwa.googlegroups.com; posting-host=172.24.66.4;
   posting-account=s2xCFw0AAAD2mIwYYHAqjdsecwG0axmW
Xref: dp-news.maxwell.syr.edu comp.databases.theory:37199

Jon Heggland wrote:
>
> Anyway, a counterargument is that introducing lists implies more
> complexity, less simplicity, and no change in power---the users gets the
> additional burden of having to learn all the list operators, when they
> don't really have to.

That's a decent argument, but I think in the final analysis it
doesn't hold up. Lists are really quite simple, so they don't
add much cognitive load. Indeed, those from outside the
RM world are already used to using lists for pretty much
everything already, whether appropriate or not. The
cost of having to learn all the list operators is prepaid,
and was pocket change to begin with.


> I'm not sure I buy this argument myself (even
> though it is one of Date's:)---but on the other hand, I've never really
> missed lists in my databases. I can order my data any way I want; why
> would I want to have one particular order represented implicitly,
> treating it as somehow more "important" than the others?

Again, my couterargument: if sets were really the right way
to handle ordered data, we'd represent strings as relations
of (foreign key, position, char).


> I also think that keeping the internals of a DBMS simple is a good
> idea---for the benefit of the optimiser, if nothing else. It is trivial
> to implement sets using relations; implementing lists should not be much
> harder.

Jan Hidders has also made this point on a number of occasions, but
I don't agree. The thing we most want to optimize for is the
experience of the user of the language--power, expressiveness,
whatever you want to call it. I think this is what Dawn means
when she talks about "interface."


Marshall

