Two recent trends—the plummeting cost of storage and the widespread adoption of data warehouse technology—have led to an increasing interest in temporal databases. Indeed, the idea of maintaining and processing historical data has become not just a goal but a reality for many organizations. As a consequence, the ability to deal properly with the time dimension in databases has become an increasingly important practical problem. And today’s mainstream DBMS products are (at last, some might say) beginning to include features that are specifically designed to help with this important requirement—though it has to be said too that the support currently found in those products falls a long way short of the theoretical ideal.
This video seminar describes and explains that theoretical ideal—which, interestingly, is 100% consistent with the classical relational model—in depth. It also describes the new temporal support to be found in the SQL standard (“SQL:2011”), as well as in certain of today’s major SQL products.
The seminar overall falls into four major parts:
- Part I consists of a quick review of relevant aspects of the relational model.
- Part II, “Laying the Foundations,” explains some of the basic problems of temporal databases (some of which are far from obvious, incidentally) and lays the groundwork for solving those problems.
- Part III, “Building on the Foundations,” uses the material from Part II as a basis for addressing a variety of practical issues, including temporal database design, temporal integrity constraints, and temporal querying and updating.
- Part IV examines the pertinent features of SQL:2011 and today’s SQL products.
The seminar is aimed primarily at technical specialists, though managers should benefit from it too (most of the technical material needed to understand the overall message is included in the seminar itself).
Table of Contents
- Preamble 00:10:13
- Relational Model Part 1 00:26:45
- Relational Model Part 2 00:42:52
- Relational Model Part 3 00:25:37
- Time and the Database 00:28:14
- What's the Problem 00:20:50
- Intervals 00:19:01
- Interval Operators 00:12:13
- Set Operators 00:18:41
- Pack and Unpack Part 1 00:09:39
- Pack and Unpack Part 2 00:16:11
- Pack and Unpack Part 3 00:15:00
- Relational Operators 00:22:28
- Database Design Part 1 00:18:10
- Database Design Part 2 00:25:40
- Integrity Constraints Part 1 00:31:15
- Integrity Constraints Part 2 00:21:10
- Queries 00:13:49
- Updates Part 1 00:17:14
- Updates Part 2 00:16:56
- Stated Times and Logged Times 00:26:05
- Point and Interval Types Revisited 00:27:25
- Cyclic Point Types 00:10:33
- SQL Features Part 1 00:28:14
- SQL Features Part 2 00:25:57
- Title: Temporal Data and Relational Theory
- Release date: October 2013
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449365448