BuildRiot
Sign in

Article

Atlas SQL on dedicated clusters or warehouse exports: choosing where reports run

MongoDB’s direct SQL access queries existing Atlas dedicated clusters, but enabling it does not create separate reporting capacity. This guide compares dashboard freshness, document modeling, workload isolation, recovery, and incremental cost to help teams choose between direct access and a warehouse export.

An illustration contrasts a database powering operations and reports together with a database exporting documents to a separate warehouse that powers reports.
Illustration: BuildRiot (AI-generated)

Key takeaway

Direct SQL access can remove an ingestion pipeline from operational reporting, but teams still need to validate results and protect application workloads. The choice depends on measured freshness, routing behavior, recovery requirements, and the full incremental cost.

Direct SQL reaches existing Atlas clusters

MongoDB listed direct SQL access to existing Atlas dedicated clusters as generally available in its September 30, 2026, product updates. Its technical changelog dates general availability to September 29, 2026; the sources differ by one day. The feature requires an M10 or larger cluster running MongoDB 6.0 or later. It lets teams query application documents without first exporting them to a warehouse.

According to MongoDB’s overview, the interface is read-only and supports Open Database Connectivity and Java Database Connectivity through MongoSQL, its SQL-92-compatible dialect. Dedicated access covers one cluster and follows that cluster’s connection and query limits. Data Federation supports queries spanning multiple clusters or object stores. Power BI DirectQuery is supported, and administrators enable SQL access in each eligible cluster’s configuration.

A dedicated Atlas cluster, an analytics node, and a warehouse copy serve different purposes. Enabling SQL access does not create separate reporting capacity. MongoDB’s legacy business intelligence connector, BI Connector, reached end of life in September 2026. Its retirement creates a migration need but does not determine which reporting architecture should replace it.

Measure freshness at the dashboard

MongoDB markets Atlas SQL as access to live data without an extract, transform, and load pipeline. Removing export and ingestion eliminates stages where changes can wait, but it does not establish dashboard freshness. The selected node, read settings, query duration, and reporting tool’s caching or refresh behavior still matter. MongoDB’s product page includes a customer endorsement of direct Power BI access without measured freshness results or workload details.

Snowflake’s Openflow Connector for MongoDB provides a concrete warehouse comparison. The connector, marked preview in the reviewed documentation, performs an initial full copy before capturing inserts, updates, and deletes through change streams. It then merges those changes into destination tables. Snowflake documents a scheduled delay of a few minutes, which describes this connector rather than a universal warehouse limit.

A useful evaluation starts with an order changing from pending to canceled. Measure from the acknowledged database update to the dashboard displaying the new status, then repeat for deletions and changes during peak traffic. This is a proposed test, not a reported product result. Give direct SQL priority when measured ingestion delay exceeds the reporting requirement. A warehouse remains viable when its measured delay fits that requirement.

SQL access still requires a data model

MongoSQL translates SQL into MongoDB Query Language and uses JSON schemas to interpret document values. Dedicated deployments use SQL Schema Builder, a command-line tool, while federated deployments manage schemas through Atlas. MongoSQL supports joins and operations for flattening documents and expanding arrays. That syntax support does not establish efficient execution for a particular report. Schema construction and query validation remain engineering work.

MongoDB’s changelog shows why correctness checks should precede performance comparisons. MongoSQL 2.0.0 changed field-to-literal filter comparisons to use MongoDB match language instead of expression evaluation. The resulting type bracketing can encourage index use while changing results for fields containing different types. The changelog excludes Data Federation queries from this change. MongoSQL 2.0.1 fixed implicit conversion in membership comparisons that could omit string identifiers such as 0035759.

A test dataset should mix numeric and string amounts, explicit nulls, missing fields, empty arrays, and identifiers with leading zeros. Check whether numeric filters include strings and whether expanding an order’s items causes its amount to be counted twice. Also check whether array expansion preserves orders with empty arrays and whether identifiers retain leading zeros. Snowflake’s connector initially stores each document payload in a data field alongside its identifier, so warehouse loading still leaves analytical modeling decisions. Reports that map cleanly to one cluster favor direct access, while shared models and cross-system analysis strengthen the warehouse case.

Isolation depends on routing and recovery

MongoDB documents analytics nodes for queries that should avoid contention with operational workloads, with availability starting at M10. Adding these nodes is a separate deployment choice from enabling dedicated SQL access. MongoDB’s routing example combines a secondary read preference with a tag identifying analytics nodes. Teams should validate how their SQL driver applies routing settings and measure the effect on application latency.

Fallback behavior creates a trade-off between report availability and workload isolation. MongoDB’s guidance allows an empty final fallback tag to admit another secondary when analytics nodes are unavailable. Strict analytics-only routing can instead make queries fail during initial synchronization or topology changes. A useful failure exercise removes the preferred analytics target and records whether reports fail, become stale, or move work onto operational nodes.

A warehouse copy moves report execution to the destination, giving analytical queries separate capacity. Extraction still creates an operational dependency that needs monitoring and recovery planning. Snowflake warns that connector downtime beyond MongoDB’s operation log retention can require a full resynchronization. Its MongoDB connector also requires at least a Medium runtime and currently supports only one runtime node. Interrupting change capture during evaluation can reveal whether staleness and recovery work fit the reporting requirements.

Compare complete incremental costs

MongoDB’s pricing page describes dedicated SQL as a daily percentage uplift on cluster spending. The reviewed page does not disclose that percentage, and Atlas Enterprise and Platinum Support customers receive the feature without the uplift. Data Federation uses a different meter: $5 per terabyte processed, with a 10-megabyte minimum per query and applicable transfer charges. Applying that scan price to dedicated SQL would produce the wrong estimate.

For direct SQL, budget for the uplift, additional database capacity or analytics nodes, and incremental storage, transfer, and operations. For a warehouse, include connector runtime, destination storage, ingestion, transformation and query compute, transfer, and pipeline maintenance and recovery. These are proposed budgeting categories, not vendor billing formulas. An existing warehouse and maintained pipeline may absorb another reporting workload relatively inexpensively. Building both for one small operational dashboard may add more work than it removes.

The available evidence does not support a universal dollar break-even point. That calculation needs the actual uplift and billing base, representative query demand, and the intended warehouse configuration. Additional Atlas capacity could outweigh savings from removing ingestion. Compare each design’s incremental bill against the systems the organization already operates.

Choose with a representative workload

The research found no controlled benchmark of the newly available dedicated path. A September 2025 Couchbase-published benchmark tested Atlas SQL through Data Federation, so its results do not measure this architecture. A March 2024 community report of slow Power BI loading also describes an older federated integration, with no confirmed resolution. Both can inform test design, but neither establishes current dedicated SQL performance.

Run representative reports through both proposed architectures under normal application load. Check correctness first, then dashboard freshness, median and 95th-percentile query latency, application latency impact, recovery behavior, and incremental cost. Verify compatibility with SQL generated by the reporting tool and establish how schemas will track evolving documents. Automation needs separate review: the dedicated feature is generally available, but its Atlas Administration API endpoints remain preview and require the preview Accept header.

Choose direct dedicated SQL when current operational state matters, reports fit one cluster, and measured routing and capacity meet application targets. Favor a warehouse when its freshness window is acceptable and the team needs separate report execution, shared analytical models, or cross-system analysis. A hybrid is also reasonable: operational dashboards can use Atlas SQL while historical analysis runs in a warehouse. Before committing, obtain the undisclosed pricing terms and include failed-node and interrupted-ingestion tests in the acceptance criteria.

Attribution

Sources

Read the original source for full details and context.

Report a problem

Links, dates or what you expected. Do not include passwords or private data.

Atlas SQL on dedicated clusters or warehouse exports: choosing where reports run · BuildRiot