database-sharding-skill

Community

Scale data access with time-based sharding.

AuthorPenitence1992
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables scalable data access by implementing time-based database sharding across partitioned tables, allowing efficient queries over large datasets.

Core Features & Use Cases

  • Time-based partitioning utilities for year- and week-based tables.
  • Shard-aware query execution that automatically resolves target tables within a time window.
  • Use Case: Generate shard table names from timestamps and perform multi-table range queries with a single API.

Quick Start

  • Define a base table name and time range, then use GetTableNameByTimestamp to determine shard tables.
  • Use EventDataSetDo to fetch results across all relevant partitions in parallel.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: database-sharding-skill
Download link: https://github.com/Penitence1992/go-zero-backend-skills/archive/main.zip#database-sharding-skill

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.