PostgreSQL செயல்திறனைச் சரிசெய்வது query optimization (மிகபெரிய தாக்கம்), configuration tuning (memory settings), சரியான indexing and maintenance (vacuum), மற்றும் monitoring ஆகியவற்றை உள்ளடக்கியுள்ளது. எப்பொழுதும் போல, முதலில் அளவு செய்யுங்கள் உண்மையான bottleneck கண்டறிய — வழக்கமாக slow queries.
Query optimization பொதுவாக மிகப் பெரிய வெற்றி
query, calls, mean_exec_time pg_stat_statements mean_exec_time ;
EXPLAIN ANALYZE ...;
