dbTalk Databases Forums  

Functions in the relational context

comp.databases.theory comp.databases.theory


Discuss Functions in the relational context in the comp.databases.theory forum.



Reply
 
Thread Tools Display Modes
  #131  
Old   
-CELKO-
 
Posts: n/a

Default Re: Functions in the relational context - 03-08-2008 , 01:08 PM






This is funny to me. I just wrote a book entitled "Joe Celko's
Thinking in Sets: Auxiliary, Temporal, and Virtual Tables in SQL"
which is about using tables in place of computational code for the
working programmer.

My premise is that parallelism and fast, cheap storage (sold state
devices replacing moving disk) make this approach faster and more
portable than re-computing values over and over.

In real applications, the number of function values needed is
(whatever "small" is this week). My favorite personal example is
written up in "Data Mining on a Budget" (http://www.tdan.com/view-
perspectives/5343). I like it because
1) Computational approaches were too complex to work
2) I got paid in BBQ

When the auxiliary table does not have the value we want, then we can:
1) Throw an exception and let the application handle it.
2) Take time to compute it and insert the answer back into the
table.
3) Interpolate the answer, knowing that we are trading accuracy for
speed. This is often fine in statistical application.

I think it is a valid approach to keep SQL programming as declarative
as possible.

Reply With Quote
  #132  
Old   
-CELKO-
 
Posts: n/a

Default Re: Functions in the relational context - 03-08-2008 , 01:08 PM






This is funny to me. I just wrote a book entitled "Joe Celko's
Thinking in Sets: Auxiliary, Temporal, and Virtual Tables in SQL"
which is about using tables in place of computational code for the
working programmer.

My premise is that parallelism and fast, cheap storage (sold state
devices replacing moving disk) make this approach faster and more
portable than re-computing values over and over.

In real applications, the number of function values needed is
(whatever "small" is this week). My favorite personal example is
written up in "Data Mining on a Budget" (http://www.tdan.com/view-
perspectives/5343). I like it because
1) Computational approaches were too complex to work
2) I got paid in BBQ

When the auxiliary table does not have the value we want, then we can:
1) Throw an exception and let the application handle it.
2) Take time to compute it and insert the answer back into the
table.
3) Interpolate the answer, knowing that we are trading accuracy for
speed. This is often fine in statistical application.

I think it is a valid approach to keep SQL programming as declarative
as possible.

Reply With Quote
  #133  
Old   
-CELKO-
 
Posts: n/a

Default Re: Functions in the relational context - 03-08-2008 , 01:08 PM



This is funny to me. I just wrote a book entitled "Joe Celko's
Thinking in Sets: Auxiliary, Temporal, and Virtual Tables in SQL"
which is about using tables in place of computational code for the
working programmer.

My premise is that parallelism and fast, cheap storage (sold state
devices replacing moving disk) make this approach faster and more
portable than re-computing values over and over.

In real applications, the number of function values needed is
(whatever "small" is this week). My favorite personal example is
written up in "Data Mining on a Budget" (http://www.tdan.com/view-
perspectives/5343). I like it because
1) Computational approaches were too complex to work
2) I got paid in BBQ

When the auxiliary table does not have the value we want, then we can:
1) Throw an exception and let the application handle it.
2) Take time to compute it and insert the answer back into the
table.
3) Interpolate the answer, knowing that we are trading accuracy for
speed. This is often fine in statistical application.

I think it is a valid approach to keep SQL programming as declarative
as possible.

Reply With Quote
  #134  
Old   
-CELKO-
 
Posts: n/a

Default Re: Functions in the relational context - 03-08-2008 , 01:08 PM



This is funny to me. I just wrote a book entitled "Joe Celko's
Thinking in Sets: Auxiliary, Temporal, and Virtual Tables in SQL"
which is about using tables in place of computational code for the
working programmer.

My premise is that parallelism and fast, cheap storage (sold state
devices replacing moving disk) make this approach faster and more
portable than re-computing values over and over.

In real applications, the number of function values needed is
(whatever "small" is this week). My favorite personal example is
written up in "Data Mining on a Budget" (http://www.tdan.com/view-
perspectives/5343). I like it because
1) Computational approaches were too complex to work
2) I got paid in BBQ

When the auxiliary table does not have the value we want, then we can:
1) Throw an exception and let the application handle it.
2) Take time to compute it and insert the answer back into the
table.
3) Interpolate the answer, knowing that we are trading accuracy for
speed. This is often fine in statistical application.

I think it is a valid approach to keep SQL programming as declarative
as possible.

Reply With Quote
  #135  
Old   
-CELKO-
 
Posts: n/a

Default Re: Functions in the relational context - 03-08-2008 , 01:08 PM



This is funny to me. I just wrote a book entitled "Joe Celko's
Thinking in Sets: Auxiliary, Temporal, and Virtual Tables in SQL"
which is about using tables in place of computational code for the
working programmer.

My premise is that parallelism and fast, cheap storage (sold state
devices replacing moving disk) make this approach faster and more
portable than re-computing values over and over.

In real applications, the number of function values needed is
(whatever "small" is this week). My favorite personal example is
written up in "Data Mining on a Budget" (http://www.tdan.com/view-
perspectives/5343). I like it because
1) Computational approaches were too complex to work
2) I got paid in BBQ

When the auxiliary table does not have the value we want, then we can:
1) Throw an exception and let the application handle it.
2) Take time to compute it and insert the answer back into the
table.
3) Interpolate the answer, knowing that we are trading accuracy for
speed. This is often fine in statistical application.

I think it is a valid approach to keep SQL programming as declarative
as possible.

Reply With Quote
  #136  
Old   
-CELKO-
 
Posts: n/a

Default Re: Functions in the relational context - 03-08-2008 , 01:08 PM



This is funny to me. I just wrote a book entitled "Joe Celko's
Thinking in Sets: Auxiliary, Temporal, and Virtual Tables in SQL"
which is about using tables in place of computational code for the
working programmer.

My premise is that parallelism and fast, cheap storage (sold state
devices replacing moving disk) make this approach faster and more
portable than re-computing values over and over.

In real applications, the number of function values needed is
(whatever "small" is this week). My favorite personal example is
written up in "Data Mining on a Budget" (http://www.tdan.com/view-
perspectives/5343). I like it because
1) Computational approaches were too complex to work
2) I got paid in BBQ

When the auxiliary table does not have the value we want, then we can:
1) Throw an exception and let the application handle it.
2) Take time to compute it and insert the answer back into the
table.
3) Interpolate the answer, knowing that we are trading accuracy for
speed. This is often fine in statistical application.

I think it is a valid approach to keep SQL programming as declarative
as possible.

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.