Repository navigation
Multi Source Database Driver
- Multi Source database specialty
- Setting up
- Powering Multi Source Database with CloudBeaver
- Multi Source Database objects
- Multi Source Database features
CloudBeaver supports cross-database queries through Multi Source Database. Use one SQL Editor to query and join tables from multiple JDBC database connections. The multi-source connection provides access to the selected source data through a virtual database.
Important: Multi Source Database is read-only.
Multi Source Database is based on Apache Calcite, which provides a virtual SQL layer over existing JDBC connections. In CloudBeaver, this layer acts as a multi-source connection to the schemas and tables you select.
The driver works with any JDBC data source configured in CloudBeaver. Use it to run read-only cross-database joins and analytical queries across different database systems. For example, one query can join a PostgreSQL table with a MySQL table.
Multi Source Database is read-only. You can query and join data from source connections, but you can't change source data or database objects through this connection.
For information about the underlying query engine, see the Apache Calcite documentation.
Set up each source connection before you create a Multi Source Database connection. A source connection is a regular database connection in CloudBeaver that provides data for Multi Source Database. Select an existing connection from Connections, or create and configure a new one. The multi-source connection reuses its settings and credentials.
-
Click Connection in the toolbar, select New Connection, then select the driver for your source, such as PostgreSQL. For details, see Creating a connection. Create and test each source connection.
-
Create a Multi Source Database connection and open its connection settings.

-
On the Main tab, add the existing source connections you need from the dropdown, or drag them from Connections to the configuration tree. You can remove any added source from the multi-source configuration.

You can add only source connections from the same project as the multi-source connection.
-
Expand each source in the configuration tree. Use the checkboxes to select the schemas and tables you need from the source catalogs.
Note: By default, a selected schema includes all its tables. If you select individual tables, the configuration includes only those tables from that schema. Add any other tables to the selection when you want to query them.
-
To change the Apache Calcite settings, open the Driver properties tab.
-
Select Create to save the Multi Source Database connection.
The Access tab contains access permission settings.

For information on managing access, see Manage access permissions.
Use the AI tab to control whether the connection can transfer information to the AI vendor.

For information on enabling this option, see AI Assistant setup.
Open the Driver properties tab to configure Multi Source Database. The following property is available:
| Property | Default | Description |
|---|---|---|
join.transitive.predicates |
true |
Infer filtering conditions from joins and push them to the source connections when possible |
Use the Connection details tab to set the connection name, project, description, and connection type. For information on these fields, see Configure connection settings.
Use the Initialization settings tab to configure connection initialization and behavior, such as the keep-alive interval and auto-commit settings. For information on these two settings, see Expert settings.
Use one SQL editor to query data from the selected source connections. Apache Calcite plans the query and sends applicable operations to the underlying connections.
Queries in a Multi Source Database connection follow Apache Calcite syntax. Source-specific SQL features might not be available in a cross-database query.
Example:
The following query joins customer data from SQLite with booking details from PostgreSQL:
SELECT c."CustomerId", b."book_ref", b."book_date", b."total_amount" AS "flight_cost" FROM "SQLite"."Customer" AS c CROSS JOIN "postgresql_bookings"."bookings" AS b LIMIT 10;
CloudBeaver lets you browse the selected source objects in Connections:
- Schemas
- Tables
- Columns
- Views
- Procedures
- Data Types
- Tables
Note: The connection doesn't expose indexes, table constraints, or references. Relationship-based tools don't have relationship metadata for Multi Source Database objects.
CloudBeaver provides the following features compatible with Multi Source Database connections, but not exclusive to it:
| Category | Feature |
|---|---|
| Data browsing | View selected source tables in the Data Editor |
| SQL queries | Query selected tables and join data across sources in the SQL Editor |
| MCP access | Access Multi Source Database through CloudBeaver MCP Server from remote MCP clients |
- Getting started
- Create connection
- Connection network options
- Supported databases
- Drivers management
- Database authentication methods
- Connections
- Properties editor
- Data editor
- SQL editor
- AI Assistant
-
Entity relation diagrams
- Cloud services
- Data transfer
- General user guide
- Administration
- Server configuration
-
Server security and access configuration
- Authentication methods
- Access management
- Proxy configuration
-
Secret management
- Logs
-
Query manager
- Workspace location
- Command line parameters
-
Session manager
- Deployment options
- CloudBeaver Editions
- FAQ
- Development