You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AI-Powered PostgreSQL Database Administration Tool
Built for DBAs who want pgAdmin + SSMS + dbForge + DBtune — all in one tool, with AI superpowers. AMVANA Software India Pvt. Ltd. | PouraDBA
DBA Coworker is a self-hosted, open-source PostgreSQL administration tool that combines the best features of pgAdmin, SSMS Activity Monitor, dbForge Studio, and DBtune into a single, AI-powered application.
Unlike traditional monitoring tools that just show you data, DBA Coworker understands your workload and actively helps you optimize, troubleshoot, and manage your PostgreSQL fleet.
Why DBA Coworker?
Traditional Tools
DBA Coworker
Show metrics, you interpret
AI analyzes your data and recommends actions
One server at a time
Fleet-wide overview of all servers
Separate tools for monitoring, tuning, backups
Everything in one place
Manual config tuning (PGTune)
Workload-aware tuning score + AI recommendations
No schema version control
Built-in schema compare with Git projects
Copy-paste SQL from docs
SQL IDE with autocomplete, formatter, visual query builder
Extract the zip to your preferred location (e.g., D:\dba-coworker)
Option 2: Clone from GitHub
git clone https://github.com/PouraDBA/dba-coworker.git
cd dba-coworker
Starting the Application
Windows (PowerShell)
cd D:\dba-coworker
# If you get an execution policy error, run this first (current session only):Set-ExecutionPolicy-ExecutionPolicy Bypass -Scope Process
.\start.ps1
Windows (Command Prompt)
cd D:\dba-coworker
start.bat
Windows (Manual)
cd D:\dba-coworker\backend
npm install
node server.js
Linux / macOS
cd dba-coworker
# Install backend dependenciescd backend
npm install
# Install and build frontendcd ../frontend
npm install
npm run build
# Start the applicationcd ../backend
node server.js
Blocking lock chains with blocker → blocked PID mapping
Wait Events
SSMS Resource Waits
Wait events grouped by type (Lock, IO, Client, IPC)
File I/O
SSMS Data File I/O
Block reads, hits, cache ratio, temp files, read/write times
Bloat
myDBA.dev
Dead tuple analysis with bloat % per table
Maintenance
pgAdmin
One-click VACUUM, ANALYZE, REINDEX buttons per table
Slow Queries
SSMS Expensive Queries
Top queries from pg_stat_statements by avg/total time
Extensions
pgAdmin
Installed extensions with versions
Roles
SSMS Security
Roles with superuser, replication, create DB, member_of
Backup/Server
SSMS Properties
Archive mode, WAL level, data directory, uptime, all DB sizes
Settings
pgAdmin
Key postgresql.conf parameters with restart/reload indicators
Extra on every tab: 📥 Export CSV button for all data.
📈 Real-Time Graphs (SSMS Activity Monitor-style)
Six live sparkline charts on the Overview tab, auto-refreshing every 10 seconds:
Connections — total client connections over time
Transactions/sec — TPS derived from pg_stat_database
Cache Hit % — buffer cache efficiency
Active Queries — concurrent active query count
Idle in Transaction — stale transaction detection
Lock Waits — lock contention trending
🤖 AI-Powered DBA (Claude API)
"Like having a senior DBA sitting next to you 24/7"
Feature
Tab
Description
AI Chat
💬 AI Chat
Chat about your live server — AI has full context of connections, bloat, replication, settings, extensions
Auto-Fix Engine
🤖 AI Auto-Fix
Scans 7 issue types with one-click fix buttons
Query Optimizer
🤖 AI Auto-Fix
Paste SQL → gets EXPLAIN + schemas → AI rewrites with index suggestions
SQL Generator
🤖 AI Auto-Fix
Natural language → production SQL using your actual table schemas
Incident Playbooks
🤖 AI Auto-Fix
Describe incident → step-by-step resolution with SQL
Migration Helper
🤖 AI Auto-Fix
Describe changes → ALTER TABLE with pre-checks, rollback, verification
Doc Generator
🤖 AI Auto-Fix
One-click: Runbook, Architecture Doc, or DR Plan — from live data
How AI context works:
Your PG Server → Backend collects live data → Sent as context to Claude
(connections, bloat, replication, ↓
settings, extensions, databases) Specific advice with
real table names,
exact SQL, actual IPs
Visual plan tree with color-coded timings and buffer stats
Query History
Persistent sidebar, click to reload, saved across restarts
Export CSV
One-click on any result
❤️ Health Report
8-point automated health check: cache hit ratio, connection usage, idle-in-transaction, replication slots, deadlocks, bloated tables, long queries, uptime — scored out of 100.