18

I am interested to know what other databases have features similar to Oracle's Flashback Query. It would seem that any database that supports MVCC could have the feature, but which do? SO has this question for SQL Server, but it seems more appropriate here.

Leigh Riffel
  • 23,884
  • 17
  • 80
  • 155

3 Answers3

18

PostgreSQL does not currently have it. But you are right, with MVCC it should theoretically be possible. In fact, the old university Postgres had an equivalent feature called time travel, but it was later removed because it caused too much overhead and the practical use was limited. While it would probably be possible to resurrect it, since then there have been many optimizations to the MVCC setup that would make it much harder.

Peter Eisentraut
  • 10,723
  • 1
  • 35
  • 35
3

The same functionality of Flashback Query can be achieved in SQL server by using database snapshots. The catch? This feature is only available in the Enterprise edition. You can read more about it here.

StanleyJohns
  • 5,982
  • 2
  • 25
  • 44
-3

It's a pity that flashback feature is an addon in Oracle and only available in Enterprise Edition. DB2 10.1 has time travel query which is integrated into its database engine and available in all editions. You can download its free version from IBM and start using it right away!

András Váczi
  • 31,778
  • 13
  • 102
  • 151
guest
  • 1