General requirements and limits

Browser requirements

Supported browser Minimum version Browser update link

Chrome

69

Edge

79

Firefox

62

Safari

12.1

Global limits

To optimize query performance and share resources in a fair manner, the following global limits are in place.

Users are responsible for working within the limits. Fauna is intended for operational workloads and attempts to run any queries as quickly as possible.

See the Plan details documentation for the throughput limits of individual Fauna plans.

Constraint Limit

Document size

8 MB per document.

Document size is the size of document once encoded. Fauna encodes documents in a binary format that’s smaller than raw JSON.

FSL schema are stored as documents and are subject to this limit.

HTTP request payload size

16 MB per request

Transaction size

16 MB per transaction

Transaction size is the total size of the transaction’s write. Read-only queries are not subject to this limit. Uses the size of binary-encoded document.

Compute operations

12,000 per transaction

Default query execution time even without a timeout

2 minutes

Maximum query execution time even with a timeout

10 minutes

Maximum number of collections per database

1,024

Concurrent index builds

500 per account per Region Group

Index builds for collections with more than 128 documents are handled by a background task. The limit prevents an excessive number of indexes that must be built simultaneously.

If a transaction exceeds this limit, Fauna returns a limit_exceeded error code and a 429 HTTP status code.

Index entries

64 KB

An index entry includes terms and values fields and must not exceed 64 KB.

Pagination size range

1 to 16000 (inclusive)

Minimum and maximum number of paginated values returned by the set.pageSize() or set.paginate() method.

UDF recursion limit

User-defined function (UDF) recursion is limited to a depth of 2048 calls.

Protective service limit

If a query exceeds plan throughput limits, Fauna returns an error with a limit_exceeded error code and a 429 HTTP status code.

Array size

16,000 elements per Array.

String size

16,777,216 characters

Array.sequence() range limit

When calling Array.sequence(), the difference between the start and end values can’t exceed 16,000.

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!