MariaDB System-Versioned Tables for historical data

Certified Lead Developer

Appian recommends using history tables + triggers for storing historical data. Why not use MariaDB's OOTB feature? https://mariadb.com/kb/en/system-versioned-tables/ 

This approach requires very little configuration for each table.

ALTER TABLE t ADD SYSTEM VERSIONING;

I tested this out in our Appian Cloud instance and the only downside I've found so far is that ALTER operations on versioned tables may need to be run manually in combination with 

SET @@system_versioning_alter_history = 1;

The solution may be to change the global config (set global system_versioning_alter_history = 1), but it requires SUPER privileges. 

So, what's the catch? This approach seems to be the simplest solution for storing historical data. 

  Discussion posts and replies are publicly visible