General requirements and limits

Browser requirements

Supported browser Minimum version Browser update link

Chrome

69

Edge

79

Firefox

62

Safari

12.1

Global limits

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

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.

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.

A database can have up to 1,024 .fsl files, including main.fsl. This limit does not include .fsl files for child databases.

\