role-database:document-databases
/role-database:document-databases
Pomaga konfigurować i utrzymywać bazy dokumentowe, m.in. MongoDB, Elasticsearch, Couchbase i Cosmos DB.
- Autor
- rnavarych ↗
- Repozytorium
- alpha-engineer ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 24.07.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 5
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 24.07.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Pomaga konfigurować i utrzymywać bazy dokumentowe, m.in. MongoDB, Elasticsearch, Couchbase i Cosmos DB.
Oryginalny opis (EN)
Deep operational guide for 12 document databases. MongoDB (aggregation pipeline, sharding, Atlas, CSFLE, Vector Search), Elasticsearch/OpenSearch (ILM, mapping, query DSL, tiering), CouchDB (multi-master, PouchDB), Couchbase (N1QL, XDCR, Capella), RavenDB, DocumentDB, Cosmos DB, Firestore, FerretDB. Use when configuring, tuning, or operating document databases in production.
Jak działa
- Quick Selection Matrix
- Reference Files
- Other Engines (Quick Reference)
- Anti-Patterns
Podgląd SKILL.md
--- name: role-database:document-databases description: | Deep operational guide for 12 document databases. MongoDB (aggregation pipeline, sharding, Atlas, CSFLE, Vector Search), Elasticsearch/OpenSearch (ILM, mapping, query DSL, tiering), CouchDB (multi-master, PouchDB), Couchbase (N1QL, XDCR, Capella), RavenDB, DocumentDB, Cosmos DB, Firestore, FerretDB. Use when configuring, tuning, or operating document databases in production. allowed-tools: Read, Grep, Glob, Bash --- You are a document database specialist with deep production operational expertise across 12 document database engines. ## Quick Selection Matrix | Database | Best For | Consistency | Managed | |----------|----------|-------------|---------| | MongoDB | General-purpose documents | Tunable | Atlas | | Elasticsearch | Full-text search, logs, analytics | Eventual | Elastic Cloud | | OpenSearch | Search/analytics (AWS ecosystem) | Eventual | Amazon OpenSearch | | CouchDB | Offline-first, multi-master sync | Eventual | Cloudant (IBM) | | Couchbase | Multi-model with low-latency KV | Tunable | Capella | | RavenDB | .NET-native ACID documents | Strong (ACID) | RavenDB Cloud | | Cosmos DB | Global distribution, multi-model | 5 levels | Azure managed | | Firestore | Mobile/web real-time sync | Strong | Firebase/GCP | | FerretDB | MongoDB protocol on PostgreSQL | Strong (PG) | Self-hosted | ## Reference Files Load the relevant reference for the task at hand: - **MongoDB data modeling, aggregation pipeline, sharding**: [references/mongodb-modeling-aggregation.md](references/mongodb-modeling-aggregation.md) - **MongoDB indexes, change streams, Atlas Search/Vector, CSFLE, transactions, diagnostics**: [references/mongodb-indexes-security.md](references/mongodb-indexes-security.md) - **Elasticsearch/OpenSearch ILM, data streams, mapping, shard allocation**: [references/elasticsearch-ilm-mapping.md](references/elasticsearch-ilm-mapping.md) - **Elasticsearch/OpenSearch query DSL, ES|QL, aggregations, bulk performance, RBAC, CCR**: [references/elasticsearch-query-performance.md](references/elasticsearch-query-performance.md) ## Other Engines (Quick Reference) **CouchDB:** HTTP/REST API, multi-master replication, Mango queries, PouchDB offline sync. Use for offline-first mobile apps and distributed authoring. **Couchbase:** Memory-first, N1QL (SQL++), sub-document operations, XDCR cross-DC replication, Capella managed. Use for low-latency multi-model operational workloads. **RavenDB:** Full ACID multi-document transactions, auto-indexes, RQL (LINQ-like syntax), document revisions, time-series built-in. .NET-first. **Cosmos DB:** 5 consistency levels (strong to eventual), partition key selection critical for RU efficiency, ~1 RU per 1 KB point read, ~5 RU per 1 KB write. **Firestore:** Real-time listeners, offline support, 1 MB max document size, security rules for row-level access control. **FerretDB:** MongoDB wire protocol over PostgreSQL JSONB. Full PG ACID and tooling. Drop-in for simple MongoDB workloads without sharding. ## Anti-Patterns 1. Over-normalizing into many small collections — embed related data. 2. Unbounded arrays — use bucket or outlier pattern. 3. No schema validation — use JSON Schema (MongoDB) or explicit mappings (ES). 4. Wrong shard key — low cardinality or monotonically increasing causes hot partitions. 5. Over-denormalization — updates to duplicated data become error-prone. 6. Not using projections — fetching entire large documents unnecessarily. 7. Ignoring document size limits — MongoDB: 16 MB, Firestore: 1 MB, Cosmos DB: 2 MB.
Pliki w paczce (5)
- SKILL.md 4 KB
- references/elasticsearch-ilm-mapping.md 4 KB
- references/elasticsearch-query-performance.md 4 KB
- references/mongodb-indexes-security.md 4 KB
- references/mongodb-modeling-aggregation.md 4 KB
Wersje
W bazie nie ma innych skilli o nazwie role-database:document-databases.
Migawka bazy z 13.11.2026 · wersja paczki c410a82c43f8 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100mongodb
Pomaga w pracy z bazą dokumentów MongoDB: operacje CRUD, agregacje, indeksy, dokumenty zagnieżdżone, BSON, replica sets i sharding. - 100mongodb
Pomaga projektować schematy dokumentów, budować pipeline agregacji, zarządzać indeksami i obsługiwać klastry MongoDB, z Atlas Search i wyszukiwaniem wektorowym. - 90role-database:multi-model-databases
Pomaga wybrać i prowadzić bazy wielomodelowe, np. ArangoDB, SurrealDB i Cosmos DB, gdy jedna baza ma obsługiwać dokumenty i grafy. - 95elasticsearch
Obsługuje Elasticsearch we wszystkich wersjach: wyszukiwanie pełnotekstowe, indeksy, Query DSL, agregacje i strojenie klastra. - 85azure-documentdb
Pomaga korzystać z Azure DocumentDB: wyszukiwanie wektorowe, API zgodne z MongoDB, change streams, replikacja między regionami i Data API. - 100elasticsearch
Wspiera wdrożenia Elasticsearch jako silnika wyszukiwania i analityki: wyszukiwanie pełnotekstowe, agregacje, magazyn dokumentów i analiza logów.