mongodb-schema-design
MongoDB schema design patterns and anti-patterns. Use when designing data models, reviewing schemas, migrating from SQL, or troubleshooting performance issues caused by schema problems. Triggers on "design schema", "embed vs reference", "MongoDB data model", "schema review", "unbounded arrays", "one-to-many", "tree structure", "16MB limit", "schema validation", "JSON Schema", "time series", "schema migration", "polymorphic", "TTL", "data lifecycle", "archive", "index explosion", "unnecessary indexes", "approximation pattern", "document versioning".
- Version
- 1.0.0
- License
- Apache-2.0
Pinned to revision 4e8964e24a5a, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/mongodb-schema-design/SKILL.md
- skills/mongodb-schema-design/LICENSE
- skills/mongodb-schema-design/references/antipattern-excessive-lookups.md
- skills/mongodb-schema-design/references/antipattern-unnecessary-collections.md
- skills/mongodb-schema-design/references/antipattern-unnecessary-indexes.md
- skills/mongodb-schema-design/references/fundamental-document-model.md
- skills/mongodb-schema-design/references/fundamental-document-size.md
- skills/mongodb-schema-design/references/fundamental-embed-vs-reference.md
- skills/mongodb-schema-design/references/fundamental-schema-validation.md
- skills/mongodb-schema-design/references/pattern-approximation.md
- skills/mongodb-schema-design/references/pattern-archive.md
- skills/mongodb-schema-design/references/pattern-attribute.md
- skills/mongodb-schema-design/references/pattern-bucket.md
- skills/mongodb-schema-design/references/pattern-computed.md
- skills/mongodb-schema-design/references/pattern-document-versioning.md
- skills/mongodb-schema-design/references/pattern-extended-reference.md
- skills/mongodb-schema-design/references/pattern-outlier.md
- skills/mongodb-schema-design/references/pattern-polymorphic.md
- skills/mongodb-schema-design/references/pattern-schema-versioning.md
- skills/mongodb-schema-design/references/pattern-time-series-collections.md
- skills/mongodb-schema-design/references/source-query-stats.md
- skills/mongodb-schema-design/references/source-slow-query-logs.md
Every link opens the file at its source, pinned to the revision this page describes.