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
- Implementation: Show recent tuples inserted/updated/deleted from `pg_stat_user_tables`.
112
-
-[ ]**Open definition / indexes / constraints**
113
-
- Implementation: Quick view for DDL, indexes list, and foreign key constraints.
98
+
## 🧠 Phase 6: Data Intelligence & Productivity ✅ COMPLETE
99
+
100
+
### Query Productivity ✅ COMPLETE
101
+
-[x]**Auto `LIMIT` / sampling for SELECT**
102
+
- Implementation: Automatically append `LIMIT 1000` (configurable) if not present. Smart detection skips queries with existing LIMIT/OFFSET. Auto-disabled in read-only mode.
103
+
-[x]**One-click `EXPLAIN` / `EXPLAIN ANALYZE`**
104
+
- Implementation: CodeLens buttons on all SQL queries to wrap in `EXPLAIN` or `EXPLAIN ANALYZE`. Results inserted as new notebook cell for seamless workflow.
- Implementation: Real-time insights from `pg_stat_user_tables` showing access patterns (sequential/index scans), data modifications (inserts/updates/deletes/HOT updates), table health metrics (live/dead rows, bloat ratio), and maintenance history (VACUUM/ANALYZE timestamps).
111
+
-[x]**Index usage analytics**
112
+
- Implementation: Performance insights for all indexes including usage statistics (scans, tuples read/fetched), index definitions with DDL and size, automatic detection of unused indexes with recommendations.
113
+
-[x]**Open definition / indexes / constraints**
114
+
- Implementation: Complete table structure viewer with generated CREATE TABLE DDL, all constraints (PRIMARY KEY, UNIQUE, FOREIGN KEY, CHECK), complete index definitions, and incoming foreign key relationships.
0 commit comments