JudeAI | EDGE ID
EDGE ID · signed in on this Mac
Schemas3 nodes · 4 dbs
C2✕✓fxbank_synthetic.transactions · n_dead_tup ÷ n_live_tup = 0.8% · autovacuum 02:14 · 212,044,810 rows
ABCDEFGHIJKL
1TableRowsDead %Table sizeIndex sizeSeqIndex %VacuumAnalyzeHealth
2bank_synthetic.transactions212,044,8100.852.1 GB9.2 GB1899.102:1402:31ok
3bank_synthetic.accounts640,0001.2212 MB98 MB299.803:3003:31ok
4bank_synthetic.fraud_labels1,108,2204.1168 MB52 MB4188.0FriFribloat
5bank_synthetic.payees2,402,1180.4420 MB190 MB0100.003:3003:30ok
6bank_synthetic.devices910,2040.9140 MB61 MB399.603:3003:30ok
7land_registry.price_paid29,412,8060.16.1 GB0.7 GB499.72 Oct2 Octok
8land_registry.uk_hpi_la118,2040.038 MB3 MB21141.22 Oct2 Octseq scans
9ons.postcode_directory2,712,0040.01.0 GB120 MB199.918 Aug18 Augok
10companies_house.basic_company5,604,1182.22.9 GB0.3 GB797.41 Oct1 Octok
11companies_house.psc7,401,5526.84.1 GB0.5 GB1296.1TueTuebloat
12nhs_synthetic.gp_events48,610,2200.316.8 GB1.4 GB698.928 Sep28 Sepok
13nhs_synthetic.prescriptions21,330,1180.27.1 GB0.6 GB399.228 Sep28 Sepok
14nhs_synthetic.patients1,200,0000.01.3 GB0.1 GB0100.028 Sep28 Sepok
15kyc_synthetic.documents1,280,0000.194.8 GB1.6 GB0100.07 Oct7 Octok
16wikidata_uk.claims61,004,1183.924.2 GB6.8 GB997.08 Oct8 Octbloat
17judebox.listens88,200,4001.613.9 GB1.0 GB299.511:0211:02ok
18judebox.time_swaps120,4400.516 MB2 MB0100.011:0211:02ok
19edge_id.sessions4,120,88412.41.9 GB0.4 GB199.8SatSatdead rows
20edge_id.receipts18,204,1180.26.6 GB0.9 GB0100.003:3003:30ok
21mail.messages3,400,0000.711.2 GB0.6 GB599.002:0002:00ok
22mail.attachments1,204,8820.3118 GB0.2 GB0100.002:0002:00ok
23mail.threads1,902,1140.91.2 GB0.3 GB199.702:0002:00ok
24edge_id.devices18,4020.46 MB2 MB0100.003:3003:30ok
25edge_id.consents2,204,1180.6880 MB140 MB299.403:3003:30ok
26judebox.works2,4180.02 MB1 MB0100.011:0211:02ok
27judebox.communities360.00.1 MB0.1 MB0100.011:0211:02ok
28ons.census21_ts41,2060.0204 MB8 MB0100.014 Mar14 Marok
29ons.lsoa_202135,6720.092 MB4 MB0100.01 Jun1 Junok
30fca_register.firms61,8401.184 MB12 MB1494.811 Oct11 Octok
31
32
Slow queries last hour · over 1 s · 6p95 2.8 s
IDStatementMeanCallsRole
Q-4471SELECT … FROM transactions t JOIN accounts a … WHERE t.ts > now() - '30d' ORDER BY t.amount DESC2,840 ms41banker_rw
Q-4466SELECT la_code, avg(median_price) FROM uk_hpi_la WHERE region = $1 GROUP BY 11,912 ms211read_only_analyst
Q-4459UPDATE sessions SET last_seen = now() WHERE device_id = $11,406 ms9,204edge_id_app
Q-4450SELECT * FROM psc WHERE company_number = ANY($1)1,220 ms88jude_agent
Q-4441SELECT count(*) FROM claims WHERE subject_id IN (SELECT …)1,104 ms12jude_agent
Q-4437SELECT … FROM fraud_labels f JOIN transactions t USING (tx_id)1,018 ms33banker_rw
◀ ▶Tables · 61Indexes · 214Slow queries · 6Locks · 2VacuumReplication+jude-pg-01 · Postgres 16.4 · 64 vCPU · 512 GB
Query plan · Q-44712,840 ms
Limit
rows 50
0.0%
→ Sort · top-N
rows 50 · 41 kB
0.4%
→ Hash Join
t.account_id = a.id
3.1%
→ Seq Scan on transactions
18.4M of 212M rows · ts filter
91.2%
→ Hash
buckets 1M · 54 MB
1.6%
→ Index Scan · accounts_pkey
rows 640k
3.7%
Jude suggests
CREATE INDEX CONCURRENTLY ix_tx_ts_account ON bank_synthetic.transactions (ts DESC, account_id);
Estimate2,840 ms → 22 msBuild~14 min · 6.1 GB · no lock
Test on replica 02Schedule 02:00
Replicationlag · last 60 minsync 6 msFRA1 38 ms
0 ms60 ms120 ms
NodeRoleRegionLagState
jude-pg-01primaryLON1 - writes
jude-pg-02sync replicaLON10 B · 6 msstreaming
jude-pg-03async replicaFRA11.8 MB · 38 msstreaming
WAL412 MB/h · archived 11:20BackupSun 01:00 · 1.31 TB · verifiedPITR14 days · restore test WedConnections412 of 800 · 3 idle in transactionLocks2 waiting · longest 41 s · Q-4459Cache hit99.4% · shared buffers 128 GB
Tell Jude what you intend to do
JudeAI · Qwen 27B on Civo