dbTalk Databases Forums  

Character string relation and functional dependencies

comp.databases.theory comp.databases.theory


Discuss Character string relation and functional dependencies in the comp.databases.theory forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Marshall
 
Posts: n/a

Default Re: Character string relation and functional dependencies - 12-09-2007 , 03:38 AM






On Dec 6, 2:38 pm, Jonathan Leffler <jleff... (AT) earthlink (DOT) net> wrote:
Quote:
There's a big difference between
very large and infinite.
This gets said a lot, and it's true, but it's not very important.

In practical terms, there is nearly no difference
between a few hundred bits of precision and an infinite
number of bits of precision. Twenty three digits of pi
is sufficient to calculate the circumference of the Milky
Way from the diameter to within a centimeter.


Marshall


Reply With Quote
  #12  
Old   
Jan Hidders
 
Posts: n/a

Default Re: Character string relation and functional dependencies - 12-09-2007 , 07:47 AM






On 7 dec, 01:24, Tegiri Nenashi <TegiriNena... (AT) gmail (DOT) com> wrote:
Quote:
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.
Indeed you can. In case anyone is interested in a concrete example:

http://cse.unl.edu/~revesz/cdb/index.htm

-- Jan Hidders


Reply With Quote
  #13  
Old   
Marshall
 
Posts: n/a

Default Re: Character string relation and functional dependencies - 12-09-2007 , 11:15 AM



On Dec 9, 4:47 am, Jan Hidders <hidd... (AT) gmail (DOT) com> wrote:
Quote:
On 7 dec, 01:24, Tegiri Nenashi <TegiriNena... (AT) gmail (DOT) com> wrote:

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.

Indeed you can. In case anyone is interested in a concrete example:

http://cse.unl.edu/~revesz/cdb/index.htm
Looks very interesting. I bought the intro book.


Marshall


Reply With Quote
  #14  
Old   
V.J. Kumar
 
Posts: n/a

Default Re: Character string relation and functional dependencies - 12-09-2007 , 08:09 PM



Jan Hidders <hidders (AT) gmail (DOT) com> wrote in
news:dd39930a-d971-43a1-8d13-779cd635f632 (AT) s8g2000prg (DOT) googlegroups.com:

Quote:
On 7 dec, 01:24, Tegiri Nenashi <TegiriNena... (AT) gmail (DOT) com> wrote:
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.

Indeed you can. In case anyone is interested in a concrete example:
This kind of "reasoning" is an illusion. The constraint database the
link refers to works with a finite set of first-order formulas ("extended
tuples") that permit quantifier elimination rather than with a finite set
of actual tuples as the relational model would. It is a simple
observation that a first-order formula under certain conditions can
"represent" a possibly infinite set. However, formula-set
interpretation happens in the user brain only, not in the database
itself as would be the case with the traditional relational model which
probably explains along with other problems why constraint databases do
not enjoy much success.

Quote:
http://cse.unl.edu/~revesz/cdb/index.htm

-- Jan Hidders


Reply With Quote
  #15  
Old   
Jan Hidders
 
Posts: n/a

Default Re: Character string relation and functional dependencies - 12-10-2007 , 11:19 AM



On 9 dec, 17:15, Marshall <marshall.spi... (AT) gmail (DOT) com> wrote:
Quote:
On Dec 9, 4:47 am, Jan Hidders <hidd... (AT) gmail (DOT) com> wrote:



On 7 dec, 01:24, Tegiri Nenashi <TegiriNena... (AT) gmail (DOT) com> wrote:

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.

Indeed you can. In case anyone is interested in a concrete example:

http://cse.unl.edu/~revesz/cdb/index.htm

Looks very interesting. I bought the intro book.
Nice! I only read the other book myself, but I've met Peter and he
writes very nice papers and gives good talks, so I suspect he writes
well.

-- Jan Hidders


Reply With Quote
  #16  
Old   
Jan Hidders
 
Posts: n/a

Default Re: Character string relation and functional dependencies - 12-10-2007 , 12:49 PM



On 10 dec, 02:09, "V.J. Kumar" <vjkm... (AT) gmail (DOT) com> wrote:
Quote:
Jan Hidders <hidd... (AT) gmail (DOT) com> wrote innews:dd39930a-d971-43a1-8d13-779cd635f632 (AT) s8g2000prg (DOT) googlegroups.com:



On 7 dec, 01:24, Tegiri Nenashi <TegiriNena... (AT) gmail (DOT) com> wrote:
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.

Indeed you can. In case anyone is interested in a concrete example:

This kind of "reasoning" is an illusion. The constraint database the
link refers to works with a finite set of first-order formulas ("extended
tuples") that permit quantifier elimination rather than with a finite set
of actual tuples as the relational model would. It is a simple
observation that a first-order formula under certain conditions can
"represent" a possibly infinite set. However, formula-set
interpretation happens in the user brain only, not in the database
itself as would be the case with the traditional relational model [...]
Come on, V.J., I'm quite sure that you can make much more interesting
contributions to this newsgroup than this kind of quibbling. Please
don't let your ego cloud the brightness of your mind.

-- Jan Hidders


Reply With Quote
  #17  
Old   
Tegiri Nenashi
 
Posts: n/a

Default Re: Character string relation and functional dependencies - 12-10-2007 , 01:59 PM



On Dec 8, 8:05 pm, "V.J. Kumar" <vjkm... (AT) gmail (DOT) com> wrote:
Quote:
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.
Let's make a discussion al little bit more specific. Consider language
recognition problem: given a word (that is a string of symbols) and a
grammar, check if the word generated by the grammar. A naive
evaluation would simply start by generating all the words of a
(potentially infinite) langauge generated by the grammar, and stops as
soon the given word is derived.

Likewise, given a query which involves infinite relations we can have
multiple execution strategies, some of them are not terminating. For
example, a join of the finite relation

x=1

with infinite relation

x=y

has two alternative executions. We can start enumerating all the
tuples in the infinite relation x=y (assuming a countable domain)....

.... and will never finish.

However, if we start with the finite relation x=1, the we can fetch
all the matching tuples from x=y by "the index lookup".


Reply With Quote
  #18  
Old   
V.J. Kumar
 
Posts: n/a

Default Re: Character string relation and functional dependencies - 12-11-2007 , 09:08 AM



Tegiri Nenashi <TegiriNenashi (AT) gmail (DOT) com> wrote in
news:e0e52d62-c37f-4061-ab9d-3983a5ed31ca (AT) s12g2000prg (DOT) googlegroups.com:

Quote:
On Dec 8, 8:05 pm, "V.J. Kumar" <vjkm... (AT) gmail (DOT) com> wrote:
Tegiri Nenashi <TegiriNena... (AT) gmail (DOT) com> wrote
innews:cd2ad8bd-78ca-433d-bc0f-3e7ef0c0fe2a (AT) e6g2000prf (DOT) googlegroups.co
m:

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.

Let's make a discussion al little bit more specific. Consider language
recognition problem: given a word (that is a string of symbols) and a
grammar, check if the word generated by the grammar. A naive
evaluation would simply start by generating all the words of a
(potentially infinite) langauge generated by the grammar, and stops as
soon the given word is derived.

Likewise, given a query which involves infinite relations we can have
multiple execution strategies, some of them are not terminating. For
example, a join of the finite relation

x=1

with infinite relation

x=y

has two alternative executions. We can start enumerating all the
tuples in the infinite relation x=y (assuming a countable domain)....

... and will never finish.

However, if we start with the finite relation x=1, the we can fetch
all the matching tuples from x=y by "the index lookup".
The formulas look very cute, no doubt about that, but immediate questions
are:

how do you propose to index infinite relations ?
what do you do when you join two infinite relations and the result is also
an infinite relation: x < 5 join x > 1 where x ranges over reals ?



Reply With Quote
  #19  
Old   
Marshall
 
Posts: n/a

Default Re: Character string relation and functional dependencies - 12-11-2007 , 09:57 AM



On Dec 11, 6:08 am, "V.J. Kumar" <vjkm... (AT) gmail (DOT) com> wrote:
Quote:
Tegiri Nenashi <TegiriNena... (AT) gmail (DOT) com> wrote innews:e0e52d62-c37f-4061-ab9d-3983a5ed31ca (AT) s12g2000prg (DOT) googlegroups.com:



On Dec 8, 8:05 pm, "V.J. Kumar" <vjkm... (AT) gmail (DOT) com> wrote:
Tegiri Nenashi <TegiriNena... (AT) gmail (DOT) com> wrote
innews:cd2ad8bd-78ca-433d-bc0f-3e7ef0c0fe2a (AT) e6g2000prf (DOT) googlegroups.co
m:

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.

Let's make a discussion al little bit more specific. Consider language
recognition problem: given a word (that is a string of symbols) and a
grammar, check if the word generated by the grammar. A naive
evaluation would simply start by generating all the words of a
(potentially infinite) langauge generated by the grammar, and stops as
soon the given word is derived.

Likewise, given a query which involves infinite relations we can have
multiple execution strategies, some of them are not terminating. For
example, a join of the finite relation

x=1

with infinite relation

x=y

has two alternative executions. We can start enumerating all the
tuples in the infinite relation x=y (assuming a countable domain)....

... and will never finish.

However, if we start with the finite relation x=1, the we can fetch
all the matching tuples from x=y by "the index lookup".

The formulas look very cute, no doubt about that, but immediate questions
are:

how do you propose to index infinite relations ?
By formula. For the infinite relation x=y, given x, the formula
for y is straightforward. :-)


Quote:
what do you do when you join two infinite relations and the result is also
an infinite relation: x < 5 join x > 1 where x ranges over reals ?
You leave it unevaluated until something extensional comes along.


Marshall


Reply With Quote
  #20  
Old   
David Cressey
 
Posts: n/a

Default Re: Character string relation and functional dependencies - 12-11-2007 , 11:50 AM




"V.J. Kumar" <vjkmail (AT) gmail (DOT) com> wrote

Quote:
Tegiri Nenashi <TegiriNenashi (AT) gmail (DOT) com> wrote in
news:e0e52d62-c37f-4061-ab9d-3983a5ed31ca (AT) s12g2000prg (DOT) googlegroups.com:

On Dec 8, 8:05 pm, "V.J. Kumar" <vjkm... (AT) gmail (DOT) com> wrote:
Tegiri Nenashi <TegiriNena... (AT) gmail (DOT) com> wrote
innews:cd2ad8bd-78ca-433d-bc0f-3e7ef0c0fe2a (AT) e6g2000prf (DOT) googlegroups.co
m:

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.

Let's make a discussion al little bit more specific. Consider language
recognition problem: given a word (that is a string of symbols) and a
grammar, check if the word generated by the grammar. A naive
evaluation would simply start by generating all the words of a
(potentially infinite) langauge generated by the grammar, and stops as
soon the given word is derived.

Likewise, given a query which involves infinite relations we can have
multiple execution strategies, some of them are not terminating. For
example, a join of the finite relation

x=1

with infinite relation

x=y

has two alternative executions. We can start enumerating all the
tuples in the infinite relation x=y (assuming a countable domain)....

... and will never finish.

However, if we start with the finite relation x=1, the we can fetch
all the matching tuples from x=y by "the index lookup".

The formulas look very cute, no doubt about that, but immediate
questions
are:

how do you propose to index infinite relations ?
With an infinite index, of course.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.