Limits
The maximum sizes and time limits TeselaDB sets, with their margins.
These are TeselaDB's own limits. Those of the MongoDB protocol, such as the maximum size of a document, are MongoDB's.
| Limit | Value |
|---|---|
| Range that splits by size | 64 MiB of live data or 512 MiB on disk with its versions |
| Neighbouring ranges that merge | Under 16 MiB, without traffic for 10 minutes and with the same replicas |
| Lifetime of a transaction | 60 seconds by default (transactionLifetimeLimitSeconds) |
| Version history | 24 hours by default (teselaHistoryRetention) |
| Clock drift of a node | 125 ms from the cluster median |
| Uncertainty window | Up to 250 ms |
| Closed timestamp of a follower | 3 seconds behind the leader's clock |
| Change stream event | 16 MiB; a larger one is split with $changeStreamSplitLargeEvent |
| Client connections per node | 1,000,000 by default (--maxConns) |
| Request to the administration port | 16 KiB of headers, 1 MiB of body and 5 seconds of time limit |