Skip to content

Document per-query and per-principal memory limits#462

Open
puzpuzpuz wants to merge 2 commits into
mainfrom
puzpuzpuz_per_query_mem_limit
Open

Document per-query and per-principal memory limits#462
puzpuzpuz wants to merge 2 commits into
mainfrom
puzpuzpuz_per_query_mem_limit

Conversation

@puzpuzpuz

Copy link
Copy Markdown
Contributor

Summary

Documents the new memory-limit feature across configuration, monitoring, and access control.

OSS — per-workload memory limits

  • configuration/cairo-engine.md: new "Memory limits" section covering the three reloadable workload limits (cairo.query.memory.limit.bytes, cairo.mat.view.refresh.memory.limit.bytes, cairo.wal.apply.memory.limit.bytes), breach behavior, and the best-effort coverage caveat. Cross-links added from the WAL and materialized-views config pages.
  • query/functions/meta.md: query_activity gains the memory_used and memory_limit columns.

Enterprise — per-principal memory limits

  • query/sql/acl/alter-user.md, alter-service-account.md, and a new alter-group.md (+ sidebar): SET MEMORY LIMIT { <size> | UNLIMITED }.
  • security/rbac.md: new "Memory limits" section, the SET MEMORY LIMIT permission, and ALTER GROUP in the command list.
  • query/sql/show.md: memory_limit column on SHOW USERS / GROUPS / SERVICE ACCOUNTS.

Dependencies

Documents:

Web-console syntax highlighting for the new clause: questdb/sql-parser#27

@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown

🚀 Build success!

Latest successful preview: https://preview-462--questdb-documentation.netlify.app/docs/

Commit SHA: c10d9c1

📦 Build generates a preview & updates link on each commit.

- show.md: SHOW SERVICE ACCOUNTS <user|group> returns name, grant_option and
  SHOW GROUPS <user> returns name, external_alias; only the bare listings carry
  the new memory_limit column
- meta.md: query_activity example projects memory_used/memory_limit
- rbac.md: alphabetize ALTER entries in the SQL commands reference
- alter-user.md: add the --- separator before Syntax for parity with siblings
- capacity-planning.md: link the RAM section to the memory limits docs

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant