Skip to content
Skills Library
Data & analytics · Analysis

role-database:multi-model-databases

/role-database:multi-model-databases

Deep operational guide for 8 multi-model databases. ArangoDB (AQL, SmartGraphs, Foxx), SurrealDB (SurrealQL, LIVE SELECT), FaunaDB (FQL v10, distributed ACID), Cosmos DB (5 consistency levels, multi-API), OrientDB, MarkLogic, InterSystems IRIS. Use when a single database must support document, graph, key-value, or relational access patterns simultaneously.

Licence
MIT
Last repository change
24.07.2026

Assessment and security

90/ 100Class: good
Format15 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
5
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 24.07.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Deep operational guide for 8 multi-model databases. ArangoDB (AQL, SmartGraphs, Foxx), SurrealDB (SurrealQL, LIVE SELECT), FaunaDB (FQL v10, distributed ACID), Cosmos DB (5 consistency levels, multi-API), OrientDB, MarkLogic, InterSystems IRIS. Use when a single database must support document, graph, key-value, or relational access patterns simultaneously.

Original author description

Deep operational guide for 8 multi-model databases. ArangoDB (AQL, SmartGraphs, Foxx), SurrealDB (SurrealQL, LIVE SELECT), FaunaDB (FQL v10, distributed ACID), Cosmos DB (5 consistency levels, multi-API), OrientDB, MarkLogic, InterSystems IRIS. Use when a single database must support document, graph, key-value, or relational access patterns simultaneously.

How it works

  1. When to Use This Skill
  2. Multi-Model vs Polyglot Decision
  3. Selection Matrix
  4. Core Principles
  5. Reference Files
Original SKILL.md headings · 47 lines, 326 words
SKILL.md preview
---
name: role-database:multi-model-databases
description: |
  Deep operational guide for 8 multi-model databases. ArangoDB (AQL, SmartGraphs, Foxx), SurrealDB (SurrealQL, LIVE SELECT), FaunaDB (FQL v10, distributed ACID), Cosmos DB (5 consistency levels, multi-API), OrientDB, MarkLogic, InterSystems IRIS. Use when a single database must support document, graph, key-value, or relational access patterns simultaneously.
allowed-tools: Read, Grep, Glob, Bash
---

You are a multi-model databases specialist informed by the Software Engineer by RN competency matrix.

## When to Use This Skill

Use when a single database must serve multiple access patterns (document, graph, key-value, relational) or when evaluating multi-model vs. polyglot persistence.

## Multi-Model vs Polyglot Decision

```
Multi-Model (one system):
+ Simplified ops, cross-model transactions, lower infra cost for small teams
- May not excel at any single model, vendor lock-in to proprietary query language

Polyglot Persistence (specialized databases per workload):
+ Best-in-class per model, independent scaling
- Complex sync (CDC/ETL), higher operational overhead
```

## Selection Matrix

| Use Case | Recommended | Why |
|----------|-------------|-----|
| Social network + content | ArangoDB, SurrealDB | Graph traversal + document storage |
| Global e-commerce | Cosmos DB, FaunaDB | Multi-region ACID, global distribution |
| Startup MVP (all-in-one) | SurrealDB | Simple setup, LIVE SELECT, built-in auth |
| Enterprise content + semantic | MarkLogic | Document + full-text + RDF/SPARQL |
| Healthcare / HL7/FHIR | InterSystems IRIS | Built-in interoperability layer |
| Azure-native multi-API migration | Cosmos DB | Gremlin/SQL/Table/KV APIs on one store |

## Core Principles

- ArangoDB: AQL unifies document and graph; use SmartGraphs for sharded traversals
- SurrealDB: SCHEMAFULL tables in production; LIVE SELECT for real-time apps
- FaunaDB: index every query pattern (no full scans), leverage temporal queries
- Cosmos DB: partition key is the most critical design decision — cannot change later
- MarkLogic/IRIS: enterprise licenses, not open-source; evaluate total cost of ownership

## Reference Files

Load the relevant reference file when you need implementation details:

- **references/arangodb.md** — AQL queries, graph traversal, SmartGraphs, Foxx microservices, ArangoSearch, cluster deployment
- **references/surrealdb-fauna.md** — SurrealQL schema/relations, LIVE SELECT, built-in auth, FQL v10, distributed ACID transactions, streaming
- **references/cosmos-db.md** — partition key design, 5 consistency levels, Core SQL API, change feed, global distribution, RU provisioning
- **references/orientdb-marklogic-iris.md** — OrientDB document-graph SQL, MarkLogic XQuery/SPARQL/Optic, IRIS ObjectScript/FHIR, design pattern summary
Files in this package (5)
  • SKILL.md 3 KB
  • references/arangodb.md 4 KB
  • references/cosmos-db.md 4 KB
  • references/orientdb-marklogic-iris.md 4 KB
  • references/surrealdb-fauna.md 4 KB

Versions

The database has no other skills named role-database:multi-model-databases.

Database snapshot: 13.11.2026 · package version 53d191bd85a4 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100arangodb
    Expert ArangoDB multi-model database assistance covering AQL, document collections, graphs, and Foxx microservices. Use when querying graph relationships, joining document stores, or designing multi-model schemas.
  • 100arangodb-multi-model-database-operations
    Covers operating ArangoDB, a multi-model database combining document, graph, and key-value collections in a single engine with a unified query language (AQL): collection type selection, graph traversal via AQL, and cluster configuration (coordinators, DB-servers, agency). Use…
  • 80role-database:document-databases
    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,…
  • 100surrealdb
    Expert SurrealDB 3 skill. Use when working with SurrealDB, SurrealQL queries, multi-model data modeling (document, graph, vector, time-series, geospatial), schema design, graph traversal, vector search, security and permissions, deployment and operations, performance tuning, SDK…
  • 80role-database:relational-databases
    Deep operational guide for 20 relational/SQL databases. PostgreSQL tuning (VACUUM, WAL, partitioning, extensions, PgBouncer), MySQL/MariaDB (InnoDB, Vitess, Galera, ProxySQL), Oracle (RAC, Data Guard), MS SQL Server (AlwaysOn AG, columnstore), SQLite, Db2, HANA, and managed…
  • 100surrealql
    Generate and modify SurrealQL queries to interact with SurrealDB databases. This includes creating and retrieving records, designing and managing schemas, establishing and querying graph relationships, performing live (real-time) queries, and leveraging all unique SurrealQL…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.