redirect_from | |
---|---|
|
To see a complete list of environment variables for a specific data source, please check the relevant page on Connecting to Data Sources.
The secret key used to sign and verify JWTs. Generated on project scaffold with
npx cubejs-cli create
.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid string | N/A | N/A |
See also the check_auth
configuration
option.
An application ID used to uniquely identify the Cube deployment. Can be different for multitenant setups.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid string | cubejs |
cubejs |
The AWS Access Key ID to use for database connections.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid AWS Access Key ID | N/A | N/A |
The AWS Secret Access Key to use for database connections.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid AWS Secret Access Key | N/A | N/A |
The AWS region to use for database connections.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid AWS region | N/A | N/A |
The S3 path to store AWS Athena query results made by Cube.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid S3 path | N/A | N/A |
The name of the AWS Athena workgroup in which the query is being started.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Athena Workgroup | N/A | N/A |
The name of the AWS Athena catalog to use for queries.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Athena Catalog name | N/A | N/A |
The name of the schema to use as information_schema
filter. Reduces count of
tables loaded during data model generation.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid schema name | N/A | N/A |
The cache and queue driver to use for the Cube deployment.
Possible Values | Default in Development | Default in Production |
---|---|---|
cubestore , memory |
memory |
cubestore |
It can be also set using the cache_and_queue_driver
configuration
option.
The number of concurrent connections each query queue has to the database.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid number | See database-specific page | See database-specific page |
It can be also set as concurrency
in the orchestrator_options
configuration
option.
The hostname of the Cube Store deployment
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid hostname | localhost |
N/A |
The port of the Cube Store deployment.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid port number | 3030 |
3030 |
A comma-separated list of data source names. Data sources defined here can be
used to decorate CUBEJS_DB_*
environment variables.
Possible Values | Default in Development | Default in Production |
---|---|---|
A comma-separated list of strings | N/A | N/A |
CUBEJS_DATASOURCES=default,datasource1
A Base64 encoded JSON key file for connecting to Google BigQuery.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Google BigQuery JSON key file encoded as a Base64 string | N/A | N/A |
The path to a JSON key file for connecting to Google BigQuery.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Google BigQuery JSON key file | N/A | N/A |
The Google BigQuery dataset location to connect to. Required if used with
pre-aggregations outside of US. If not set then BQ driver will fail with
Dataset was not found in location US
error.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Google BigQuery regional location | N/A | N/A |
The Google BigQuery project ID to connect to.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Google BigQuery Project ID | N/A | N/A |
Whether the ClickHouse user has read-only access or not.
Possible Values | Default in Development | Default in Production |
---|---|---|
true , false |
N/A | N/A |
To accept the license terms for the Databricks JDBC driver, this must be set to
true
.
Possible Values | Default in Development | Default in Production |
---|---|---|
true , false |
N/A | N/A |
The name of the Databricks catalog to connect to.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Databricks catalog name | N/A | N/A |
The personal access token used to authenticate the Databricks connection.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Databricks access token | N/A | N/A |
The URL for a JDBC connection.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid JDBC URL | N/A | N/A |
A domain name within an MS SQL database to connect to.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid domain name within a MS SQL database | N/A | N/A |
The maximum memory limit for DuckDB. Equivalent to
SET memory_limit=<MEMORY_LIMIT>
.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid MotherDuck service token | 75% of available RAM | 75% of available RAM |
The default search schema for DuckDB.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid schema name | main |
main |
The service token to use for connections to MotherDuck.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid MotherDuck service token | N/A | N/A |
The database filepath to use for connection to a local database.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid duckdb database file path | N/A | N/A |
The AWS Access Key ID to use for S3 connections.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid AWS Access Key ID | N/A | N/A |
The AWS Secret Access Key to use for S3 connections.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid AWS Secret Access Key | N/A | N/A |
The AWS endpoint to use for S3 connections.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid AWS S3 endpoint | N/A | N/A |
The AWS region to use for S3 connections.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid AWS region | N/A | N/A |
Use SSL when connecting to S3.
Possible Values | Default in Development | Default in Production |
---|---|---|
True or false | N/A | N/A |
The URL style to be used by S3.
Possible Values | Default in Development | Default in Production |
---|---|---|
[vhost/path] | N/A | N/A |
The S3 session token.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid S3 session token | N/A | N/A |
A comma-separated list of DuckDB extensions to install and load.
Possible Values | Default in Development | Default in Production |
---|---|---|
A comma-separated list of DuckDB extensions | N/A | N/A |
The ID of the API key from elastic.co. Required when using Elastic Cloud.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Elastic.co API key ID | N/A | N/A |
The API key from elastic.co. Required when using Elastic Cloud.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Elastic.co API key | N/A | N/A |
If true
, then use the Open Distro for Elasticsearch.
Possible Values | Default in Development | Default in Production |
---|---|---|
true , false |
N/A | N/A |
By default, queries return data in JDBC format, but you can also return data in standard Elasticsearch JDBC, JSON, CSV, YAML or raw formats (only JSON and JDBC are currently supported).
Possible Values | Default in Development | Default in Production |
---|---|---|
json , jdbc |
N/A | N/A |
The name of a bucket in cloud storage to store the database export snapshots.
When using multiple data sources, this environment variable can be decorated with a data source.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid bucket in the configured cloud storage | N/A | N/A |
CUBEJS_DB_EXPORT_BUCKET=exports-20210505
# Decorated with a data source named `datasource1`
CUBEJS_DS_DATASOURCE1_DB_EXPORT_BUCKET=exports-20210505
The cloud provider where the bucket is hosted.
When using multiple data sources, this environment variable can be decorated with a data source.
Possible Values | Default in Development | Default in Production |
---|---|---|
gcp , s3 |
N/A | N/A |
CUBEJS_DB_EXPORT_BUCKET_TYPE=gcp
# Decorated with a data source named `datasource1`
CUBEJS_DS_DATASOURCE1_DB_EXPORT_BUCKET_TYPE=gcp
The AWS Access Key ID to use for the export bucket.
When using multiple data sources, this environment variable can be decorated with a data source.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid AWS Access Key ID | N/A | N/A |
The AWS Secret Access Key to use for the export bucket.
When using multiple data sources, this environment variable can be decorated with a data source.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid AWS Secret Access Key | N/A | N/A |
The AWS region of the export bucket.
When using multiple data sources, this environment variable can be decorated with a data source.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid AWS region | N/A | N/A |
The Azure Access Key to use for the export bucket.
When using multiple data sources, this environment variable can be decorated with a data source.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Azure Access Key | N/A | N/A |
The Azure tenant ID to use for the export bucket.
When using multiple data sources, this environment variable can be decorated with a data source.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Azure Tenant ID | N/A | N/A |
The Azure client ID to use for the export bucket.
When using multiple data sources, this environment variable can be decorated with a data source.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Azure Client ID | N/A | N/A |
The Azure client secret to use for the export bucket.
When using multiple data sources, this environment variable can be decorated with a data source.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Azure Client Secret | N/A | N/A |
The mount path to use for a Databricks DBFS mount.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid mount path | N/A | N/A |
An ARN of an AWS IAM role with permission to write to the configured bucket (see
CUBEJS_DB_EXPORT_BUCKET
).
When using multiple data sources, this environment variable can be decorated with a data source.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid ARN to an IAM Role associated with the target Redshift data source | N/A | N/A |
A Base64 encoded JSON key file for connecting to Google Cloud.
When using multiple data sources, this environment variable can be decorated with a data source.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Google Cloud JSON key file encoded as a Base64 string | N/A | N/A |
The name of the integration used in the database. Only required when using Snowflake and Google Cloud Storage.
When using multiple data sources, this environment variable can be decorated with a data source.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid string matching the name of the integration in Snowflake | N/A | N/A |
The host URL for a database.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid database host URL | N/A | N/A |
The path to a Unix socket that is used to connect to a data source, e.g., MySQL.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid path to a socket | N/A | N/A |
The maximum number of concurrent database connections to pool.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid number | See database-specific page | See database-specific page |
The name of the database to connect to.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid database name | N/A | N/A |
The password used to connect to the database.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid database password | N/A | N/A |
The port for the database connection.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid port number | N/A | N/A |
The catalog within Presto/Trino to connect to.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid catalog name within a Presto/Trino database | N/A | N/A |
The timeout value for any queries made to the database by Cube.
Possible Values | Default in Development | Default in Production |
---|---|---|
A number in seconds or a duration string | 10m |
10m |
There's a hard limit of 20 minutes for queries that ingest data into Cube Store when pre-aggregations are built. If you bump into this limit, consider using an export bucket and splitting pre-aggregations into partitions.
Force fetching of columns by ordinal positions. Certain data-providers (e.g., Redshift) do not guarantee columns in the
same order on each request (e.g., SELECT * FROM foo
). This flag ensures that columns will be fetched in proper order
for pre-aggregation generation.
Possible Values | Default in Development | Default in Production |
---|---|---|
Whether to force fetch columns in ordinal position | true |
true |
The cluster name to use when connecting to Materialize.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Materialize cluster name | N/A | N/A |
This flag controls how time zones conversion is done in the generated SQL for MySQL:
- If it is set to
true
, time zone names are used. In this case, your MySQL server needs to be configured properly. - If it is set to
false
, numeric offsets are used instead.
Possible Values | Default in Development | Default in Production |
---|---|---|
true , false |
false |
false |
The Snowflake account identifier to use when connecting to the database.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Snowflake account ID | N/A | N/A |
The type of authenticator to use with Snowflake. Use SNOWFLAKE
with
username/password, or SNOWFLAKE_JWT
with key pairs.
Possible Values | Default in Development | Default in Production |
---|---|---|
SNOWFLAKE , SNOWFLAKE_JWT |
SNOWFLAKE |
SNOWFLAKE |
If true
, keep the Snowflake connection alive
indefinitely.
Possible Values | Default in Development | Default in Production |
---|---|---|
true , false |
true |
true |
The password for the private RSA key. Only required for encrypted keys.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid password for the encrypted private RSA key | N/A | N/A |
The path to the private RSA key folder.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid path to the private RSA key | N/A | N/A |
The Snowflake region to use when connecting to the database.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Snowflake region | N/A | N/A |
The Snowflake role to use when connecting to the database.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Snowflake role in the account | N/A | N/A |
The Snowflake warehouse to use when connecting to the database.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Snowflake warehouse in the account | N/A | N/A |
If true
, enables SSL encryption for database connections from Cube.
Possible Values | Default in Development | Default in Production |
---|---|---|
true , false |
N/A | N/A |
A database from the list of supported databases.
Possible Values | Default in Development | Default in Production |
---|---|---|
Any valid database supported by Cube | N/A | N/A |
The URL for a database.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid database URL | N/A | N/A |
The username used to connect to the database.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid database username | N/A | N/A |
The default row limit in the result set if it's not explicitly specified in an API query.
Possible Values | Default in Development | Default in Production |
---|---|---|
A positive integer number | 10000 |
10000 |
The maximum row limit in the result set.
Possible Values | Default in Development | Default in Production |
---|---|---|
A positive integer number | 50000 |
50000 |
Increasing the maximum row limit may cause out-of-memory (OOM) crashes and make Cube susceptible to denial-of-service (DoS) attacks if it's exposed to untrusted environments.
API scopes used to allow or disallow access to REST API endpoints.
Possible Values | Default in Development | Default in Production |
---|---|---|
A comma-delimited string with any combination of API scopes | meta,data,graphql |
meta,data,graphql |
See also the context_to_api_scopes
configuration
option.
If true
, enables development mode.
Possible Values | Default in Development | Default in Production |
---|---|---|
true , false |
true |
false |
If true
, it enables dropping pre-aggregations that Refresh Worker doesn't
touch within CUBEJS_TOUCH_PRE_AGG_TIMEOUT
.
Pre-aggregations are touched whenever they are rebuilt or a Refresh Worker
checks its freshness. The first drop will be initiated when the Refresh Worker
is able to check freshness for every scheduledRefresh: true
pre-aggregation.
If you have multiple Refresh Workers with different data model versions sharing
the same Cube Store cluster, then touches from both refresh workers are
respected.
Possible Values | Default in Development | Default in Production |
---|---|---|
true , false |
true |
true |
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Firebolt account name | N/A | N/A |
The Firebolt API endpoint. Used for authentication.
Possible Values | Default in Development | Default in Production |
---|---|---|
api.dev.firebolt.io , api.staging.firebolt.io , api.app.firebolt.io |
N/A | N/A |
The name of the Firebolt engine to connect to.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Firebolt engine name | N/A | N/A |
A GitHub Personal Access Token to avoid API rate limiting when downloading Cube Store.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid GitHub PAT | false |
false |
Enables JSON Web Key (JWK)-based authentication in Cube.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid URL to a JSON Web Key Set | N/A | N/A |
It can be also set as jwkUrl
in the jwt
configuration
option.
Any supported algorithm for decoding JWTs.
Possible Values | Default in Development | Default in Production |
---|---|---|
HS256 , RS256 |
N/A | N/A |
It can be also set as algorithms
in the jwt
configuration
option.
An audience value which will be used to enforce the aud
claim from inbound
JWTs.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid aud claim |
N/A | N/A |
It can be also set as audience
in the jwt
configuration
option.
A namespace within the decoded JWT under which any custom claims can be found.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid string | N/A | N/A |
It can be also set as claimsNamespace
in the jwt
configuration
option.
An issuer value which will be used to enforce the iss
claim from inbound
JWTs.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid iss claim |
N/A | N/A |
It can be also set as issuer
in the jwt
configuration
option.
The secret key used to sign and verify JWTs. Similar to
CUBEJS_API_SECRET
.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid string | N/A | N/A |
It can be also set as key
in the jwt
configuration
option.
A subject value which will be used to enforce the sub
claim from inbound
JWTs.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid sub claim |
N/A | N/A |
It can be also set as subject
in the jwt
configuration
option.
The logging level for Cube.
Possible Values | Default in Development | Default in Production |
---|---|---|
error , info , trace , warn |
warn |
warn |
See also CUBESTORE_LOG_LEVEL
.
See also the logger
configuration option.
The maximum number of partitions each pre-aggregation in a cube can use.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid number | 10000 |
10000 |
The port used by the SQL API to listen to Postgres-compatible connections on.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid port number | N/A | N/A |
If true
, this instance of Cube will build pre-aggregations, even if it is an
API instance.
Possible Values | Default in Development | Default in Production |
---|---|---|
true , false |
true |
false * |
If Cube is configured to act as a refresh worker instance using
CUBEJS_REFRESH_WORKER
, then
CUBEJS_PRE_AGGREGATIONS_BUILDER
will be true
.
The database schema name to use for storing pre-aggregations.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid string | dev_pre_aggregations |
prod_pre_aggregations |
It can be also set using the pre_aggregations_schema
configuration
option.
If true
, this instance of Cube will only refresh pre-aggregations.
Possible Values | Default in Development | Default in Production |
---|---|---|
true , false |
false |
false |
If true
, the API instance of Cube will only fulfill queries from
pre-aggregations. See rollup-only
mode for details.
Possible Values | Default in Development | Default in Production |
---|---|---|
true , false |
false |
false |
It can be also set using the orchestrator_options.rollupOnlyMode
configuration
option.
How many pre-aggregations refresh worker will build in parallel. Please note changing this param doesn't change queue concurrency and it should be adjusted accordingly
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid number of concurrent refresh processes | 10 | 10 |
A comma-separated list of timezones to schedule refreshes for.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid timezone from the tz database | N/A | N/A |
It can be also set using the scheduled_refresh_time_zones
configuration
option.
The path where Cube loads data models from.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid path containing Cube data models | model |
model |
Until v0.35, the default value was schema
.
It can be also set using the schema_path
configuration
option.
The number of milliseconds to limit the amount of time the parser will wait to receive the complete HTTP headers. If the timeout expires, the server responds with status 408 without forwarding the request to the request listener and then closes the connection.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid number or string representing one | 60000 | 60000 |
The number of milliseconds of inactivity a server needs to wait for additional incoming data, after it has finished writing the last response, before a socket will be destroyed.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid number or string representing one | 5000 | 5000 |
A username required to access the SQL API.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid string | N/A | N/A |
See also the check_sql_auth
configuration
option.
A password required to access the SQL API.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid string | N/A | N/A |
See also the check_sql_auth
configuration
option.
A name of specific user who will be allowed to change the user during the SQL API session.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid string | N/A | N/A |
See also the can_switch_sql_user
configuration
option.
If true
, disables the primary key inclusion check for
ungrouped queries.
Possible Values | Default in Development | Default in Production |
---|---|---|
true , false |
false |
false |
It can be also set using the allow_ungrouped_without_primary_key
configuration
option.
When query push-own in the SQL API is enabled via the CUBESQL_SQL_PUSH_DOWN
environment variable, this option is enabled as well for the best user experience.
If true
, enables query pushdown in the SQL API.
Possible Values | Default in Development | Default in Production |
---|---|---|
true , false |
true |
true |
Query pushdown in the SQL API is available in public preview. Read more in the blog.
If true
, enables the streaming mode in the SQL API.
Possible Values | Default in Development | Default in Production |
---|---|---|
true , false |
false |
false |
If true
, prevents adding implicit default ORDER BY
clause for SQL API queries.
Possible Values | Default in Development | Default in Production |
---|---|---|
true , false |
true |
true |
Specifies the maximum number of concurrent sessions (connections) to the SQL API and safeguards your Cube deployment from out-of-memory crashes when too many connections are attempted to be established.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid number | 1024 | 1024 |
Specifies the maximum number of e-graph nodes that are allocated during the creation of a query plan in the SQL API.
Should be increased if you get the following error:
Error during rewrite: Can't find rewrite due to 10002 AST node limit reached.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid number | 10000 | 10000 |
Specifies the maximum number of e-graph term rewriting iterations that are performed during the creation of a query plan in the SQL API.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid number | 300 | 300 |
Specifies the maximum time, in seconds, that is allocated for the creation of a query plan in the SQL API.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid number | 30 | 30 |
Number of seconds before session's SQL API security context will be invalidated.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid integer number | 300 |
300 |
If true
, then send telemetry to Cube.
Possible Values | Default in Development | Default in Production |
---|---|---|
true , false |
true |
true |
Define which metrics collector format.
Possible Values | Default in Development | Default in Production |
---|---|---|
statsd , dogstatsd |
statsd |
statsd |
Required IP address to send metrics.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid IP address | 127.0.0.1 |
127.0.0.1 |
Required port to send where collector server accept UDP connections.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid port number | 8125 |
8125 |
The number of seconds without a touch before pre-aggregation is considered
orphaned and marked for removal. Please see
CUBEJS_DROP_PRE_AGG_WITHOUT_TOUCH
to
learn more.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid number | 86400 | 86400 |
If true
, then use WebSocket for data fetching.
Possible Values | Default in Development | Default in Production |
---|---|---|
true , false |
true |
true |
The Access Key ID for AWS. Required when using AWS S3.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid AWS Access Key ID | N/A | N/A |
The Secret Access Key for AWS. Required when using AWS S3.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid AWS Secret Access Key | N/A | N/A |
The number of minutes after which Cube Store should refresh AWS credentials. Required when using an AWS instance role.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid number in minutes | 180 |
180 |
The address/port pair for Cube Store's MySQL-compatible interface.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid address/port pair | 0.0.0.0:3306 |
0.0.0.0:3306 |
A path on the local filesystem to store a local replica of the data. Must be
unique on each node and different from CUBESTORE_REMOTE_DIR
.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid path on the local filesystem with read/write access | .cubestore/data |
.cubestore/data |
A Base64-encoded JSON key for connecting to Google Cloud. Required when using Google Cloud Storage
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Google Cloud JSON key encoded as a Base64 string | N/A | N/A |
The path to a JSON key file for connecting to Google Cloud. Required when using Google Cloud Storage.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid Google Cloud JSON key file | N/A | N/A |
The name of a bucket in GCS. Required when using GCS
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid bucket name in the Google Cloud account | N/A | N/A |
The path in a GCS bucket to store pre-aggregations. Optional
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid path prefix | N/A | N/A |
The address/port pair for Cube Store's HTTP interface.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid address/port pair | 0.0.0.0:3030 |
0.0.0.0:3030 |
The port for Cube Store to listen to HTTP connections on. Ignored when
CUBESTORE_HTTP_BIND_ADDR
is set.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid port number | 3030 |
3030 |
The number of parallel tasks that process non-interactive jobs like data insertion, compaction etc.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid number | 4 |
4 |
The logging level for Cube Store.
Possible Values | Default in Development | Default in Production |
---|---|---|
error , warn , info , debug , trace |
error |
error |
See also CUBEJS_LOG_LEVEL
.
The address/port pair for the Cube Store router node in the cluster.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid address/port pair | N/A | N/A |
The port for the Cube Store router node to listen for connections on.
Ignored when CUBESTORE_META_ADDR
is set.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid port number | N/A | N/A |
The Access Key ID for minIO. Required when using minIO.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid minIO Access Key ID | N/A | N/A |
The name of the bucket that you want to use minIO. Required when using minIO.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid bucket name | N/A | N/A |
The number of minutes after which Cube Store should refresh minIO credentials.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid number in minutes | 180 |
180 |
The region of a bucket in AWS. Optional when using minIO.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid S3 region name, an empty string if not present | N/A | N/A |
The Secret Access Key for minIO. Required when using minIO.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid minIO Secret Access Key | N/A | N/A |
The minIO server endpoint. Required when using minIO.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid minIO endpoint | N/A | N/A |
CUBESTORE_MINIO_SERVER_ENDPOINT=http://localhost:9000
If true
, prevents uploading serialized pre-aggregations to cloud storage.
Possible Values | Default in Development | Default in Production |
---|---|---|
true , false |
false |
false |
The port for Cube Store to listen to connections on. Ignored when
CUBESTORE_BIND_ADDR
is set.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid port number | 3306 |
3306 |
The timeout for SQL queries in seconds.
Possible Values | Default in Development | Default in Production |
---|---|---|
A number in seconds | 120 |
120 |
A path on the local filesystem to store metadata and datasets from all nodes as if it were remote storage. Not required if using GCS/S3. Not recommended for production usage
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid path on the local filesystem with read/write access | N/A | N/A |
The name of a bucket in AWS S3. Required when using AWS S3.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid bucket name in the AWS account | N/A | N/A |
| The region of a bucket in AWS S3. Required when using AWS S3.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid AWS region | N/A | N/A |
The path in a AWS S3 bucket to store pre-aggregations. Optional.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid path prefix | N/A | N/A |
The number of Cube Store sub-processes that handle SELECT
queries.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid number | 4 |
4 |
The full name and port number of the Cube Store node (either the router or a worker). Must be unique for each instance in the Cube Store cluster.
Should be passed to the Cube Store router and to each Cube Store worker.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid address/port pair | localhost |
localhost |
If true
, then sends telemetry to Cube.
Possible Values | Default in Development | Default in Production |
---|---|---|
true , false |
true |
true |
The maximum number of rows to keep in a single chunk of data right after insertion.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid number | 262144 |
262144 |
The port for Cube Store workers to listen to connections on. When set, the node will start as a Cube Store worker in the cluster
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid port number | N/A | N/A |
A comma-separated list of address/port pairs of Cube Store workers.
Should be passed to the Cube Store router and to each Cube Store worker.
Possible Values | Default in Development | Default in Production |
---|---|---|
A comma-separated list of address/port pairs | N/A | N/A |
CUBESTORE_WORKERS=worker-1:3123,localhost:3124,123.124.125.128:3123
Used to implement stateless addressing within a Cube Store cluster.
By analyzing CUBESTORE_WORKERS
and CUBESTORE_SERVER_NAME
, each node
is able to determine its position within a Cube Store cluster.
This allows each worker to know which pre-aggregation partitions it owns
and how the load is distributed across all workers.
If true
, enables debug logging.
Possible Values | Default in Development | Default in Production |
---|---|---|
true , false |
false |
false |
The port for a Cube deployment to listen to API connections on.
Possible Values | Default in Development | Default in Production |
---|---|---|
A valid port number | 4000 |
4000 |