Skip to main content
Data Sources Cube supports a wide range of data sources. Below is a list of supported databases and warehouses.

Cloud data warehouses

Snowflake

Enterprise data warehouse with automatic scaling

BigQuery

Google’s serverless data warehouse

Databricks

Unified analytics platform on the lakehouse

AWS Redshift

Amazon’s cloud data warehouse

Relational databases

PostgreSQL

Popular open-source relational database

MySQL

World’s most popular open-source database

MS SQL

Microsoft SQL Server

Oracle

Enterprise relational database

OLAP & analytics

ClickHouse

Column-oriented OLAP database

DuckDB

In-process analytical database

Apache Druid

Real-time analytics database

Connecting a data source

To connect a data source, set the CUBEJS_DB_TYPE environment variable:
CUBEJS_DB_TYPE=postgres
Each data source has its own set of required environment variables. Refer to the individual data source pages for details.
In Cube Cloud, you can configure data sources through the UI without managing environment variables directly.