⟳ Transaction ActiveChanges not committed until you click Commit.
Browser
Snippets
Views
▼🖥PostgreSQL 15localhost:5432
▼🗄queryforge
▼📁publicSchema
No tables yet. Use Import or Samples.
No views yet. Use CREATE VIEW.
🐘 Query Editor
Ln 1, Col 10 charsPostgreSQL 15 Compatible
1
📋 Data 0
💬 Messages
📊 Explain
📈 Chart
📐 Pivot
🗺 ERD
🔧 Builder
🖥 Dashboard
📖 Guide
🔍 Filter:
Executing...
🐘
PostgreSQL (pgAdmin) Simulator
Complete PostgreSQL pgAdmin workbench in your browser — no server, no install, no cost. Built by Adewale Samson Adeagbo.
💡 Press Ctrl+Enter to run the welcome query above, or use Samples menu for instant demo data.
💬 Query messages will appear here. Run a query to get started.
X:Y:
Run a query with numeric columns to chart results here.
📊 Pivot Table — Cross-tabulate your query results. Select row field, column field, value field, and aggregation.
Row:Col:Value:
🗺 Entity Relationship Diagram — Visual overview of all loaded tables and their columns. Load sample data or import your own to see the schema here.
No tables loaded yet. Use Samples menu or Import button.
🔧 Visual Query Builder — Click to build SELECT queries without typing SQL. Great for learners and quick exploration.
Load tables first (Samples or Import), then use the Query Builder to visually construct your query.
Load tables via Samples or Import to see the server dashboard with live statistics.
📜 Activity Log
No activity yet.
📡 Server Activity Monitor — Run queries to see live session statistics.
⏺ Query Macros
No macro steps yet. Click Record then run queries to capture them for replay.
🧬 Data Generator — Generate realistic test data with custom patterns.
Configure generation parameters below.
🩺 Database Health Report
Load tables then click Run Health Check to generate a diagnostic report.
Δ Result Set Diff
Run a query first, snapshot results, then run another query to compare.
🔧 Table Maintenance
Select a table to perform VACUUM, ANALYZE, or REINDEX.
⏱ Query Performance Benchmark
Runtimes
Set iterations above and click Benchmark to measure query performance.
🔄 Auto-Refresh Scheduler
Interval (seconds):
Auto-refresh runs the current query at regular intervals — useful for monitoring dashboards.
📸 Database Snapshots (Time Travel)
No snapshots yet. Create one to save your database state for later restoration.
🔒 Column Masking / Data Privacy
Run a query first, then toggle columns to mask/hide sensitive data in results.
⚠ Deadlock Simulator (Educational)
Simulates a transaction deadlock to demonstrate what happens when two transactions lock each other's resources. Educational tool — use with test data only.
Click Run to simulate a deadlock scenario.
✨ Advanced SQL Formatter
Choose a formatting style and apply it to the current query in the editor.
📦 Compact — minimal whitespace, one-line keywords where possible
📐 Expanded — each clause on new line, 2-space indent (pgAdmin default)
📏 Aligned — columns and conditions aligned vertically for readability
🔖 Result Bookmarks
Bookmark interesting rows from query results for quick reference.
No bookmarks yet. Right-click a row to bookmark it, or click a cell → Bookmark.
Supported: CSV, TSV, JSON array. Types auto-detected. All data stays in your browser — nothing sent anywhere.
Preparing...
⚙ Preferences
⌨ Keyboard Shortcuts
Execute Query
CtrlEnter
Explain Plan
CtrlE
Explain Analyze
CtrlShiftE
New Tab
CtrlT
Close Tab
CtrlW
Format SQL
CtrlShiftF
Toggle Comment
Ctrl/
Duplicate Line
CtrlD
Delete Line
CtrlShiftK
Find & Replace
CtrlH
Go to Line
CtrlG
Save Query
CtrlS
Open SQL File
CtrlO
UPPERCASE Keywords
CtrlShiftU
Database Backup
CtrlB
Close Modals
Esc
💡 Pro tip: Select part of SQL then Ctrl+Enter to run only that selection. Right-click any table in the sidebar for quick actions. Arrow keys navigate the result grid.
🔍 Find & Replace
Go to Line
💾 Save Query
💾 Saved Queries
No saved queries yet. Use File → Save Query with Name.
Compare Two Tables
Generates SQL to compare row counts and schema between two tables.
🔧 Query Variables
Your query contains {{variable}} placeholders. Enter values below then click Run.
🗄 Database Backup (pg_dump style)
Exports the entire database as a SQL dump file — just like pg_dump. Contains CREATE TABLE and INSERT statements for every table. You can re-import this file to restore your data.
⭐ Complete Feature Reference
ℹ About pgAdmin Simulator
🐘
PostgreSQL (pgAdmin) Simulator
Version 3.2 — "The Elephant Edition"
A complete PostgreSQL pgAdmin workbench running entirely in your browser.