| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Does Codd's view of a relational database differ from that ofDate&Darwin?[M.Gittens]
Marshall Spight wrote:
>>What would you like to achieve with the algebra?
Quite possible.
> Most any modest set of operations
> will suffice, and everything else can be written in those terms.
> (get/set/size/insert/delete/concat is more than complete.)
Indeed. Assuming you have recursion then car, cdr, cons and cond plus a few domain operations should be enough for everything.
>>Note that the point of >>algebras, including the relational algebra, is usually not their >>expressive power, we have programming languages for that.
I suspect that's because the abstraction level is higher and it is more declarative. But you could have that also if you used a functional programming language. I would claim that whether or not it is an algebra is not really that important. But perhaps your definition of algebra includes such programming languages.
> I guess I'm just nervous that I'm missing some clever
> formalism which will change my outlook on lists,
> which I'm beginning to get clear that I'm not.
Query optimization in a list-based setting is much much harder than in a set-based setting. If you were wondering about whether there is a list-algebra that makes optimization for lists as easy as for sets then I would say (with some authority, I've done research on both) that the answer is currently no. Could that change? Very good question. :-)
![]() |
![]() |