Files
pgMultiMasterAgent/feat.txt
T
george cd99831abc feat:
--Added Features in feat.txt
2026-09-22 15:45:48 +05:30

53 lines
5.4 KiB
Plaintext

| Area | What to show | Why it matters |
| -------------------- | -------------------------------------------- | ------------------------------------------- |
| Node status | Up/down, PostgreSQL service state, uptime | Tells you whether the node is reachable |
| CPU | Current %, load average | Detects compute saturation |
| Memory | Used/free RAM, swap | Finds memory pressure |
| Disk | Used %, free GB, IOPS, read/write latency | Disk issues can kill DB performance |
| Network | RX/TX, latency, packet loss | Important for distributed replication |
| Connections | Active, idle, total, max connections | Prevents connection exhaustion |
| Sessions | Current sessions, user, DB, client IP | Shows who is connected |
| Transactions | TPS, commits, rollbacks | Measures workload and failures |
| Query performance | Avg query time, slow queries, top queries | Finds performance bottlenecks |
| Long-running queries | Query, PID, runtime, user | Long queries often cause locks/bloat |
| Locks | Waiting locks, blocking PID, blocked query | Critical for troubleshooting stalls |
| Deadlocks | Count and recent deadlocks | Shows transaction contention |
| Cache | Buffer cache hit ratio | Indicates memory efficiency |
| Tables | Size, rows, scans, inserts, updates, deletes | Shows table activity |
| Indexes | Usage, unused indexes, index size | Helps optimize queries/storage |
| WAL | WAL generated, retained, archived | Important for replication and recovery |
| Checkpoints | Checkpoint frequency/duration | Too many checkpoints hurt performance |
| Vacuum | Last vacuum/autovacuum, failures | Prevents table bloat |
| Analyze | Last analyze, stats freshness | Needed for query planner accuracy |
| Bloat | Table/index bloat | Excess bloat wastes space and slows queries |
| Replication | Status, lag, slot status | Essential for HA/multi-master |
| Replication slots | Active/inactive, retained WAL | Inactive slots can fill disk |
| Backup | Last backup, status, duration | Tells you whether recovery is possible |
| Disk growth | Database/table/WAL growth trend | Helps capacity planning |
| Errors | PostgreSQL errors/warnings | Shows immediate operational issues |
| Security | Failed logins, unusual connections | Useful for security monitoring |
Using my uploaded photo, show me what I would have looked like around 1985. Preserve my identity, facial features, skin tone, age, and recognizable appearance. Reimagine my hair, clothing, accessories, and surroundings with bold, unmistakably mid-1980s styling—expressive silhouettes, statement accessories, layered details, distinctive colors, and textures. Make it feel like a genuine 1985 photograph with analog grain, faded color, direct flash, and subtle softness. Add a period-accurate 1980s red-orange date stamp in the lower corner. No recognizable posters. No modern objects or text.
| Tool | Best for | What it monitors |
| ---------------------- | ------------------------------ | ------------------------------------------------------------ |
| **pgAdmin** | PostgreSQL beginners | Sessions, queries, locks, database size, activity |
| **pg_stat_activity** | PostgreSQL built-in monitoring | Active queries, idle connections, blocked sessions |
| **pg_stat_statements** | SQL performance | Slow queries, execution count, execution time |
| **Prometheus** | Metrics collection | CPU, memory, connections, transactions, replication metrics |
| **Grafana** | Dashboards | Visualizes metrics collected by Prometheus |
| **postgres_exporter** | PostgreSQL → Prometheus | DB connections, locks, transactions, cache, WAL, replication |
| **pgwatch2** | PostgreSQL monitoring | PostgreSQL-specific metrics and dashboards |
| **Percona PMM** | PostgreSQL/MySQL | Query performance, server health, DB metrics |
| **Zabbix** | Infrastructure monitoring | Servers, databases, network, disk, CPU, alerts |
| **Datadog** | Commercial monitoring | DB + server + application monitoring |
| **New Relic** | Application + DB | Slow SQL, response times, application/database relationship |