![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Informally these FDs correspond to the length(), instr(), and substr() functions. So instead of talking about the class String with the length(), instr(), and substr() member functions, we can focus on a relation and functional dependencies.... |
#3
| |||
| |||
|
|
Tegiri Nenashi wrote: [...] Informally these FDs correspond to the length(), instr(), and substr() functions. So instead of talking about the class String with the length(), instr(), and substr() member functions, we can focus on a relation and functional dependencies.... Certainly. But we can't describe the full semantics of strings in that way. How do you represent concatenation? |
|
Another difference is that database tables are finite and variable, |
#4
| |||
| |||
|
|
On Dec 6, 9:40 am, rp... (AT) pcwin518 (DOT) campus.tue.nl (rpost) wrote: Another difference is that database tables are finite and variable, Oh, relations in database world are certainly not restricted by finite cardinality. |
#5
| |||
| |||
|
|
Tegiri Nenashi wrote: On Dec 6, 9:40 am, rp... (AT) pcwin518 (DOT) campus.tue.nl (rpost) wrote: Another difference is that database tables are finite and variable, Oh, relations in database world are certainly not restricted by finite cardinality. I thought that computers are finite, so the relations containable in them are too - even if damn large. There's a big difference between very large and infinite. |
|
One ultimate limitation is the uniqueness requirement. Suppose you have a table with two integer columns. Since the range of the integer types are finite (even if your DBMS handles multi-precision integers), then the maximum number of distinct rows in the relation is also finite. |
#6
| |||
| |||
|
|
On Dec 6, 9:40 am, rp... (AT) pcwin518 (DOT) campus.tue.nl (rpost) wrote: Another difference is that database tables are finite and variable, Oh, relations in database world are certainly not restricted by finite cardinality. |
#7
| |||
| |||
|
|
On Dec 6, 2:38 pm, Jonathan Leffler <jleff... (AT) earthlink (DOT) net> wrote: Tegiri Nenashi wrote: On Dec 6, 9:40 am, rp... (AT) pcwin518 (DOT) campus.tue.nl (rpost) wrote: Another difference is that database tables are finite and variable, Oh, relations in database world are certainly not restricted by finite cardinality. I thought that computers are finite, so the relations containable in them are too - even if damn large. There's a big difference between very large and infinite. This doesn't really matter. You can still reason about infinite relations with finite resources available on you computer platform. One ultimate limitation is the uniqueness requirement. Suppose you have a table with two integer columns. Since the range of the integer types are finite (even if your DBMS handles multi-precision integers), then the maximum number of distinct rows in the relation is also finite. All computer algebra systems work with numbers which are not restricted by a whim of hardware architects. 16/32/64 bit integer numbers (let alone floats)? give me a break! |
#8
| |||
| |||
|
|
Marshall wrote: On Dec 6, 10:15 am, Tegiri Nenashi <TegiriNena... (AT) gmail (DOT) com> wrote: On Dec 6, 9:40 am, rp... (AT) pcwin518 (DOT) campus.tue.nl (rpost) wrote: Another difference is that database tables are finite and variable, Oh, relations in database world are certainly not restricted by finite cardinality. Neither is it restricted to variables--not only in papers and in theory but in practical terms. Marshall, why do I get the feeling you are drifting the theme? (which coming from you would be absolutely okay by me, but this seems a bit cryptic to me and I wonder if you care to expand?) |
#9
| |||
| |||
|
|
On Dec 6, 2:38 pm, Jonathan Leffler <jleff... (AT) earthlink (DOT) net> wrote: Tegiri Nenashi wrote: On Dec 6, 9:40 am, rp... (AT) pcwin518 (DOT) campus.tue.nl (rpost) wrote: Another difference is that database tables are finite and variable, Oh, relations in database world are certainly not restricted by finite cardinality. I thought that computers are finite, so the relations containable in them are too - even if damn large. There's a big difference between very large and infinite. This doesn't really matter. You can still reason about infinite relations |
|
One ultimate limitation is the uniqueness requirement. Suppose you have a table with two integer columns. Since the range of the integer types are finite (even if your DBMS handles multi-precision integers), then the maximum number of distinct rows in the relation is also finite. All computer algebra systems work with numbers which are not restricted by a whim of hardware architects. 16/32/64 bit integer numbers (let alone floats)? give me a break! |
#10
| |||
| |||
|
|
Tegiri Nenashi <TegiriNena... (AT) gmail (DOT) com> wrote innews:cd2ad8bd-78ca-433d-bc0f-3e7ef0c0fe2a (AT) e6g2000prf (DOT) googlegroups.com: On Dec 6, 2:38 pm, Jonathan Leffler <jleff... (AT) earthlink (DOT) net> wrote: Tegiri Nenashi wrote: On Dec 6, 9:40 am, rp... (AT) pcwin518 (DOT) campus.tue.nl (rpost) wrote: Another difference is that database tables are finite and variable, Oh, relations in database world are certainly not restricted by finite cardinality. I thought that computers are finite, so the relations containable in them are too - even if damn large. There's a big difference between very large and infinite. This doesn't really matter. You can still reason about infinite relations You can do that with your brain... with finite resources available on you computer platform. but not with that. The computer is an intrinsically finite gadget. Therefore, you'd better use the finite model apparatus to reason about things like the impossibility of expessing transitive closure in the relational algebra. A lot of stuff like the compactness theorem does not work with finite models which makes infinite model proofs inapplicable in the finite case. One ultimate limitation is the uniqueness requirement. Suppose you have a table with two integer columns. Since the range of the integer types are finite (even if your DBMS handles multi-precision integers), then the maximum number of distinct rows in the relation is also finite. All computer algebra systems work with numbers which are not restricted by a whim of hardware architects. 16/32/64 bit integer numbers (let alone floats)? give me a break! Jonathan is of course right, the set of 'floats' is clearly finite that somewhat clumsily approximates real numbers ! |
![]() |
| Thread Tools | |
| Display Modes | |
| |