This guide provides instructions for installing the OQGRAPH storage engine from package repositories or enabling the plugin.
The Open Query GRAPH computation engine, or OQGRAPH as the engine itself is called, allows you to handle hierarchies (tree structures) and complex graphs (nodes having many connections in several directions).
The OQGRAPH storage engine exists as a separate package in the repositories. On Ubuntu and Debian the package is called mariadb-oqgraph-engine-10.0 or mariadb-plugin-oqgraph. On Red Hat, CentOS, and Fedora the package is called MariaDB-oqgraph-engine. To install the plugin, first install the appropriate package and then install the plugin using the or commands.
On Debian and Ubuntu, install the package as follows:
Note that OQGRAPH v3 requires libjudy, which is not in the official Red Hat/Fedora repositories. This needs to be installed first, for example:
Then install the package, as follows:
On either system you can then launch the mysql command-line client and install the plugin in MariaDB as follows:
More information on this engine is found on the OpenQuery website:
This page is licensed: CC BY-SA / Gnu FDL
sudo apt-get install mariadb-oqgraph-engine-10.0wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh epel-release-6-8.noarch.rpmsudo yum install MariaDB-oqgraph-engineINSTALL SONAME 'ha_oqgraph';