dbTalk Databases Forums  

Towards a definition of atomic

comp.databases.theory comp.databases.theory


Discuss Towards a definition of atomic in the comp.databases.theory forum.



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

Default Re: Towards a definition of atomic - 02-01-2008 , 11:57 AM






On Feb 1, 7:36 am, "David Cressey" <cresse... (AT) verizon (DOT) net> wrote:
Quote:
"Roy Hann" <specia... (AT) processed (DOT) almost.meat> wrote in message

news:rf6dneUOQ-Rltz7anZ2dnUVZ8sylnZ2d (AT) pipex (DOT) net...



"David Cressey" <cresse... (AT) verizon (DOT) net> wrote in message
news:wOFoj.5441$4f.724 (AT) trndny06 (DOT) ..

I think we could make the meaning of "atomic" more tangible if we can
define what decompositions of an attribute are valid.

Perhaps the place to start is to define what kinds of compositions a
relational system is capable of. Once you have that in place, it
should
be
straightforward to define relational decompositions as the inverse of
relational compositions.

Why not just understand that relational systems don't care about about
composition/decomposition and want nothing to do with the idea? It is no
more relevant than is the concept of colour to Euclidean geometry.

I disagree. A relation is composed of attributes. (If you prefer, a table
is composed of columns). Relational systems are clearly concerned with
composition in some contexts.
One of the relational operators discussed is the "compose" operator, by
which a result relation can be composed from given relations. (If you
prefer, a result table can be composed from given tables (or views)).
It looks to me as if you are talking past each other, with Roy
speaking
of decomposition of individual values within a relation and David
speaking
of decomposing relations via projection, etc.


Marshall


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

Default Re: Towards a definition of atomic - 02-01-2008 , 12:02 PM






On Feb 1, 8:15 am, Bob Badour <bbad... (AT) pei (DOT) sympatico.ca> wrote:
Quote:
The important thing in this discussion is: The relational model treats
domain values as neither composable nor decomposable. They are
simply values upon which one may evaluate defined operations.
If one goes just a bit further, one might say the only such operator
is equality, which is clearly necessary for natural join, etc. A theta
join, for example, is a join of two operand relations and a further
join with the < relation.


Marshall


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

Default Re: Towards a definition of atomic - 02-01-2008 , 12:02 PM



On Feb 1, 8:15 am, Bob Badour <bbad... (AT) pei (DOT) sympatico.ca> wrote:
Quote:
The important thing in this discussion is: The relational model treats
domain values as neither composable nor decomposable. They are
simply values upon which one may evaluate defined operations.
If one goes just a bit further, one might say the only such operator
is equality, which is clearly necessary for natural join, etc. A theta
join, for example, is a join of two operand relations and a further
join with the < relation.


Marshall


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

Default Re: Towards a definition of atomic - 02-01-2008 , 12:02 PM



On Feb 1, 8:15 am, Bob Badour <bbad... (AT) pei (DOT) sympatico.ca> wrote:
Quote:
The important thing in this discussion is: The relational model treats
domain values as neither composable nor decomposable. They are
simply values upon which one may evaluate defined operations.
If one goes just a bit further, one might say the only such operator
is equality, which is clearly necessary for natural join, etc. A theta
join, for example, is a join of two operand relations and a further
join with the < relation.


Marshall


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

Default Re: Towards a definition of atomic - 02-01-2008 , 12:02 PM



On Feb 1, 8:15 am, Bob Badour <bbad... (AT) pei (DOT) sympatico.ca> wrote:
Quote:
The important thing in this discussion is: The relational model treats
domain values as neither composable nor decomposable. They are
simply values upon which one may evaluate defined operations.
If one goes just a bit further, one might say the only such operator
is equality, which is clearly necessary for natural join, etc. A theta
join, for example, is a join of two operand relations and a further
join with the < relation.


Marshall


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

Default Re: Towards a definition of atomic - 02-01-2008 , 12:02 PM



On Feb 1, 8:15 am, Bob Badour <bbad... (AT) pei (DOT) sympatico.ca> wrote:
Quote:
The important thing in this discussion is: The relational model treats
domain values as neither composable nor decomposable. They are
simply values upon which one may evaluate defined operations.
If one goes just a bit further, one might say the only such operator
is equality, which is clearly necessary for natural join, etc. A theta
join, for example, is a join of two operand relations and a further
join with the < relation.


Marshall


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

Default Re: Towards a definition of atomic - 02-01-2008 , 12:02 PM



On Feb 1, 8:15 am, Bob Badour <bbad... (AT) pei (DOT) sympatico.ca> wrote:
Quote:
The important thing in this discussion is: The relational model treats
domain values as neither composable nor decomposable. They are
simply values upon which one may evaluate defined operations.
If one goes just a bit further, one might say the only such operator
is equality, which is clearly necessary for natural join, etc. A theta
join, for example, is a join of two operand relations and a further
join with the < relation.


Marshall


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

Default Re: Towards a definition of atomic - 02-01-2008 , 12:02 PM



On Feb 1, 8:15 am, Bob Badour <bbad... (AT) pei (DOT) sympatico.ca> wrote:
Quote:
The important thing in this discussion is: The relational model treats
domain values as neither composable nor decomposable. They are
simply values upon which one may evaluate defined operations.
If one goes just a bit further, one might say the only such operator
is equality, which is clearly necessary for natural join, etc. A theta
join, for example, is a join of two operand relations and a further
join with the < relation.


Marshall


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

Default Re: Towards a definition of atomic - 02-01-2008 , 12:02 PM



On Feb 1, 8:15 am, Bob Badour <bbad... (AT) pei (DOT) sympatico.ca> wrote:
Quote:
The important thing in this discussion is: The relational model treats
domain values as neither composable nor decomposable. They are
simply values upon which one may evaluate defined operations.
If one goes just a bit further, one might say the only such operator
is equality, which is clearly necessary for natural join, etc. A theta
join, for example, is a join of two operand relations and a further
join with the < relation.


Marshall


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

Default Re: Towards a definition of atomic - 02-01-2008 , 12:42 PM



On 1 feb, 14:30, David BL <davi... (AT) iinet (DOT) net.au> wrote:
Quote:
AFAIK the conventional wisdom is that no absolute definition of atomic
exists for domain types.
On the contrary, we have too many of them. :-) But I don't think it is
wise to go looking for a definition if it is not clear to you want you
want to do with that definition. If you don't know where you are
going, any road will take you there.

Quote:
*Throwing caution to the wind, in this post I
wish to conjecture a definition of atomic that, perhaps with some more
effort at its formalisation, can provide some absolute meaning for a
given attribute within a given RDB schema.
In view of such blatant carelessness I can only respond by not heeding
my own warning. :-)

The usual intuition is that something is not atomic if it is
decomposable into smaller parts. In this case that would mean parts
with less information. For the case of decomposition into two
components this leads to something like:

DEFINITION: A domain D is said to be decomposable if there are domains
D1 and D2 and functions f1 : D -> D1 and f2 : D -> D2 such that (1) f1
and f2 are not injective and (2) <f1,f2> is injective where <f1,f2> :
D -> (D1 x D2) is defined such that <f1,f2>(x) = (f1(x), f2(x)).

Note that (1) says that each individual decomposition function loses
information and (2) says that together they don't. However, we can
then make the following observation:

THEOREM: A domain is decomposable iff it contains more than 2 values.

As you more or less already observed, if you have a relational schema
that uses an infinite domain (i.e. with infinitely many values) then
you cannot map it losslessly it to a relational schema that uses only
non-decomposable domains. But, if you allow the exception of abstract
identifiers, then you can.

Quote:
Continuing with example 2, note that no further decomposition allowing
information equivalence is possible. *For example, a person's name is
represented as a string domain type, and this is atomic because any
attempt at decomposing the string into its individual characters
forces the introduction of additional identifiers.
That's not completely correct. You can decompose it, but at least one
of the components will always be an infinite domain again. You could
for example split it into the first character and the rest.

-- Jan Hidders


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.