cpu-profile
A skill kept in the ClickHouse repository for finding where a ClickHouse query spends CPU time, using the server's built-in sampling profiler rather than Linux perf.
Was der Skill vermittelt
A skill kept in the ClickHouse repository for finding where a ClickHouse query spends CPU time, using the server's built-in sampling profiler rather than Linux perf. Given a query ID, the agent analyses existing traces; given SQL, it runs the query through clickhouse-client with a fresh ID and fine-grained profiler settings; with no input it can list recent slow queries. Three parallel subagents pull the busiest leaf functions, the most common full stacks and a collapsed-stack export from the trace log, and the agent reports hotspots, a breakdown by subsystem and findings. Follow-ups filter by function, compare wall-clock with CPU samples or draw a flamegraph. It needs introspection functions enabled and the debug symbols package.
Funktionen
- Run a ClickHouse query with the sampling profiler
- List the busiest functions and stacks
- Export collapsed stacks for a flamegraph
- Compare wall-clock and CPU samples
Überblick
- Herausgeber
- ClickHouse
- Tool
- Debugging
Funktioniert mit
Installation
Das Projekt dokumentiert keine Installationsschritte, die wir bestätigen konnten. Zur Anleitung des Projekts
MCP-Server und Skills können Code auf deinem Rechner ausführen und auf deine Daten zugreifen. Prüfe den Quellcode, bevor du etwas installierst.
Details
| Angabe | Wert | Quelle |
|---|---|---|
| Typ | Skill | |
| Tool | Debugging | |
| Herausgeber | ClickHouse | Quelle |
| Offizieller Status | In der Dokumentation nicht angegeben | |
| Braucht API-Key oder Anmeldung | In der Dokumentation nicht angegeben | |
| Enthält Skripte | Nein | Quelle |
| Plattformen | In der Dokumentation nicht angegeben | |
| KI-Clients | Claude Code | Quelle |
| Lizenz | Apache-2.0 | Quelle |
| Preis | In der Dokumentation nicht angegeben | |
| Aktivität | Letzter Commit am 11. Nov. 202650.877 GitHub-SterneKeine Download-Daten verfügbar (nicht auf npm oder PyPI) | Quelle |
| Links | Repository Website |
Mehr von ClickHouse
22 Skills
- clickhouse-pr-description (Skill)
- continue-pr (Skill)
- good-prs (Skill)
- alloc-profile (Skill)
- bisect (Skill)
- clean-old-worktrees-global (Skill)
Auch zu finden unter: Debugging
Quellen
- Skill-Datei (SKILL.md)github.com/ClickHouse/ClickHouse · Belegt: Enthält Skripte10. Nov. 2026
- GitHub-Repositorygithub.com/ClickHouse/ClickHouse · Belegt: Herausgeber17. Nov. 2026
- GitHub-Repositorygithub.com/clickhouse/clickhouse · Belegt: Aktivität, Lizenz11. Nov. 2026
- Ordner im Repository (cpu-profile)github.com/ClickHouse/ClickHouse · Belegt: Enthält Skripte10. Nov. 2026