supabase-postgres-best-practices

Optimize PostgreSQL performance and reliability across production databases.

Updated Nov 10, 2018
One-click install
npx skills add https://github.com/GLaDO8/dotfiles --skill supabase-postgres-best-practices-glado8
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: supabase-postgres-best-practices
Source: https://github.com/GLaDO8/dotfiles/tree/main/claude/backup/agents-skills/supabase-postgres-best-practices
Command: npx skills add https://github.com/GLaDO8/dotfiles --skill supabase-postgres-best-practices-glado8

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a comprehensive guide to optimizing PostgreSQL performance and reliability.

Core Features & Use Cases

  • Query tuning and index optimization to improve query latency and throughput.
  • Schema design and maintenance guidance, including data types, partitioning, vacuum/analyze, and autovacuum tuning.
  • Security and reliability practices, including RLS, privilege management, and connection-pooling strategies.

Quick Start

  • Run a PostgreSQL performance audit against your database using the Supabase Postgres Best Practices guide.

Frequently Asked Questions about supabase-postgres-best-practices

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

FAQPage Schema
How do I optimize PostgreSQL query performance using EXPLAIN ANALYZE?

Improve PostgreSQL query latency by applying index optimization and query tuning rules. This skill guides you through using EXPLAIN ANALYZE to identify bottlenecks and implement strategies that increase overall database throughput.

What is the best way to configure autovacuum and maintenance for PostgreSQL?

The best way to configure PostgreSQL maintenance is through proper vacuum, analyze, and autovacuum tuning. This skill provides schema design and maintenance guidance to ensure long-term database reliability and performance.

How do I set up Row Level Security policies in PostgreSQL?

Set up PostgreSQL Row Level Security (RLS) by applying the security and reliability practices detailed in this skill. It includes concrete rules for RLS configuration and privilege management to secure production databases.

When do I need connection pooling strategies for my PostgreSQL database?

You need PostgreSQL connection pooling strategies when managing high-concurrency production environments. This skill outlines connection-pooling approaches alongside security policies to maintain reliability and optimize throughput.

Does this PostgreSQL best practices guide cover schema design and partitioning?

Yes, this PostgreSQL best practices guide covers schema design, data types, and partitioning. It provides comprehensive rules and examples for structuring your database to support optimal performance and maintainability.