Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Managing Time in Relational DatabasesTom Johnston

    Managing Time in Relational Databases

    Tom Johnston, Randall Weis · 2010

    Systems & OS
    Open LibraryAmazon
    Stats for nerds
    2recommend
    4mentions
    4people
    2017–2021years
    50% recommend50% neutral

    Mentions per year

    20172018201920202021

    What Hacker News says

    1. sa46Oct 2021
      Good recommendation; I also got a lot of mileage out of:

      Managing Time in Relational Databases: How to Design, Update and Query Temporal Data How to Design, Update and Query Temporal Data

      > be careful if you tend to over-engineer or are perfectionist

      One of the downsides of these books is that I see bitemporal data everywhere now but its quite difficult to write bitemporal queries in Postgres.

      thread
    2. michelppApr 2019
      There are a couple of good books on bitemporality, Richard Snodgrass' "Developing time-oriented database applications in SQL" is pretty much the bible on the subject and goes into great detail. "Managing Time in Relational Databases" by Tom Johnston and Randall Weis is another great book, a little more hands on with the code.

      I'd love to see someone translate the concepts in both books to a useful postgres package. As Snodgrass points out, "Unfortunately, due to the noncompliance of all existing DBMSs, a few of these fragments run on no existing platform" and thus only discusses how they can be applied to DB2, MSSQL, Sybase, Oracle8 and UniSQL.

      thread
    3. pjungwirJul 2017
      Temporal tables are a pet interest of mine, so here are some links that people might find useful:

      Richard Snodgrass, Developing Time-Oriented Database Applications in SQL.

      Hugh Darwen & C.J. Date, "An Overview and Analysis of Proposals Based on the TSQL2 Approach".

      Krishna Kulkarni & Jan-Eike Michels, "Temporal features in SQL:2011".

      Tom Johnston, Managing Time in Relational Databases. (I haven't read this one yet.)

      Tom Johnston, Bitemporal Data.

      Magnus Hagander, "A TARDIS for Your ORM": https://www.youtube.com/watch?v=TRgni5q0YM8

      Also I've yet to see anyone even talk about managing DDL changes in temporal databases (well Magnus mentions that he won't cover it), but it's the same problem as discussed here. It's very practical, but you could write a dissertation or a book about it.

      thread
    4. nickpetersonApr 2017
      I reread 'managing time in relational databases' like 3 times one summer and now every time I mess with time in databases I have a heart attack.

      That makes sense, thanks for answering ;)

      thread

    Related

    Cover of Developing time-oriented database applications in SQL
    2013–2025

    Developing time-oriented database applications in SQL

    Richard T. Snodgrass
    6 recommend · 14
    Cover of Managing gigabytes
    2008–2026

    Managing gigabytes

    Ian H. Witten
    26 recommend · 40
    Cover of Database systems
    2010–2026

    Database systems

    Hector Garcia-Molina
    11 recommend · 19
    Cover of An introduction to database systems
    2009–2024

    An introduction to database systems

    C. J. Date
    14 recommend · 35
    Cover of SQL and relational theory
    2010–2020

    SQL and relational theory

    C. J. Date
    9 recommend · 17
    Cover of UNIX relational database management
    2013–2023

    UNIX relational database management

    Rod Manis
    2 recommend · 4
    Cover of Database Design and Relational Theory
    2012–2021

    Database Design and Relational Theory

    C. J. Date
    1 recommend · 3
    Cover of Time Management for System Administrators
    2008–2025

    Time Management for System Administrators

    Thomas Limoncelli
    19 recommend · 39