Limits

Fauna is a shared, globally-accessible database service. To optimize query performance and share resources in a fair manner, the following limits are in place:

Constraint Limit

Document size

8MB/document

Query size

16MB/query

Transaction size

16MB/transaction

GraphQL schema size

10MB

12,000/transaction

Default query execution time (when no timeout is specified)

2 minutes

Maximum query execution time (even when timeout is specified)

10 minutes

Concurrent index builds

24 per account (not per database)

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.

Whenever the limit would be exceeded, an HTTP 429 error occurs and the transaction is aborted.

Index entries

64k bytes

An index entry includes its terms and values fields, and must not exceed 64k bytes.

As a document database, Fauna is not currently a good storage solution for arbitrary binary blob data, such as images, PDFs, etc.

Was this article helpful?

We're sorry to hear that.
Tell us how we can improve!
Visit Fauna's Discourse forums or email docs@fauna.com

Thank you for your feedback!