This is a followup to my previous post about Virtual Columns. In this post I will do a more in-depth test on using virtual columns in a use case where MariaDB is used as a document store.
Document oriented DB basics
Relational databases store data in 2-dimensional tables, rows and
columns. Document oriented databases do not store Word documents
or novels, rather the "documents" are essentially serialized PHP
arrays, Java-objects, etc. The most popular document format today
is JSON. JSON "documents" have exactly the same
syntax as a JavaScript array, originally JavaScript programmers
would just eval("data = " + jsondocument);
to get
the data into a variable (unserialize). For more …