> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Limits

This page lists the limits Bijection enforces. They apply per installation unless
stated otherwise. They do not depend on a plan: plans and prices are not yet
published. [Contact us](https://docs.bijection.com/operate/support.md) if a limit blocks your application.

## Installations

| | Limit | Notes |
| - | - | - |
| Installations per team | Set by the platform, 1 to 64 | Creating an installation beyond the limit is refused. |
| Installation class | S16 | Every installation uses the same class. Choosing a class is not offered. |

The class sets the [concurrency limits](#concurrent-function-executions) below.
Creating an installation can also be refused while the platform has no free
capacity.

## Database

| | Limit | Notes |
| - | - | - |
| Tables | 10,000 | |
| Indexes per table | 64 | |
| Fields per index | 16 | |
| Write throughput | 4 MiB per second | Shared by mutations and imports. |

### Restrictions

* A table's path segment must be a valid identifier and cannot start with an
  underscore. Indexes are unnamed: they are [matched by structure](https://docs.bijection.com/database/indexes.md).

## Facts

| | | Notes |
| - | - | - |
| Size | 1 MiB | |
| Top-level fields | 1024 | Includes a minted table's key field `id`. |
| Field name length | 64 characters | Nested `Object` keys can have length up to 1024 characters. |
| Nesting depth | 16 | How many times objects and arrays can be nested, e.g. `[[[[]]]]` |

### Restrictions

* A fact's top-level field names must only contain non-control alphanumeric
  ASCII characters and underscores and must start with an alphabetic character.
* Facts cannot contain top-level fields that start with an underscore.

## Values

Applied to every [Bijection value](https://docs.bijection.com/database/types.md), including values in
facts, function arguments, and return values.

| | | Notes |
| - | - | - |
| Array elements | 8192 | Per array |
| Object fields | 1024 | Per object |
| Field name length | 1024 characters | |
| Nesting depth | 64 | How many times objects and arrays can be nested. [Facts](#facts) are limited to 16. |

### Restrictions

* Strings must be valid Unicode sequences with no unpaired surrogates.

## Functions

| | Limit | Notes |
| - | - | - |
| Function argument size | 16 MiB | |
| Function return value size | 16 MiB | |
| Route reaction response size | 20 MiB | Request bodies have the same limit. |
| Length of a log line | 32 KiB | Longer lines are truncated. |
| Log lines per query or mutation | 256 | Additional lines are dropped. |

## Concurrent Function Executions

The number of functions an installation runs at a time, by function type.

| | Limit |
| - | - |
| Queries | 16 |
| Mutations | 16 |
| Tasks run by the host (continuations, mutation performers, clock reactions) | 8 |

## Execution time and tasks

| | Limit | Notes |
| - | - | - |
| Query/mutation execution time | 1 second | Limit applies only to user code and doesn’t include database operations. |
| Tasks submitted by one mutation | 1000 | The number of `ctx.submit` calls a single transaction commits. |
| Total size of the arguments of the tasks one mutation submits | 16 MiB | |

## Transactions

These limits apply to each `query` or `mutation` transaction. A read that
would pass one refuses the transaction with `Limit`; see
[what a write may touch](https://docs.bijection.com/database/writing.md#what-a-write-may-touch).

| | Limit | Notes |
| - | - | - |
| Data read | 16 MiB | |
| Data written | 16 MiB | |
| Facts scanned | 32,000 | Facts an index range reads, whether returned or not |
| Index ranges read | 4,096 | The number of `ctx.get`, `ctx.has`, `ctx.list`, `ctx.page` and `ctx.count` reads. |
| Facts written | 16,000 | |

File reads in mutations share a transaction budget across nested calls. The
default allowance is 10 files and 16 MiB. A transaction commits by
`ctx.frame.now.entry` plus `ctx.frame.within`, or refuses `Expired`; exceeding a
bound refuses `Limit`.

## Branch landings

| Limit | Value |
| - | - |
| One managed Store append | 4 MiB |

A landing whose recorded writes exceed the bound fails with `Limit` / `LandingTooLarge` before running any root.
The refusal carries the root count, the measured bytes and the bound.
`bijection bulk accept --group` splits an import into independent atomic groups.

## Audit records

| Limit | Value |
| - | - |
| Default retention | 30 days |
| Records per API page | 100 |
| Historical cursor lifetime | 5 minutes |
| Atomic audit group | 8 MiB and 2,048 events |
| Individual event, including native metadata | 2 MiB |
| Standalone appends admitted concurrently | 16 |
| Standalone append deadline | 10 seconds |

Function executions also retain their existing audit limits: 500 lines, 100,000
bytes per line, and 4,000,000 bytes total. API responses target 512 KiB; a
single larger event is returned alone. Audit groups include function statements
and any guard decisions at the same boundary.

## Environment Variables

Applied per installation.

| | Limit |
| - | - |
| Number of variables | 512 |
| Total size of all names and values | 512 KiB |
| Maximum name length | 256 characters |
| Maximum value size | 8 KiB |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.