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.
スキルの内容
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.
できること
- 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
概要
- 公開元
- ClickHouse
- ツール
- デバッグ
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
| 項目 | 内容 | 出典 |
|---|---|---|
| 種類 | スキル | |
| ツール | デバッグ | |
| 公開元 | ClickHouse | 出典 |
| 公式かどうか | ドキュメントに記載なし | |
| APIキーまたはサインインが必要 | ドキュメントに記載なし | |
| スクリプトを含む | いいえ | 出典 |
| プラットフォーム | ドキュメントに記載なし | |
| AIクライアント | Claude Code | 出典 |
| ライセンス | Apache-2.0 | 出典 |
| 料金 | ドキュメントに記載なし | |
| 活動状況 | 最終コミット 2026年11月11日GitHubスター 50,877ダウンロード数のデータなし(npm・PyPIで未公開) | 出典 |
| リンク | リポジトリ Webサイト |
出典
- スキルファイル(SKILL.md)github.com/ClickHouse/ClickHouse · 根拠となる項目:スクリプトを含む2026年11月10日
- GitHubリポジトリgithub.com/ClickHouse/ClickHouse · 根拠となる項目:公開元2026年11月17日
- GitHubリポジトリgithub.com/clickhouse/clickhouse · 根拠となる項目:活動状況, ライセンス2026年11月11日
- リポジトリ内のフォルダ(cpu-profile)github.com/ClickHouse/ClickHouse · 根拠となる項目:スクリプトを含む2026年11月10日