🗄️ Multi-Database Queries

Query across multiple databases simultaneously and perform cross-database joins with natural language.

Overview

Multi-Database Queries allow you to:

✨ Feature Highlight

You can now ask questions like "Show me users from MySQL and their orders from PostgreSQL" and Datix xAgents will automatically perform the cross-database join.

Supported Databases

PostgreSQL

Full support

MySQL

Full support

MongoDB

Aggregation support

SQL Server

Full support

BigQuery

Full support

Snowflake

Full support

How It Works

  1. Select Data Sources: Choose which databases to query in the Multi-Database Query interface
  2. Ask Your Question: Write your question in natural language
  3. AI Processing: Datix xAgents identifies which tables are needed from which databases
  4. Query Execution: Queries are executed against each database
  5. Data Merging: Results are combined and joined automatically
  6. Results Display: See unified results with data from all sources

Example Queries

Cross-Database Join

"Show me all customers from the CRM database and their orders from the e-commerce database"

This query will automatically:

Aggregation Across Databases

"What is the total revenue by region from sales database and warehouse database?"

Complex Analysis

"Compare user engagement metrics from analytics database with subscription data from billing database"

Permissions

To use Multi-Database Queries, you need:

⚠️ Performance Note

Queries across multiple databases may take longer to execute. For best performance, ensure proper indexing and limit result sets.

Best Practices

Limitations