pgEdge

1.1K posts

pgEdge banner
pgEdge

pgEdge

@pgEdgeInc

100% open source enterprise-grade Postgres for Agentic AI, high availability, and more with flexible deployment options and support for existing or new apps.

Alexandria VA Katılım Mart 2023
6 Takip Edilen265 Takipçiler
pgEdge
pgEdge@pgEdgeInc·
Your LLM application is probably answering the same question dozens of times a day. It just doesn't realize it, because the words are different each time. "What was Q4 revenue?" / "Show me last quarter's sales" / "Q4 2024 figures": three strings, three LLM calls, one answer. 🧠 pg_semantic_cache is a PostgreSQL extension from pgEdge (open source, PostgreSQL License) that fixes that. It caches LLM and query results keyed by vector embeddings, then serves cached answers when the embedding for a new query is within a similarity threshold (default 0.95) of one already stored. ⚙️ How it works in one line: store result + embedding, the next query computes its own embedding, pgvector cosine distance finds the closest match, return the cached result if similarity is above threshold or fall through to a miss. 📊 When to use it: LLM-backed chatbots, RAG pipelines, analytics assistants, anything where 40-70% of incoming queries are semantic duplicates. Production caches typically hit 60-80% rates against 15-25% for exact-match, and hits return in 2-3ms instead of the 500ms-2s a real LLM round trip costs. 🧰 What ships in the extension: tags for grouping, eviction policies (LRU, LFU, TTL, auto), cache_stats and cost_savings views, pg_cron-friendly maintenance functions, HNSW indexes for caches over 100K entries, and ACID semantics because the cache lives in your Postgres database. ⚠️ Worth knowing: not every query should be cached. Volatile queries ("what's the current stock price?") have stable embeddings but changing answers, so they need an application-layer classifier ahead of the cache lookup. Part 3 of the series below walks through a regex + LLM pattern for that. ⭐ Star or clone the repo on GitHub: hubs.la/Q04hCzS30 📚 The three-part blog series: Hands-on intro: hubs.la/Q04hCKv20 Production ops (tags, eviction, monitoring, Python): hubs.la/Q04hCxqy0 Volatile queries done right: hubs.la/Q04hCLG_0 #postgres #postgresql #opensource #ai #llm #rag #vectorsearch #pgvector #caching #semanticcache #pgEdge
pgEdge tweet media
English
0
0
0
4
pgEdge
pgEdge@pgEdgeInc·
POSETTE: An Event for Postgres is Microsoft's free, virtual Postgres conference. The schedule is broadcast across four livestreams so different regions catch the talks live in the speakers' own time zones. Two pgEdge folks are speaking on POSETTE Livestream 4 next month: 📜 Past, Present, and Future: Logical Decoding and Replication in PostgreSQL by Hari Kiran. A walk through how logical decoding and replication evolved inside Postgres, where they sit today, and where the work is heading. Useful if you build on, depend on, or contribute to any of it. 🔔 LISTEN Carefully: How NOTIFY Can Trip Up Your Database by Jimmy Angelakos. Each NOTIFY takes a cluster-wide exclusive lock to serialize notifications, which means a trigger that looks fine in dev can produce mystery statement and lock timeouts under production load. Jimmy walks through the diagnosis and the fix. 📅 Livestream 4 runs Thu Jun 18, 2 AM to 8 AM. APAC-friendly slot, and recordings are available afterward if the live time doesn't work for you. 🎟️ Register (it's free) if you haven't already: hubs.la/Q04hsVF50 #postgres #postgresql #posette #opensource #databases #replication #pgEdge #dba #postgresqlconference #postgresinternals
pgEdge tweet media
English
0
0
0
8
pgEdge
pgEdge@pgEdgeInc·
Quick reminder for Postgres folks: PostgreSQL Conference Europe's Call for Papers closes Monday, June 1. If you've been sitting on a talk idea (replication gotcha, performance war story, extension you built, deep dive on internals you wished someone else had explained), pitch it before the window shuts. 📝 CfP details: hubs.la/Q04hCF7X0 Good luck if you submit. Looking forward to what the community puts forward this year. ✨ #postgres #postgresql #pgconfeu #opensource #cfp #postgresqlconference #pgEdge #databases #europe #community
pgEdge tweet media
English
0
0
0
9
pgEdge
pgEdge@pgEdgeInc·
Quiet shoutout to the people who keep Postgres running. The reviewers who notice the edge case in the patch. The maintainers of the extension you've been using in production for years and never said thanks for. The folks writing the answer on the mailing list at 11pm so the next person searching for that error finds it. The ones who keep the docs honest. If you've got a minute today, send a thank-you. Star a repo. Reply to a thread. Acknowledge the work. The whole Postgres ecosystem runs on this. So does pgEdge. 🐘 #postgres #postgresql #opensource #community #maintainers #pgEdge
English
0
0
0
20
pgEdge
pgEdge@pgEdgeInc·
One week until the technical walkthrough of pgEdge's AI DBA Workbench: June 2, 11 AM EDT / 5 PM CEST. What it covers: open-source monitoring and management for any Postgres v14+, three-tier anomaly detection (statistical baselines, vector similarity, LLM classification), Ellie's MCP toolkit for live diagnosis, alerting / blackout / RBAC, multi-LLM support (cloud and local), Docker Compose deploy. Dave Page, Antony Pegg, and Paul Rothrock walk through it live. 🎟️ Register (free): hubs.la/Q04hCzp_0 💻 Demo the code: hubs.la/Q04hCCd_0 #postgres #postgresql #ai #postgresmonitoring #opensource #aidba #pgEdge #databases #devops #observability
pgEdge tweet media
English
1
0
1
27
pgEdge
pgEdge@pgEdgeInc·
From hubs.la/Q04hCLpV0: Andreas Scherbaum and Jimmy Angelakos presented "PostgreSQL Commitfest Metrics: A Quantitative Analysis", and the data they pulled together points to a process under strain. 💭 The standing question that remains: "What changes would improve the contributor experience, lower barriers, and attract new contributors while not compromising our standards for technical excellence?" If you've patched, reviewed, mentored, or bounced off the Commitfest process, your perspective is essential. Reply here with your thoughts. 🔁 #postgres #postgresql #opensource #pgconfdev #commitfest #postgresinternals #pgEdge #opensourcecommunity #contributors #postgrescommunity
pgEdge tweet media
English
0
0
0
25
pgEdge
pgEdge@pgEdgeInc·
Five organizations have shipped TDE for Postgres. None of it is in community PostgreSQL, and none of their implementations are compatible with each other. 🔍 The latest PG Phriday from Shaun Thomas traces the full history: from the 2018 NTT proposal that nearly had consensus, to the 2020 KMS design that exposed encryption keys in query logs, to the column encryption patch that stalled in 2024. The core problem isn't engineering capacity. It's that the Postgres community has never agreed on the threat model: 🔐 Disk theft? LUKS (or your cloud provider's volume encryption) already handles this, and probably performs better. 🧑‍💻 Malicious DBA? Server-side transparent encryption can't help: the data decrypts in memory during every query. 📋 Compliance checkbox? Real business need... but a hard argument in a room full of engineers asking what problem you're actually solving. The four active implementations (Percona, EDB, CyberTec, Fujitsu) each solved the problem for their customers with different cipher modes, key management approaches, and scope. None converged on something the community could adopt. The post covers all five proposals, the strongest technical objections each received, and what your options are today if you need encryption at rest without waiting for core. 📖 hubs.la/Q04hHfj_0 #postgres #postgresql #opensource #security #encryption #tde #database #dba #compliance #dataengineering #devops
pgEdge tweet media
English
0
0
1
42
pgEdge
pgEdge@pgEdgeInc·
pg_statviz 1.0 went out as an official announcement on the PostgreSQL news feed this week: Jimmy Angelakos's minimalist Postgres stats extension, now with optional AI analysis. What's of particular note is how the analysis works across charts, not just per-chart. 🐘 The new top-level summary report cross-references all modules. A WAL spike that correlates with long-running sessions doesn't generate two separate alerts: it surfaces as a single finding with one concrete next action. The model is asked to identify patterns across charts, not just label each one in isolation. The rest of the release holds to a consistently minimal philosophy: 📊 Plain SQL/PL/pgSQL, no agents, no persistent connections: the viz utility runs from anywhere. 🛡️ Deterministic rules run first and set a severity floor: the model can't downgrade a real [WARNING] or [CRITICAL] to [HEALTHY]. 🔒 All user-derived data (config values, role names, query text) is wrapped in tagged envelopes before it reaches the model. ☁️ Remote: Anthropic Claude (default) or Google Gemini. 💻 Local: Ollama with a vision-capable model, for setups where your stats stay on the machine. If you don't pass --ai, nothing changes from pre-1.0 behavior. Install from the PostgreSQL repositories, PGXN, or PyPI (pip install pg_statviz[ai] for the AI extras). 📖 Full announcement post: hubs.la/Q04hCFPh0 ⭐ GitHub: hubs.la/Q04hCG7R0 #postgres #postgresql #opensource #monitoring #observability #database #dba #devops #selfhosted #aiops #dataengineering
pgEdge tweet mediapgEdge tweet mediapgEdge tweet media
English
0
0
1
20
pgEdge
pgEdge@pgEdgeInc·
The pgEdge RAG Server: now also a managed service in pgEdge Cloud. ☁️ It's an API server for retrieval-augmented generation that runs hybrid search (vector similarity plus BM25) over content stored in Postgres, then sends matches to an LLM for grounded answers with source citations... the same pipeline that powers Ellie, the AI chatbot on hubs.la/Q04htzr80. Where teams plug it in: 🧾 Support: replace keyword-matched FAQ pages with a bot that returns grounded answers and cites the doc sections it pulled from. 🏛️ Compliance: internal Q&A at a financial-services firm where every response traces back to the specific regulation or policy section that informed it. 🔍 Product: docs-site search that catches both "how do I set up replication" and "configure multi-master across regions" against the same content. ☁️ Cloud path: deploy from your database's Services tab, pick your embedding provider (OpenAI or Voyage) and completion provider (Anthropic or OpenAI), point at your tables. The platform handles TLS, auth, ingress, and monitoring. Around ten minutes from configuration to a working API endpoint if your tables already have embeddings. 💻 Self-host path: the RAG Server is 100% open source under the PostgreSQL License. Single Go binary, any PostgreSQL 14+ cluster with pgvector, configured via YAML, your own API keys (OpenAI, Anthropic, Voyage, or local Ollama). Same hybrid search, token budgets, and streaming responses. ⭐ GitHub: hubs.la/Q04htxd50 📖 Full announcement: hubs.la/Q04htBfx0 #postgres #postgresql #rag #ai #llm #pgvector #vectorsearch #opensource #pgEdge #postgresAI #programming #appdev #aichatbot
pgEdge tweet media
English
0
0
0
22
pgEdge
pgEdge@pgEdgeInc·
If you haven't seen it before: Control Plane is pgEdge's open-source declarative API for deploying and operating Postgres on VMs and bare metal. Define your cluster once and one HTTP API handles single-region or multi-region (with Spock active-active) deployment, replicas, backups, switchovers, and supporting services. No hand-rolled deploy scripts, no Kubernetes operator required. Highlights from the v0.8 cycle: 🛡️ Add-node data safety (v0.8.1): the replication slot and origin are now advanced before a new node joins, so a mid-join failure can't leave a partially-synced replica behind. 🐘 Spock 5.0.8 (v0.8.1) on Postgres 16.14, 17.10, and 18.4 for native multi-master replication, high availability, and low latency operations. 🔑 Supporting Services GA (v0.8.0): declare the pgEdge Postgres MCP Server, RAG Server, and PostgREST alongside the database in the same declarative API. Control Plane handles credentials, port assignment, and HA routing. 🐧 systemd as a preview runtime (v0.8.0): run Control Plane-managed Postgres on systemd instead of Docker Swarm. Useful for hardened OS builds, air-gapped hosts, or anywhere Docker isn't a fit. 📝 User-defined SQL on create (v0.8.0): pass setup SQL through the scripts field on the database spec, no post-create automation needed. 🩺 Patroni failsafe mode (v0.8.0) on single-host nodes, for resilience during Etcd outages. Released under the PostgreSQL License. ⭐ GitHub: hubs.la/Q04hsF1d0 📖 v0.8 docs: hubs.la/Q04hsGKK0 #postgres #postgresql #opensource #devops #databases #spock #systemd #dba #pgEdge #replication #postgresdba
pgEdge tweet media
English
0
0
0
17
pgEdge
pgEdge@pgEdgeInc·
Prairie Postgres brings PG DATA 2026 to Loyola Chicago June 4-5. Thinking about coming? Check out these two sessions from our team: 📚 Thu June 4, 9 AM-12 PM, Room 3 - Shaun Thomas teaches "DBA in a Box," a three-hour training covering Postgres fundamentals, system operation, and cluster management. 🔔 Fri June 5, 10:25 AM, Room 1 - Jimmy Angelakos presents "LISTEN Carefully: How NOTIFY Can Trip Up Your Database." Each NOTIFY takes a cluster-wide exclusive lock to serialize notifications, which means a trigger that looks fine in dev can produce statement and lock timeouts under production traffic. Jimmy walks through the diagnosis and the fix. 📍 Corboy Law Center, Kasbeer Hall, Water Tower Campus 🎟️ Register: hubs.la/Q04hrwQh0 #postgres #postgresql #opensource #pgdata2026 #PrairiePostgres #chicagotech #dba #databases #pgEdge #communityevent #illinois #midwest #chicago
pgEdge tweet media
English
0
0
0
38
pgEdge
pgEdge@pgEdgeInc·
🔐 Wire your Amazon RDS and Aurora Postgres into the pgEdge AI DBA Workbench with full SSL verification: Verify Full mode, Amazon's root cert installed on the collector, EC2 or Docker setup paths both covered. Open source monitoring and observability for any Postgres 14+. Layers on top of new or existing instances with no migration. Created by a Postgres core team member & the engineer behind pgAdmin. ▶️ Watch the Quickstart: hubs.la/Q04hhMZV0 ⭐ Star on GitHub: hubs.la/Q04hj8st0 #postgres #postgresql #opensource #aws #rds #aurora #dba #sre #monitoring #observability
pgEdge tweet media
English
0
0
0
27
pgEdge
pgEdge@pgEdgeInc·
🛠️ Air-gapped, self-hosted, on the LLM of your choice (Claude, OpenAI, Gemini, or local via Ollama). The pgEdge AI DBA Workbench is built so you keep control of the data, the inference, and the infrastructure. June 2nd at 11 AM EST: Dave Page, Antony Pegg, and Paul Rothrock run a live walkthrough of how that plays out in practice. Open Q&A throughout. If you've got a use case you want to stress-test or a design decision you want them to defend, bring it. What they'll cover: 🔍 Why the Workbench runs no agent on your database hosts ⚙️ How three-tier detection (statistical, embedding, LLM) decides what's worth alerting on 🧠 What Ellie's persistent memory and MCP-tool access look like during a real diagnosis 🐳 Docker Compose, on-prem, and air-gap deployments 📦 Working across any Postgres 14+: community, RDS, Azure Database for PostgreSQL, Google Cloud SQL, Supabase, self-hosted, pgEdge 📅 Register: hubs.ly/Q04h9t5p0 ⭐ Code: hubs.ly/Q04h9qY60 #postgres #postgresql #opensource #selfhosted #airgap #dba #sre #observability #aiagent #aidev
pgEdge tweet media
English
1
0
1
72
pgEdge
pgEdge@pgEdgeInc·
Andrei Lepikhov writes up a subtle planner problem: a query that's worked for years can start throwing errors after a database upgrade, not because the data or query changed, but because the optimizer got smarter. As he mentions in the article, "the problem is well known across database engines; what's missing is a systematic solution". Andrei's proposed fix for Postgres extends PostgreSQL's existing prosupport machinery with a new SupportRequestSafeEarlyEval request type that lets functions declare themselves unsafe for early evaluation. The branch is up for review and discussion is open on pgsql-hackers. 📖 hubs.la/Q04g-p1J0 #postgresql #postgres #pghackers #queryoptimizer
pgEdge tweet media
English
0
0
1
57
pgEdge
pgEdge@pgEdgeInc·
Got something cool you built in Postgres? Hints, tips, a community issue worth talking through? Jimmy Angelakos announced the next PostgresEDI meetup: coming up this June 11. Drop Jimmy a note if you have an idea of what you'd like to present, or just show up to listen and join the discussions if that's more your speed. The usual rhythm: 6 PM doors at Paterson's Land (University of Edinburgh), pizza, talks at 7, then over to The Canons' Gait at 8:45 to keep the conversation going. We are a proud sponsor of #PostgresEDI. 🐘 🎙️ Register or pitch a talk: hubs.la/Q04gVfd90 #postgresql #postgres #edinburgh #scotland #meetup #postgresedi #community
pgEdge tweet media
English
0
0
0
22
pgEdge
pgEdge@pgEdgeInc·
Live and unscripted this June 2nd at 11 AM EST: pgEdge AI DBA Workbench technical walkthrough, with open Q&A throughout the session. Dave Page (CTO, longtime Postgres Core Team member, creator of pgAdmin), Antony Pegg (Director of Product Management), and Paul Rothrock (Solutions Engineer) will demo how the Workbench actually operates against real Postgres estates. On the agenda: 📊 AI summaries of your Postgres estate, with drill-down to cluster, server, and database metrics 🚨 Three-tier anomaly detection: statistical baselines, vector similarity, LLM classification 🧠 Ellie, the built-in AI assistant, with 21 MCP tools, a RAG knowledge base, and persistent memory 🔔 Alerting channels, blackout windows, RBAC config 🐳 Docker Compose setup, self-hosted and air-gap ready, with Claude, OpenAI, Gemini, or local Ollama Bring a specific use case, design question, or stress-test scenario for the live Q&A. The Workbench is 100% open source and works with any Postgres 14+. That covers any mainstream DBaaS including Amazon RDS, Azure Database for PostgreSQL, Google Cloud SQL, and Supabase. No migration required. Point it at what you already run. 📅 Register: hubs.la/Q04gJHRh0 ☕ Code: hubs.la/Q04gKsxC0 #postgres #postgresql #dba #monitoring #aiengineering #opensource #webinar
pgEdge tweet media
English
0
0
0
37
pgEdge
pgEdge@pgEdgeInc·
Stop putting numbers inside parentheses after VARCHAR. That's the argument from this week's PG Phriday by Shaun Thomas. The number is catalog metadata. It gets baked into every view, materialized view, function with typed parameters, and composite type that touches the column. Change VARCHAR(10) to VARCHAR(15) on a mature schema and you're dropping and recreating a dozen dependent objects in the right order, in a transaction you're hoping doesn't fail at step eleven. Use TEXT plus a named CHECK constraint instead. Same enforcement, with the added benefits of regex patterns, multi-clause checks, and constraint names that actually show up in your 3 AM error logs. Independent of the dependency graph. Swappable in one ALTER. Performance hit on 10M rows: about 66 nanoseconds per row. As Shaun puts it: "we may as well quibble about the weight of the paint on a freight train." 📖 hubs.la/Q04gP4fg0 #postgres #postgresql #pgphriday #sql #dba
pgEdge tweet media
English
0
0
1
81
pgEdge
pgEdge@pgEdgeInc·
Big release from Jimmy Angelakos: pg_statviz 1.0 is out, and it ships with optional AI-powered analysis. 🐘 pg_statviz is a minimalist extension for time-series analysis and visualization of PostgreSQL internal statistics. With the new --ai flag, each chart gets a [HEALTHY] / [WARNING] / [CRITICAL] verdict and concrete remediation advice from a vision-capable LLM. What's notable about the release: 🧠 Three LLM providers: Anthropic Claude (default), Google Gemini, or local Ollama for air-gapped setups 🛡️ Deterministic rules run before the LLM call, with a severity floor that prevents the model from downgrading real problems 📐 Configuration-aware prompts use your actual pg_settings, plus a calibration block that debunks common Postgres myths (25% of RAM for shared_buffers, default random_page_cost=4, naive work_mem math) 🔒 Prompt-injection containment: user-derived data is wrapped in envelopes so the model treats it as data, not instructions ✋ Fully optional. pg_statviz works exactly as before if you don't pass --ai Jimmy's full announcement: 📖 hubs.la/Q04gBQWr0 Find the extension on GitHub: ⭐ hubs.la/Q04gBQDC0 #postgres #postgresql #dba #monitoring #observability #aiengineering #extensions #opensource #postgresprofessionals
pgEdge tweet media
English
0
0
2
48
pgEdge
pgEdge@pgEdgeInc·
Thinking about trying the AI DBA Workbench against your Supabase project? Now there are two ways to follow along. 📖 Muhammad Imtiaz's step-by-step blog walkthrough: hubs.la/Q04gBJ060 🎥 Or watch Paul Rothrock demo it in a new short video: hubs.la/Q04gBB9C0 Either path gets you in-depth continuous monitoring, alerting, and Postgres tuning insights on top of your Supabase stack. Free and open source under the PostgreSQL License. #postgres #postgresql #supabase #dba #monitoring #opensource #data #dataanalysis #auditing #metrics #metricscollection
pgEdge tweet media
English
0
0
1
31
pgEdge
pgEdge@pgEdgeInc·
Plenty of Supabase developers are shipping Postgres apps to production. For those production workloads, the Workbench adds an extra layer of monitoring and management on top of your Supabase stack: continuous anomaly detection grounded in real history, alerts you can trust, and an AI assistant that knows your specific workload. Muhammad Imtiaz's new tutorial walks through connecting the pgEdge AI DBA Workbench to a Supabase project via the Session Pooler. Once it's set up, you get: 🏠 A self-hosted stack that runs entirely on your infrastructure. Collected metrics live in a Postgres datastore you own 🔍 34 probes pulling from standard PostgreSQL system views (connections, replication, locks, vacuum, WAL, query stats) 📊 Hierarchical dashboards from estate to cluster to server, with replication topology visualization 🚨 Three-tier anomaly detection: statistical baselines, embedding similarity against known patterns, then LLM classification for the ambiguous signals 💬 A chat interface for natural-language queries against your collected metrics, with the LLM provider you choose (Anthropic, OpenAI, Gemini, or a local Ollama model) The Workbench still extracts performance and health metrics over standard PostgreSQL connectivity, even though Supabase doesn't expose system_stats or Spock. The probes that depend on those extensions are skipped; everything else lights up exactly the way it would for a self-managed Postgres. Built by a Postgres Core Team member (who is also the creator of pgAdmin). Free and open source under the PostgreSQL License, compatible with any Postgres 14+. Spin it up against a test Supabase project in about ten minutes. 📖 Read Imtiaz's full walkthrough: hubs.la/Q04gx3YR0 #postgres #postgresql #supabase #dba #monitoring #aiengineering #devops #opensource #databases #postgresprofessionals
pgEdge tweet media
English
1
0
1
35