home / skills / partme-ai / full-stack-skills / cloud-tencent-cdb

cloud-tencent-cdb skill

/skills/cloud-tencent-cdb

This skill provides guidance for Tencent Cloud CDB covering database creation, configuration, backups, and ongoing management.

npx playbooks add skill partme-ai/full-stack-skills --skill cloud-tencent-cdb

Review the files below or copy the command above to add this skill to your agents.

Files (2)
SKILL.md
683 B
---
name: cloud-tencent-cdb
description: Provides comprehensive guidance for Tencent Cloud CDB including database creation, configuration, backups, and CDB management. Use when the user asks about Tencent Cloud CDB, needs to create CDB databases, configure CDB, or manage Tencent Cloud database services.
license: Complete terms in LICENSE.txt
---

## When to use this skill

Use this skill whenever the user wants to:
- [待完善:根据具体工具添加使用场景]

## How to use this skill

[待完善:根据具体工具添加使用指南]

## Best Practices

[待完善:根据具体工具添加最佳实践]

## Keywords

[待完善:根据具体工具添加关键词]

Overview

This skill provides practical, step-by-step guidance for managing Tencent Cloud CDB (Cloud Database). It covers database creation, configuration, backups, scaling, security, and routine operations to keep CDB instances healthy and performant. The focus is on actionable instructions, recommended settings, and troubleshooting tips.

How this skill works

The skill inspects common CDB workflows and translates Tencent Cloud concepts into concrete actions: choosing engine and instance types, setting up networks, configuring parameters, and scheduling backups. It guides through CLI and console commands, backup restoration, read replicas, and basic performance tuning. It also highlights security controls like VPC, security groups, SSL, and account permissions.

When to use it

  • You plan to create a new Tencent Cloud CDB instance and need recommended defaults.
  • You need to configure networking, high availability, or read replicas for production workloads.
  • You want to implement backup, point-in-time recovery, or restore procedures.
  • You must tune performance or troubleshoot slow queries and replication lag.
  • You need security hardening: users, roles, SSL, and firewall rules.

Best practices

  • Choose the appropriate CDB engine and instance class based on workload profile and IOPS needs.
  • Place CDB instances in a VPC and restrict access via security groups and private networks.
  • Enable automated daily backups and configure point-in-time recovery for critical data.
  • Use read replicas for read-heavy workloads and promote replicas for failover when needed.
  • Monitor instance metrics (CPU, memory, connections, disk IO) and set alerts for thresholds.

Example use cases

  • Create a MySQL 8.0 CDB instance with private network access and automated backups for a web application.
  • Configure a primary-replica setup to scale reads and reduce load on the primary database.
  • Restore a daily backup to a staging instance for testing or data recovery validation.
  • Tune slow queries by adjusting indexes, query plans, and innodb parameters.
  • Harden a CDB instance by enforcing SSL for client connections and restricting user privileges.

FAQ

Can this skill help choose instance size and storage?

Yes. It provides guidance on selecting instance classes, storage types, and IOPS sizing based on workload patterns and expected growth.

Will it show how to restore from backup?

Yes. It outlines steps for restoring full backups and using point-in-time recovery, including console and CLI commands and validation checks.