Cosmos DB 数据建模
原名:cosmosdb-datamodeling
根据访问模式设计 Azure Cosmos DB 的容器、分区键和文档结构。
中文 Skills 技能说明
适合 NoSQL 项目启动或高成本查询重构。先收集真实读写模式、容量和一致性要求,再比较方案;生产数据迁移、索引变更和吞吐调整必须有备份与回退。
上游能力依据
上游原始适用说明:Step-by-step guide for capturing key application requirements for NoSQL use-case and produce Azure Cosmos DB Data NoSQL Model design using best practices and common patterns, artifactsproduced: "cosmosdbrequirements.md" file and "cosmosdbdatamodel.md" file
上游 SKILL.md 主要章节(保留原文标题):
- Role and Objectives
- Documentation Workflow
- Primary Working File: cosmosdbrequirements.md
- Application Overview
- Access Patterns Analysis
- Entity Relationships Deep Dive
- Enhanced Aggregate Analysis
- [Entity1 + Entity2] Container Item Analysis
- Identifying Relationship Check
- User + Orders Container Item Analysis
使用边界
先确认数据口径、只读或写入权限以及备份方案。查询结果需要说明范围,任何结构或数据变更都应先预览并人工确认。
作者、翻译与许可证
- 原作者
- GitHub, Inc. 与 awesome-copilot contributors
- 中文翻译
- CEOFans翻译
- 许可证
- MIT
- 上游来源
- https://github.com/github/awesome-copilot/tree/bbaa5872640e6cbae953beb22a71ae337398ca12/skills/cosmosdb-datamodeling
适用范围
平台:linux、macos、windows;标签:数据与数据库、Cosmos DB 数据建模
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。