data-database-performance
CommunitySpeed up data access with read/write separation.
Software Engineering#pagination#EF Core#data-access#Dapper#AsNoTracking#read/write separation#N+1 prevention
Authorakoken
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill blends proven data-access patterns to dramatically improve query performance by separating read models from write models, minimizing unnecessary tracking and data transfer.
Core Features & Use Cases
- Separate read and write models to optimize queries and commands.
- Enforce always-limited result sets with explicit pagination.
- Use AsNoTracking for reads to avoid unnecessary change tracking overhead.
- Avoid N+1 queries by embracing joins in SQL or batched reads.
- Choose EF Core for writes and Dapper for reads to balance productivity and performance.
Quick Start
Create a pair of read/write stores per aggregate, wire them to your DbContext or data layer, enable AsNoTracking on read queries, and implement a paginated Get methods with a fixed limit.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: data-database-performance Download link: https://github.com/akoken/dotfiles/archive/main.zip#data-database-performance Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.