Limits & Defaults

Per-Op Server Limits

Server-enforced caps announced to every native client in the HelloAckFrame.limits struct. Defaults are uncapped (None); operators set caps via configuration. Exceeding a cap returns a typed LimitExceeded { limit_name, value, max } error rather than truncating silently.

LimitApplies to
max_vector_dimVector embedding dimensionality
max_top_ktop_k for vector / FTS / hybrid retrieval
max_scan_limitResult set size on scans
max_batch_sizeRows per batch INSERT/UPSERT
max_crdt_delta_bytesSingle CRDT delta payload
max_query_text_bytesSQL text length
max_graph_depthMAX_DEPTH for graph traversal

SDKs surface these via client.limits(). See Native Protocol — Handshake.

Connection Limits

SettingDefaultMax
Max connections1024Configurable
Data Plane coresCPUs-1CPU count

Collection Limits

LimitValue
Collection name255 chars
Field name255 chars
Document size16 MiB
Vector dimensions65536
Edge properties size16 MiB

Query Limits

LimitValue
SQL text length1 MiB
Result set (default)No limit
MATCH MAX_DEPTH default10
BFS MAX_VISITED default10000

Default Ports

ProtocolPort
pgwire6432
NDB6433
HTTP6480
Sync9090
RESPoff
ILPoff

Default Memory

SettingDefault
memory_limit1 GiB
Docker75% of RAM

Database Boundary

SettingValueNotes
DatabaseId reserved range0–1023System databases; user IDs start at 1024
default databaseDatabaseId(0)Cannot be dropped; always exists

Clone & Mirror

SettingValueNotes
MAX_CLONE_DEPTH8Maximum clone lineage depth; CLONE_DEPTH_EXCEEDED if exceeded
Mirror lag threshold (async)5 s (default)Configurable per mirror; MIRROR_DEGRADED when exceeded
Mirror lag threshold (sync)100 ms (default)Configurable per mirror; MIRROR_DEGRADED when exceeded

Role & Auth

SettingValueNotes
MAX_ROLE_INHERITANCE_DEPTH8Maximum depth of role inheritance chain
Login rate limit (login_ip)30 per minutePer IP address; returns INVALID_CREDENTIALS after capacity exhausted
Login rate limit (login_user)10 per minutePer username; returns INVALID_CREDENTIALS after capacity exhausted

Per-Database Quota Defaults

SettingDefaultNotes
cache_weight1Relative weight for doc cache eviction
priority_classstandardcritical (own fsync group, committed first), standard (batched normally), bulk (extended timeout)
maintenance_cpu_pct25Percentage of core time available for background compaction
idle_session_timeout_secs0Session idle timeout; 0 = disabled
audit_dmlnonenone (disabled), writes (DML inserts/updates/deletes), all (includes selects)