Setting up Licenses

GraphDB is available in three different editions: Free, Standard Edition (SE), and Enterprise Edition (EE).

The Free edition is free to use and does not require a license. This is the default mode in which GraphDB will start. However, it is not open-source.

SE and EE are RDBMS-like commercial licenses on a per-server-CPU basis. They are neither free nor open-source. To purchase a license or obtain a copy for evaluation, please contact graphdb-info@ontotext.com.

When installing GraphDB, the SE/EE license file can be set through the GraphDB Workbench or programmatically.

Setting up licenses through the Workbench

To do that, follow the steps:

  1. Add, view, or update your license from Setup ‣ Licenses ‣ Set new license.

    _images/set-new-license.png

    From here, you can also Revert to Free license. If you do so, GraphDB will ask you to confirm.

    _images/revert-to-free-license.png
  2. Select the license file and register it.

    _images/select-license-file.png

    You can also copy and paste it in the text area.

    _images/copy-paste-license.png
  3. Validate your license.

    _images/validate-new-license.png
  4. After completing these steps, you will be able to view your license details.

Setting up licenses through a file

GraphDB will look for a graphdb.license file in the GraphDB configuration directory (by default conf under GraphDB-HOME). To install a license file there, copy the license file as graphdb.license.

Custom file path property

You can use the configuration property graphdb.license.file to provide a custom path for the license file, for example:

graphdb.license.file = /opt/graphdb/my-graphdb-dev.license

The license file must be readable by the user running GraphDB.

Note

If you set the license through a file in the config directory or a custom path, you will not be able to change the license through the GraphDB Workbench.

Order of preference

When looking for a license, GraphDB will use the first license it finds in this order:

  • The custom license file property graphdb.license.file;

  • The graphdb.license file in the configuration directory;

  • A license set through the GraphDB Workbench.