databases

Design schemas, optimize queries, and manage maintenance for MongoDB and PostgreSQL.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/Khoatran1999/aquarium-commerce --skill databases-khoatran1999
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databases
Source: https://github.com/Khoatran1999/aquarium-commerce/tree/main/.claude/skills/databases
Command: npx skills add https://github.com/Khoatran1999/aquarium-commerce --skill databases-khoatran1999

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pymongo, psycopg2, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Work with MongoDB (document store) and PostgreSQL (relational store) to design scalable schemas, write efficient queries, manage migrations, backups, replication, and performance tuning.

Core Features & Use Cases

  • Schema design, indexing strategies, and query optimization for both databases.
  • Migration, backup, and recovery workflows, including point-in-time strategies and testing.
  • Performance monitoring and troubleshooting with practical patterns and examples.

Quick Start

Audit your MongoDB and PostgreSQL deployments and begin applying unified guidance to your projects.

Frequently Asked Questions about databases

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

FAQPage Schema
How do I optimize PostgreSQL queries and design indexes for large workloads?

Optimize PostgreSQL queries by applying indexing strategies and performance tuning patterns designed for large workloads. This includes schema design adjustments and monitoring techniques to improve database execution speed and overall efficiency.

What is the best way to manage MongoDB schema design and migrations?

Manage MongoDB schema design and migrations by applying unified database guidance that covers document modeling, indexing, and structured migration workflows. This ensures scalable data structures and smooth transitions across small to large deployments.

Can I use pymongo and psycopg2 for database backups and replication?

Yes, you can use pymongo and psycopg2 dependencies to facilitate database backups and replication workflows. The guidance covers point-in-time recovery strategies and testing for both MongoDB and PostgreSQL environments.

How do I troubleshoot database performance issues across MongoDB and PostgreSQL?

Troubleshoot database performance issues by applying performance monitoring patterns and practical examples for both MongoDB and PostgreSQL. This identifies bottlenecks through query optimization and indexing strategies across your deployments.

Does this database guidance apply to small scale deployments or only large workloads?

This database guidance applies to both small and large workloads. It provides scalable schema design, indexing, and performance tuning strategies that adapt to various deployment sizes for MongoDB and PostgreSQL environments.