SET LICENSE

Sets the license Key.

Table of Contents

Synopsis

SET LICENSE license_key

Description

SET LICENSE registers a license key that will enable CrateDB to operate in Enterprise Edition until the license expiry date.

Note

Should the license registration fail, the cluster will continue to operate in the existing mode e.g. Enterprise Edition as long as the current license is still valid (i.e. not expired).

When the existing licence expires, the cluster will run in a degraded mode, allowing only read only system information operations and the SET LICENSE statement. Switching to the Community Edition is an alternative. For more details on that see Enterprise Features.

Parameters

License Key

The license_key parameter is the encoded representation of a CrateDB license that CrateIO will provide.

See also

You can view the current license by querying the sys.cluster table. See Cluster License.