2

Context: Rackspace CloudServers.

The options I can find are rather slim. Amazon will encrypt the whole disk (meh), Gazzang could encrypt a virtual partition with just the DB files on it (if the company was still around), I could encrypt the data at the column level (no good, can't search)... or I could use MariaDB.

I desperately want MySQL 5.7.9's JSON column, but it seems like MariaDB is my only good encryption option.

Is there a good option other than MariaDB for table-level encryption? Is MariaDB's encryption a good solution? Is at-rest encryption in a cloud environment really worth it?

4

1 Answer 1

1

As hinted to in the comments to the question, MariaDB was planning to implement a JSON data type, and indeed they now have (sort of). As of MariaDB 10.2.7 there is now a JSON data type (which is an alias for LONGTEXT). See the MariaDB documentation for details.

As of MySQL 5.7.11 there is also a InnoDB tablespace encryption feature. MariaDB has supported at-rest encryption since version 10.1.3.

The Percona Blog did a comparison of MariaDB and MySQL at-rest encryption back in 2016. In my view MariaDB comes out favourably here as it can encrypt not only tables, but also redo/undo logs, binary/relay logs. Note that while Percona Xtrabackup doesn't support MariaDB's encryption, MariaDB Backup (a fork of Xtrabackup) does.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .