Congratulations on starting your CockroachDB Enterprise Trial! With it, you'll not only get access to CockroachDB's core capabilities like high availability and
SERIALIZABLE isolation, but also our Enterprise-only features like distributed
RESTORE, multi-region capabilities, and cluster visualization.
Enable Enterprise features
As the CockroachDB
root user, open the built-in SQL shell in insecure or secure mode, as per your CockroachDB setup. In the following example, we assume that CockroachDB is running in insecure mode. Then use the
SET CLUSTER SETTING command to set the name of your organization and the license key:
$ cockroach sql --insecure
> SET CLUSTER SETTING cluster.organization = 'Acme Company';
> SET CLUSTER SETTING enterprise.license = 'xxxxxxxxxxxx';
You can then use the
SHOW CLUSTER SETTING command to verify your license:
> SHOW CLUSTER SETTING cluster.organization;
Use Enterprise features
Your cluster now has access to all of CockroachDB's Enterprise features for the length of the trial:
|Reduce read latency in multi-region deployments by using the closest replica at the expense of reading slightly historical data.
|Row-level control over where your data is stored to help you reduce read and write latency and meet regulatory requirements.
|Use a procedural language in user-defined functions and stored procedures to improve performance and enable more complex queries.
|Visualize the geographical distribution of a cluster by plotting its node localities on a world map.
Recovery and streaming
BACKUP and restore capabilities
|Taking and restoring incremental backups, backups with revision history, locality-aware backups, and encrypted backups require an Enterprise license. Full backups do not require an Enterprise license.
|Changefeeds into a Configurable Sink
|For every change in a configurable allowlist of tables, configure a changefeed to emit a record to a configurable sink: Apache Kafka, cloud storage, Google Cloud Pub/Sub, or a webhook sink. These records can be processed by downstream systems for reporting, caching, or full-text indexing.
|Change Data Capture Queries
SELECT queries to filter and modify change data before sending it to a changefeed's sink.
|Physical Cluster Replication
|Send all data at the byte level from a primary cluster to an independent standby cluster. Existing data and ongoing changes on the active primary cluster, which is serving application data, replicate asynchronously to the passive standby cluster.
Security and IAM
|Encryption at Rest
|Enable automatic transparent encryption of a node's data on the local disk using AES in counter mode, with all key sizes allowed. This feature works together with CockroachDB's automatic encryption of data in transit.
|Encrypt specific columns within a table.
|GSSAPI with Kerberos Authentication
|Authenticate to your cluster using identities stored in an external enterprise directory system that supports Kerberos, such as Active Directory.
|Cluster Single Sign-on (SSO)
|Grant SQL access to a cluster using JSON Web Tokens (JWTs) issued by an external identity provider (IdP) or custom JWT issuer.
|Single Sign-on (SSO) for DB Console
|Grant access to a cluster's DB Console interface using SSO through an IdP that supports OIDC.
|Role-based SQL Audit Logs
|Enable logging of queries being executed against your system by specific users or roles.
Also consider checking out Cockroach University for free online courses that help you get the most out of CockroachDB.