Skip to content

Releases: azat/chdig

Development Build

26 Feb 20:05

Choose a tag to compare

Development Build Pre-release
Pre-release

Commits

  • 54fc011: Improve ClickHouse Cloud support (Azat Khuzhin) #225

v26.2.3

24 Feb 18:57
v26.2.3

Choose a tag to compare

Bug fixes

  • Fix table/setting for jemalloc profiling - 68cfa52

v26.2.2

23 Feb 20:36
v26.2.2

Choose a tag to compare

Highlights

  • Add system.jemalloc_profile integration - #222
  • Update cursive - likely will make interface faster - 4f7eb19

Fixes

  • Fix flamegraph for profile events - d398bd8
  • Some fixes for leaving/restoring terminal after spawning external programs - #223

Commits

  • 859490f: Update hostname in test to avoid possible hungs in case of troubles with DNS (Azat Khuzhin)
  • d398bd8: Fix flamegraph for profile events (Azat Khuzhin)
  • cdb27ee: Add system.jemalloc_profile integration (Azat Khuzhin) #222
  • 0b6118f: cargo update (Azat Khuzhin)
  • 4f7eb19: Update cursive (Azat Khuzhin)
  • 8f00349: Use futures::futures_channel::mpsc::Receiver::::try_recv over try_next (deprecated) (Azat Khuzhin)
  • b6c16c4: Hide cursor after spawning external programs (Azat Khuzhin) #223
  • c9eba04: Use crossterm from cursive (Azat Khuzhin) #223
  • 56756b1: Add an info message when spawning client (to aviod mixing outputs of client and chdig) (Azat Khuzhin) #223
  • 4fe467b: Some fixes for leaving/restoring terminal after spawning external programs (#223) (Azat Khuzhin) #223
  • 93ef3a0: v26.2.2 (Azat Khuzhin)

v26.2.1

05 Feb 19:52
v26.2.1

Choose a tag to compare

Highlights

  • Highlight all found terms on the screen (be more less(1) like) - 652a5a3
  • Shortcut to copy currently selected query to clipboard - #211
  • Ability to use specific host from cluster (useful for cloud) - #213
  • Implement per-part logs (from merges/mutations) for system.tables/part_log - ddb0ade
  • Implement share logs in pastila.nl with end-to-end encryption - #214
  • Use viz.js directly with temporary files over GraphvizOnline - #216
  • Share pipeline graphs using pastila - #216
  • Fix fuzzy search (ignore word position) - 797b33d
  • Pretty flamegraph sharing via whodidit.you - #217

Fixes

  • Fix hanged updates (due to hang of background runner drop) - 218cbf5
  • Fix column position detection - fcfaf11
  • Update clickhouse-rs to fix CityHash interface - #220

Internal

  • Async code debug support via tokio-console - #219

Commits

  • 652a5a3: Highlight all found terms on the screen (be more less(1) like) (Azat Khuzhin)
  • 0de84ea: Shortcut to copy currently selected query to clipboard (Azat Khuzhin) #211
  • c9ad2ae: Ability to use specific host from cluster (useful for cloud) (Azat Khuzhin) #213
  • 218cbf5: Fix hanged updates (due to hang of background runner drop) (Azat Khuzhin)
  • ddb0ade: Implement per-part logs (from merges/mutations) for system.tables/part_log (Azat Khuzhin)
  • 7fc0a5d: Update link to asciinema for v26.1.1 release (Azat Khuzhin)
  • fcfaf11: Fix column position detection (Azat Khuzhin)
  • 93d1f21: Implement share logs in pastila.nl with end-to-end encryption (Azat Khuzhin) #214
  • 2dc97cf: Update README (Azat Khuzhin)
  • cad3fc9: Update link to include graph with EXPLAIN PIPELINE graph=1 as example (Azat Khuzhin)
  • 190d8bf: Use --pastila-url for messages (Azat Khuzhin)
  • ed08ab4: Fix format hint for Alt-T (Azat Khuzhin)
  • f7dd14c: Use viz.js directly with temporary files over GraphvizOnline (Azat Khuzhin) #216
  • 1879c3c: Share pipeline graphs using pastila (Azat Khuzhin) #216
  • a9b5763: Rename pastila API (Azat Khuzhin) #216
  • b47a296: Add share into the name of methods that uses pastila (Azat Khuzhin) #216
  • f44b3c9: Share pipeline using pastila + vis.js directly over GraphvizOnline (#216) (Azat Khuzhin) #216
  • 797b33d: Fix fuzzy search (ignore word position) (Azat Khuzhin)
  • 0cc992d: Pretty flamegraph sharing via whodidit.you (Azat Khuzhin) #217
  • 7bae453: Better logging for uploading to pastila (Azat Khuzhin)
  • 54b0bef: Add dialog window for sharing flamegraph (same as for logs) (Azat Khuzhin)
  • 993907a: Async code debug support via tokio-console (Azat Khuzhin) #219
  • 8fe4549: Update clickhouse-rs to fix CityHash interface (Azat Khuzhin) #220

v26.1.1

15 Jan 09:31
v26.1.1

Choose a tag to compare

Highlights

Navigation

  • Add tables parts support (server-wide and per-table) - 08d35d6
  • Add per-table merges/mutations - 6b2c7c8

Usability:

  • Search in log_comment (useful for clickhouse-test) - 5a30897
  • Highlight miss events in query view - 3dd879c
  • Hash-based colorization of hostnames in logs - 106af8d
  • Add filtering by hostname in logs - edf24f5
  • Add --skip-unavailable-shards - cf61ca5

Fixes

  • Fix filtering on some views - ef3b5b5
  • Fix issues with updating multiple SQLQueryView (usually dialogs) - e87a93b

Minor

  • Add database/table for part_log if it was called as main view - 8385d3f
  • Add database/table for table parts if was called as main view - f4039ce
  • Rename actions for sharing flamegraph to include "Share" - 88c9042
  • Implement filtering in query view (by profile events) - d3169ad
  • Show information about specific "sub" query if it is selected - f376d38
  • Bind "Show all queries" to "_" as well - 54d4abb
  • Use hostname column from system.*_log over hostName() - 909764a

asciicast

Commits

  • 3e4f324: Update demo .gif for release 25.12.1 (Azat Khuzhin)
  • 08d35d6: Add tables parts support (server-wide and per-table) (Azat Khuzhin)
  • bf95c67: Add part_log support (server-wide and per-table) (Azat Khuzhin)
  • ef3b5b5: Fix filtering on some views (Azat Khuzhin)
  • e87a93b: Fix issues with updating multiple SQLQueryView (usually dialogs) (Azat Khuzhin)
  • 8385d3f: Add database/table for part_log if it was called as main view (Azat Khuzhin)
  • f4039ce: Add database/table for table parts if was called as main view (Azat Khuzhin)
  • abe048f: Add system.asynchronous_inserts support (Azat Khuzhin)
  • 997e887: Add todo list for tables actions (Azat Khuzhin)
  • 6b2c7c8: Add per-table merges/mutations (Azat Khuzhin)
  • 0df2ffe: Remove copy-paste for params filtering (Azat Khuzhin)
  • 88c9042: Rename actions for sharing flamegraph to include "Share" (Azat Khuzhin)
  • d3169ad: Implement filtering in query view (by profile events) (Azat Khuzhin)
  • a93f3c2: Bundle cursive_table_view create into chdig (Azat Khuzhin) #205
  • ac17081: Join ExtTableView into TableView (Azat Khuzhin) #205
  • ff94ee5: Calculate column width based on the input rows (Azat Khuzhin) #205
  • 4d108ed: Add few words into spell typos excludes (Azat Khuzhin) #205
  • 9487dbd: Optimize column width calculation (udpate it only on items changes) (Azat Khuzhin) #205
  • 15acb97: Fix TableView example (it is private, it won't compile, so use ignore) (Azat Khuzhin) #205
  • dbcfdb0: Calculate column width based on the input rows (#205) (Azat Khuzhin) #205
  • 3dd879c: Highlight miss events in query view (Azat Khuzhin)
  • 377e589: Implement profile events difference for multiple queries (Azat Khuzhin)
  • 681484d: Support *Nanoseconds events (Azat Khuzhin)
  • dea5439: Add query duration as separate event (Azat Khuzhin)
  • f376d38: Show information about specific "sub" query if it is selected (Azat Khuzhin)
  • 54d4abb: Bind "Show all queries" to "_" as well (Azat Khuzhin)
  • 106af8d: Hash-based colorization of hostnames in logs (Azat Khuzhin)
  • edf24f5: Add filtering by hostname in logs (Azat Khuzhin)
  • 1c6510b: Strip common suffix/prefix from hostnames (Azat Khuzhin)
  • efa9833: Use more modern sorting indicators (Azat Khuzhin)
  • b69b294: Add padding for sorting indicators to the column width in TableView (Azat Khuzhin)
  • 3a46787: Fix comment for column width padding (Azat Khuzhin)
  • 49a117b: More modern look (remove borders) (Azat Khuzhin)
  • 46e3ec2: Remove extra space between columns (Azat Khuzhin)
  • da28548: Use cyan bold for full screen view titles (Azat Khuzhin)
  • 303bd75: Store original host name as-is in logs for later filtering (Azat Khuzhin)
  • cf61ca5: Add --skip-unavailable-shards (Azat Khuzhin)
  • f5652b2: Set short hostname (for display) in all llines not only 1000 sample (Azat Khuzhin)
  • 0b7fac2: Contextual log filtering with Ctrl+S (Azat Khuzhin)
  • 909764a: Use hostname column from system.*_log over hostName() (Azat Khuzhin)
  • 55b2866: Cleanup TextLogView (Azat Khuzhin)
  • 2a7561f: Fix calculating column position for resize (Azat Khuzhin)
  • 5a30897: Search in log_comment (useful for clickhouse-test) (Azat Khuzhin)
  • bac1b48: cargo update (Azat Khuzhin)
  • 5e0f0dc: v26.1.1 (Azat Khuzhin)

v25.12.1

03 Dec 09:36
v25.12.1

Choose a tag to compare

Highlights

Minor

  • b8a8a72: Add flamegraphs for MemoryAllocatedWithoutCheck
  • b36e779: Add proper escaping of database.table identifiers for obtaining logs
  • 5135171: Fix "No alias for subquery or table function in JOIN" for merges view on some versions #192
  • d82cce7: Scroll logs only vertically on End/G
  • 44a94c4: Display "Pattern not found" if nothing is found in logs
  • 3ba5a26: Separate category for memory used for IO buffers (IOBufferAllocBytes)
  • 63b22d7: Add engine for tables
  • 8e3f45b: Add CREATE statement for tables (+69801d2)
  • 8a7d2e4: Add ability to override ClickHouse server version (for ClickHouse devs)
  • 49491f9: Fix possibly very high number of queries for Last Queries
  • cf0e71a: Fix possible missing views/processors data for queries (due to drift in ClickHouse)

Commits

  • 9fda7ea: Update screencast (Azat Khuzhin)
  • d3bd799: There is already compatibility with older versions, remove todo (Azat Khuzhin)
  • b8a8a72: Add flamegraphs for MemoryAllocatedWithoutCheck (Azat Khuzhin)
  • 43520c1: s/processes/queries/ leftovers (Azat Khuzhin)
  • 6a42b07: Implement filtering in SQLQueryView (Azat Khuzhin)
  • b36e779: Add proper escaping of database.table identifiers for obtaining logs (Azat Khuzhin)
  • f359c1d: Search dialog like in less(1)! (Azat Khuzhin) #190
  • 0af2595: Preserve filter history (Azat Khuzhin) #190
  • 9095d00: Filter like less! (#190) (Azat Khuzhin) #190
  • 5135171: Fix "No alias for subquery or table function in JOIN" for merges view on some versions (Azat Khuzhin) #192
  • 0395d28: Allow to pass SETTINGS to SQLView of arbitrary type (Azat Khuzhin) #192
  • 791bb64: Fix "No alias for subquery or table function in JOIN" for merges view on some ClickHouse versions (#192) (Azat Khuzhin) #192
  • 76d9e66: Add support for system.background_schedule_pool{,_log} (Azat Khuzhin) #193
  • a1817f2: Improve introspection for background_schedule_pool{,_log} (Azat Khuzhin) #194
  • dff1087: Add bugs list (Azat Khuzhin)
  • d82cce7: Scroll logs only vertically on End/G (Azat Khuzhin)
  • f68179a: Do not seek to the search term on the X axis if it will be visible (Azat Khuzhin)
  • 15920df: Filter logs by query_id/logger_name/level (sacrificing memory usage for logs) (Azat Khuzhin) #195
  • ebfbf13: Better shortcuts for logs filters (Azat Khuzhin)
  • 518d14a: Add todo for show_bottom_prompt() (fuzzy actions) (Azat Khuzhin)
  • 6ac753b: Optimize logs rendering (CPU and Memory) (Azat Khuzhin) #197
  • acf2439: Incrementally handle new log entries (if possible) (Azat Khuzhin) #197
  • 27ef4db: Optimize logs rendering (CPU and Memory) (#197) (Azat Khuzhin) #197
  • 3a7d82d: Remove copy-paste in forward/backward logs search (Azat Khuzhin)
  • f88803d: Flamegraph sharing (Azat Khuzhin) #198
  • 61eb6b0: More logs for uploading flamegraphs to pastila.nl (Azat Khuzhin)
  • bf493dd: Allow to change pastila location via cli arguments (Azat Khuzhin)
  • 44a94c4: Display "Pattern not found" if nothing is found in logs (Azat Khuzhin)
  • 2a61b45: Add pastila.nl response into logs and error message (Azat Khuzhin)
  • 3ba5a26: Separate category for memory used for IO buffers (IOBufferAllocBytes) (Azat Khuzhin)
  • 63b22d7: Add engine for tables (Azat Khuzhin)
  • 8e3f45b: Add CREATE statement for tables (Azat Khuzhin)
  • d1e5008: cargo update (Azat Khuzhin) #203
  • 69801d2: Reimplement showing CREATE TABLE query via SHOW CREATE TABLE over create_table_query (Azat Khuzhin)
  • 5c94b8f: Upload flamegraphs to pastila ClickHouse backend via TCP protocol (Azat Khuzhin) #204
  • 11d6d9a: Cleanup patches comments in Cargo.toml for crates (can be outdated) (Azat Khuzhin)
  • 8a7d2e4: Add ability to override ClickHouse server version (for ClickHouse devs) (Azat Khuzhin)
  • 14dbe91: Remove outdated note that --wrap uses more CPU (Azat Khuzhin)
  • bec34d0: Log number of rows for executed queries (Azat Khuzhin)
  • 9ea8928: Fix descriptions for some options (Azat Khuzhin)
  • b25d41c: Remove one outdated comment (Azat Khuzhin)
  • 49491f9: Fix possibly very high number of queries for Last Queries (Azat Khuzhin)
  • 4bfb6c6: Implement column removal in middle mouse press (like in chromium) (Azat Khuzhin)
  • cf0e71a: Fix possible missing views/processors data for queries (due to drift in ClickHouse) (Azat Khuzhin)
  • 520a464: Rename some query actions (Azat Khuzhin)
  • 27a616c: v25.12.1 (Azat Khuzhin)

v25.11.2

24 Nov 10:08
v25.11.2

Choose a tag to compare

Highlights

42634f4 Query actions menu for better navigation across query actions (#183)
ebac898 Resize columns on mouse drag
aa71238 Add logs for errors

Bug fixes

ae0502a Add missing border for replicas/tables
8b083ce Fix loading logs with paused updates
2497e1f More accurate threads column for queries

Improvements

c9aa497 Improvements for status bar (get it back and make it better)
8e38024 Add borders and title for fuzzy search dialog
3111e17 Implement Ctrl-w for fuzzy search
4fa460d Treat non-stable version as previous releases
ea4c46e Add JemallocSample/MemorySample tracing
8733dba Avoid leaving leftovers on the screen prio client invocation

Other

316ba91 Add a note how to mitigate possible cargo failure to clone submodules (by @kavirajk)
ae447fc Allow clickhouse-client config file in XDG-compliant location (by @rainac1)

New Contributors

Full Changelog: v25.11.1...v25.11.2

v25.11.1

12 Nov 20:50
v25.11.1

Choose a tag to compare

Highlights

Others

  • Implement query details (print row in Vertical format) - #165

Tunning

  • Change default delay to 30 seconds (31191b0)
  • Add query finish time for last queries (abbbd20)
  • Make chdig cgroup aware (786091c)
  • Add menus into fuzzy search (201fd11)
  • Show only unique tables and replicas in --cluster mode (33e6da6)

CI

  • Add pre-build packages for aarch64 (#167)

Demo

asciicast

Full Changelog: v25.10.1...v25.11.1

v25.10.1

03 Nov 08:01
v25.10.1

Choose a tag to compare

New Features

  • Logs for tables/replicas/backups in #155

Improvements

  • Add memory usage tracked for merges/mutations in 8c82f18
  • Earlier number of CPUs detection in c782163

Bug fixes

  • Fix wrap/no-wrap modes in #147
  • Fix junk symbols in "Show query" in #148
  • Better show query in #148
  • Fix applying --host (should have priority over connections credentails) in a462631
  • Fix ClickHouse features detection in 3079a4a
  • Fix logs scrolling (wrap should change X scrolling, not Y) in 2760309

Internal

Commits

  • 379503b: Add scrolling for "Show query" (it can be pretty big) (Azat Khuzhin)
  • af7d109: Fix wrap/no-wrap modes (Azat Khuzhin) #147
  • e1e145e: Fix preserving the row selection in non-query views with --cluster (Azat Khuzhin)
  • 5a0c594: Fix junk symbols in "Show query" (Azat Khuzhin) #148
  • 814c5bf: More beaty format of SETTINGS in "Show query" output (Azat Khuzhin) #148
  • 2bc02eb: Better show query (#148) (Azat Khuzhin) #148
  • 8c82f18: Add memory usage tracked for merges/mutations (Azat Khuzhin)
  • c782163: Earlier number of CPUs detection (Azat Khuzhin)
  • 2fc9fe2: Accept absolute time (datetime/date/datetime with timezone) for --begin/--end (Azat Khuzhin)
  • 50ce4f0: cargo update (Azat Khuzhin) #153
  • 322d60f: Better naming (Azat Khuzhin) #154
  • e41fc5c: Add ability to save chdig logs into file (Azat Khuzhin) #154
  • a462631: Fix applying --host (should have priority over connections credentails) (Azat Khuzhin)
  • 9a84f2d: Initialize logging to file earlier for better debugging (Azat Khuzhin)
  • c8efa9b: Apply pre-commit (to avoid noisy changes) (Azat Khuzhin)
  • 3079a4a: Fix ClickHouse features detection (Azat Khuzhin)
  • 834a124: Hide chdig console in case of logging is done to a file (Azat Khuzhin)
  • 2760309: Fix logs scrolling (wrap should change X scrolling, not Y) (Azat Khuzhin)
  • 719ab23: Fix duplicated keys for shortcuts in process list (Azat Khuzhin)
  • 284cb2b: Prepare logs infrastructure not only for queries and add per-replica logs (Azat Khuzhin) #155
  • 5f0971f: Add tables view with per-table logs (Azat Khuzhin) #155
  • 5c99e2c: Unique view names for per-table/replicas logs (Azat Khuzhin) #155
  • 9c867a7: Add logs for backups (Azat Khuzhin) #155
  • b52e5ca: Add ability to limit amount of logs (Azat Khuzhin) #155
  • c4faf9d: Update todos for merges/mutations logs (Azat Khuzhin) #155
  • b05ed77: Logs for tables/replicas/backups (#155) (Azat Khuzhin) #155
  • 04faffa: cargo update (Azat Khuzhin)
  • af3ae61: v25.10.1 (Azat Khuzhin)

Full Changelog: v25.8.1...v25.10.1

v25.8.1

10 Aug 16:23
v25.8.1

Choose a tag to compare

What's Changed

  • Use system database (default may not exist) by @azat in #141
  • Fix frame orders on flamegraphs (trace_log.symbols was not reversed) and support versions w/o trace_log.symbols by @azat in #142
  • Use separate channel for each event by @azat in #143

Full Changelog: v25.7.1...v25.8.1