Relational Databases and Mathematics?

10,513

Solution 1

I would suggest starting from the Wikipedia page: http://en.wikipedia.org/wiki/Relational_algebra.

Let me dig my library to see if I can find the name of the books I used when learning it....

Solution 2

Applied Mathematics (mentioned on other responses) is very much worth the read, but it doesn't really go into the details of relational algebra. It does not explain all the nitty gritty details, or even provides any kind of formal definition, of the relational operators. In fact, Applied Mathematics sort of takes that knowledge as prerequisite.

Codd's papers are obviously relevant, but there's two caveats : (1) Codd was a "mathematician pur sang". His writings are therefore rather difficult to grasp for lots of people. (2) His papers date back a few decades, and it's not like the insights and knowledge about the relational model have not evolved during those decades.

The wikipedia article is fairly good, but is imo flawed in two respects : (1) it pretends that outer joins and nulls can be part of the relational model / relational algebra, and (2) it seems to pretend that "the" relational algebra cannot support transitive closure (the correct state of affairs is that both a simple and a generalized transitive closure operator have indeed been defined for relations.).

Judging by what little detail you provided in the question about "what it REALLY is that you're after", I'd say "Introduction to database systems" is a good proposition, as are probably most of Date's books. The problem with that book is that it's a 1000 pages that are intended to cover EVERY aspect of the relational model in an introductory way, which is both more and less than what you seem to be after.

There is a (very) small chapter entitled "introduction to the RA" on my own website http://shark.armchair.mb.ca/~erwin. I've written that chapter from the perspective of "how would I try to explain the RA to someone who doesn't want to go through those 1000 pages, but yet wants to be given accurate information.". The info there does not, I believe, deviate from what Date says. It might be worth a cursory inspection.

Solution 3

You'll want to read Ed Codd's papers.

Solution 4

"A link I just found to some short video lectures on database theory including one on relational algebra."

You gave the impression that you were interested in genuine mathematical foundations. If that is so, then don't trust anything that contains any of the words "ER", "mapping", ".NET", "microsoft", "SQL", "linq", "object". If that is not so, then please disregard my answer.

Solution 5

Chris Date's "An Introduction to Database Systems" is a classical book. There are also videos of lectures on databases on youtube.com/edu

Share:
10,513
Steve Homer
Author by

Steve Homer

Data & platform engineering Data Modelling Data management Azure Databricks ADF Python C# SQL Power BI SSRS SSIS SSAS

Updated on June 05, 2022

Comments

  • Steve Homer
    Steve Homer almost 2 years

    Can anyone suggest resources that take a mathematical approach to relational databases? Essentially relational algebra I'd guess.

    I have a mathematics background and now work a great deal with databases and would like to close the gap.