> This page location: /docs.md > /docs/development.md > /docs/atlas/data-federation.md

> For the complete MongoDB documentation index, see www.mongodb.com/docs/llms.txt

<!--
Tab options on this page. Append to the .md URL to filter:
  ?tabs=<id,...>   select specific tabs (e.g. ?tabs=nodejs,shell)
  ?allTabs=true    include every tab
  (no param)       default: one tab per tabset

Available tabs:
  other tabs: aws, azure, gcp
-->

# Atlas Data Federation Query and Feature Limitations

This page consolidates Atlas Data Federation limitations and operational behaviors with detailed guidance on connections, performance, and provider-specific recommendations.

Atlas Online Archive depends on Atlas Data Federation. For limitations specific to Online Archive, see [Limitations.](https://www.mongodb.com/docs/atlas/online-archive/configure-online-archive.md#std-label-config-online-archive-limitations)

## General Limitations

### Unsupported Features

- You cannot create indexes on federated data sources.

- Supported authentication methods are limited to [SCRAM](https://www.mongodb.com/docs/manual/core/security-scram.md#std-label-authentication-scram), [X.509 Certificates](https://www.mongodb.com/docs/manual/core/security-x.509.md#std-label-security-auth-x509), [OIDC](https://www.mongodb.com/docs/atlas/security-oidc.md#std-label-oidc-authentication-authorization), and [AWS IAM](https://www.mongodb.com/docs/atlas/security/aws-iam-authentication.md#std-label-set-up-pwdless-auth) .

- Atlas monitoring tools do not cover Federated Database Instances.

- The federated database instance can use object storage from only *one cloud provider* and from only *one account* within that provider.

- Change streams and multi-document ACID transactions are not supported on federated sources.

### Document Size and Result Ordering

- Federated database instances don't support documents larger than 16 MB.

- Returned document order is not guaranteed unless enforced (for example, with `$sort`).

### Source and Region Considerations

- Each federated database instance runs in a specific cloud and region.

- Archived data stays in the provider's private network.

- Object storage sources are *read-only*.

## Connection Limits and Concurrency

### Client Connections per Region

- Up to *120 guaranteed simultaneous client connections* per region are supported.

### Concurrent Queries

- Running more than *30 simultaneous queries* on an federated database instance is not supported.

- If you exceed the simultaneous query limit, Atlas Data Federation returns an error with the `ResourceExhausted` error code (`402`).

If your aggregation pipeline only contains the [$currentOp](https://www.mongodb.com/docs/atlas/data-federation/admin/determine-query-status.md#std-label-determine-query-status) stage, Atlas Data Federation doesn't enforce the limit on the maximum number of simultaneous queries. You can run queries that only contain the [$currentOp](https://www.mongodb.com/docs/atlas/data-federation/admin/determine-query-status.md#std-label-determine-query-status) stage even after you reach the maximum number of simultaneous queries.

### Query Timeout

Queries sent to MongoDB Atlas Data Federation have a time limit of 6 hours. If [maxTimeMS](https://www.mongodb.com/docs/atlas/atlas-ui/query/maxtimems.md#std-label-atlas-ui-query-bar-max-time-ms) is set up, then the query timeout is the minimum of these two values, for example: `min(maxTimeMS, 6 hours)`.

### Instance Count per Project

- Each project supports up to *25 federated database instances* by default.

- Contact your product representative to increase the limit to up to *100 federated database instances*

## Provider-Specific Recomendations

### AWS

| Supported storage | Amazon S3 |
| --- | --- |
