database-architecture

Classify workloads and design database architectures across OLTP, OLAP, relational, and non-relational systems.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/Tiepbm/software-engineering-agent --skill database-architecture-tiepbm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-architecture
Source: https://github.com/Tiepbm/software-engineering-agent/tree/main/skills/database-architecture
Command: npx skills add https://github.com/Tiepbm/software-engineering-agent --skill database-architecture-tiepbm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps engineering teams pick and design the right database platforms for workloads, avoiding misfits, cost overruns, and data-model lock-in.

Core Features & Use Cases

  • Workload-driven platform selection across OLTP, OLAP, document, key-value, and graph stores.
  • Definition of canonical and derived data stores, cache layers, search indexes, and analytic marts.
  • Guidance on scalability, partitioning, replication, backup, and migration with explicit decision principles and governance considerations.

Quick Start

Provide a workload profile (data shape, growth rate, latency targets, and consistency needs) and the system will propose a canonical database architecture with derived stores, caching, and analytic layers.

Frequently Asked Questions about database-architecture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose the right database architecture for my workload?

Database architecture selection requires evaluating workload characteristics like data shape, growth rate, latency targets, and consistency needs to identify the optimal platform. This approach matches OLTP, OLAP, relational, and non-relational systems to specific enterprise requirements.

What is the difference between canonical and derived data stores in system design?

Canonical data stores serve as the primary source of truth, while derived stores, cache layers, and search indexes are built from the canonical store to optimize read latency and specific query patterns. This separation balances consistency with performance.

How do I design database partitioning and replication for high scalability?

Database partitioning and replication design uses explicit decision principles based on your workload profile to distribute data and ensure availability. Architecture-level guidance scales systems while maintaining governance and consistency requirements.

Does this database architecture approach work for both OLTP and OLAP workloads?

The database architecture approach supports both OLTP and OLAP workloads across enterprise-grade systems. It classifies workload needs and proposes appropriate relational, non-relational, document, key-value, and graph store platforms.

When should I add a cache layer or search index to my database architecture?

Add a cache layer or search index to your database architecture when read latency targets exceed canonical store capabilities or when complex search queries degrade performance. The design defines these layers based on specific workload profile demands.