Altinity Expert Clickhouse Part Log

🌐Community
by altinity · vlatest · Repository

This skill logs ClickHouse part queries and their execution times for performance analysis and troubleshooting, boosting operational efficiency.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add altinity-expert-clickhouse-part-log npx -- -y @trustedskills/altinity-expert-clickhouse-part-log
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "altinity-expert-clickhouse-part-log": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/altinity-expert-clickhouse-part-log"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill enables AI agents to manage ClickHouse partition logs, allowing for the discovery and manipulation of log partitions within the database. It streamlines administrative tasks related to log rotation, retention policies, and storage management specifically for ClickHouse environments.

When to use it

  • Automating the cleanup of old partition logs to free up disk space in production clusters.
  • Querying specific time-range logs to troubleshoot historical performance issues without scanning entire datasets.
  • Implementing automated retention strategies that align with compliance requirements for audit trails.
  • Managing partition lifecycle events during high-volume data ingestion scenarios.

Key capabilities

  • Discovery of existing ClickHouse partition logs within the cluster.
  • Execution of log management operations tailored to ClickHouse architecture.
  • Integration with Altinity's expert-level ClickHouse tooling stack.

Example prompts

  • "Identify all ClickHouse partition logs older than 90 days and prepare them for archival."
  • "Create a retention policy that automatically drops partition logs exceeding the last three months of data."
  • "Query the current state of partition logs to verify successful rotation after the latest maintenance window."

Tips & gotchas

Ensure your AI agent has appropriate read/write permissions on the ClickHouse cluster before attempting log manipulation. Always validate partition metadata before executing destructive operations like dropping or merging partitions to prevent accidental data loss.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
altinity
Installs
36

🌐 Community

Passed automated security scans.