Add system.jemalloc_profile_text#97218
Merged
antonio2368 merged 11 commits intomasterfrom Feb 23, 2026
Merged
Conversation
Contributor
|
Workflow [PR], commit [a4e5119] Summary: ❌
|
b6eb687 to
cfdcf4b
Compare
Member
|
@antonio2368 thank you! BTW what do you think about adding predefined HTTP handlers with flamegraphs as SVGs? With this it is pretty straightforward |
Member
Author
|
I plan to use this to add flamegraphs to the dashboard created in #97077 |
cfdcf4b to
0ae1793
Compare
4b7b159 to
e0b487d
Compare
e0b487d to
e1b8fe8
Compare
azat
reviewed
Feb 19, 2026
tests/queries/0_stateless/03925_jemalloc_profile_system_table.sh
Outdated
Show resolved
Hide resolved
azat
reviewed
Feb 19, 2026
829c1bd to
f20338f
Compare
azat
reviewed
Feb 19, 2026
tests/queries/0_stateless/03925_jemalloc_profile_system_table.sh
Outdated
Show resolved
Hide resolved
azat
reviewed
Feb 19, 2026
tests/queries/0_stateless/03925_jemalloc_profile_system_table.sh
Outdated
Show resolved
Hide resolved
azat
reviewed
Feb 19, 2026
azat
reviewed
Feb 19, 2026
azat
reviewed
Feb 19, 2026
azat
reviewed
Feb 19, 2026
1 task
a4878ea to
f5c6748
Compare
azat
reviewed
Feb 20, 2026
Member
Author
|
@azat I just figured we can also get allocation count in collapsed format so I added |
Member
🔝 |
azat
reviewed
Feb 20, 2026
azat
reviewed
Feb 20, 2026
azat
approved these changes
Feb 20, 2026
Rename the system table and all corresponding settings: - `system.jemalloc_profile` → `system.jemalloc_profile_text` - `jemalloc_profile_output_format` → `jemalloc_profile_text_output_format` - `jemalloc_profile_symbolize_with_inline` → `jemalloc_profile_text_symbolize_with_inline` - `jemalloc_profile_collapsed_use_count` → `jemalloc_profile_text_collapsed_use_count` - `StorageSystemJemallocProfile` → `StorageSystemJemallocProfileText` Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Algunenano
pushed a commit
to Algunenano/ClickHouse
that referenced
this pull request
Feb 24, 2026
…rofile Add system.jemalloc_profile_text
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Added
system.jemalloc_profile_texttable for reading and analyzing jemalloc heap profiles. The output format is controlled by thejemalloc_profile_text_output_formatsetting (raw, symbolized, or collapsed; default collapsed). Inline frame resolution is controlled byjemalloc_profile_text_symbolize_with_inline(when enabled, inline frames are included at the cost of slower symbolization; when disabled, they are skipped for faster output). For the collapsed format,jemalloc_profile_text_collapsed_use_countcontrols whether stacks are weighted by live allocation count (true) or live bytes (false, default). This enables easier memory profiling and flame graph visualization of jemalloc heap profiles. Fixes #93248