<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Postgresql | The AWS Blog</title><link>https://theawsblog.com/tags/postgresql/</link><description>Articles, tutorials and insights from the AWS community.</description><generator>Hugo</generator><language>en</language><managingEditor>@theawsblog (The AWS Blog)</managingEditor><webMaster>@theawsblog</webMaster><lastBuildDate>Thu, 25 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://theawsblog.com/tags/postgresql/index.xml" rel="self" type="application/rss+xml"/><item><title>Running pgvector on Aurora is a production operations decision</title><link>https://theawsblog.com/news/emiliano-montesdeoca/aurora-postgresql-pgvector-production/</link><pubDate>Thu, 25 Jun 2026 00:00:00 +0000</pubDate><author>Emiliano Montesdeoca</author><guid>https://theawsblog.com/news/emiliano-montesdeoca/aurora-postgresql-pgvector-production/</guid><description>AWS guidance on pgvector in Amazon Aurora PostgreSQL highlights that vector search is not only a model feature; it needs indexing, memory, partitioning, and observability discipline.</description><content:encoded>&lt;p&gt;It is easy to prototype vector search. It is harder to operate it after users, documents, embeddings, and retrieval patterns start changing every day.&lt;/p&gt;
&lt;p&gt;The AWS Database Blog post on &lt;a href="https://aws.amazon.com/blogs/database/running-pgvector-in-production-on-amazon-aurora-postgresql/"&gt;running pgvector in production on Amazon Aurora PostgreSQL&lt;/a&gt; is useful because it moves the conversation away from &amp;ldquo;can I store embeddings?&amp;rdquo; and toward &amp;ldquo;can I keep this retrieval system healthy?&amp;rdquo;&lt;/p&gt;
&lt;h2 id="what-changed"&gt;What changed&lt;/h2&gt;
&lt;p&gt;The source article covers operational practices for pgvector workloads on Aurora PostgreSQL: choosing index types and distance functions, managing HNSW behavior, using quantization and partitioning, sizing memory, and monitoring the signals that show when the vector store is drifting out of shape.&lt;/p&gt;
&lt;p&gt;That is the right level of discussion for production RAG systems. The database is not just a place to put vectors. It is part of the user-facing latency, relevance, and cost profile.&lt;/p&gt;
&lt;h2 id="why-builders-should-care"&gt;Why builders should care&lt;/h2&gt;
&lt;p&gt;Aurora PostgreSQL with pgvector is attractive because many teams already understand PostgreSQL. They can keep relational data, metadata filters, access patterns, and embeddings close together. That reduces architecture sprawl for early and mid-sized AI applications.&lt;/p&gt;
&lt;p&gt;But familiarity can hide risk. Vector indexes have different maintenance behavior than normal B-tree indexes. Embedding dimensions affect memory. Update and delete patterns can degrade index quality. Query filters can change recall and latency. The database may need to serve both transactional and retrieval traffic.&lt;/p&gt;
&lt;p&gt;If you treat pgvector like a small column type, production will teach you otherwise.&lt;/p&gt;
&lt;h2 id="the-trade-offs"&gt;The trade-offs&lt;/h2&gt;
&lt;p&gt;The main decision is managed abstraction versus self-managed control.&lt;/p&gt;
&lt;p&gt;Aurora PostgreSQL with pgvector gives control over schema, SQL, transactions, and tuning. That is valuable when retrieval is tightly coupled to application data. Amazon Bedrock Knowledge Bases or other managed retrieval systems reduce operational burden, which can be better when the team does not need direct database-level control.&lt;/p&gt;
&lt;p&gt;There is no universal winner. Choose pgvector on Aurora when PostgreSQL integration is a real product advantage. Choose a more managed path when the team mostly wants ingestion, embedding, retrieval, and scaling handled for them.&lt;/p&gt;
&lt;h2 id="what-to-do-next"&gt;What to do next&lt;/h2&gt;
&lt;p&gt;Before putting pgvector-backed retrieval into production, define operational checks:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;index type and distance metric per use case,&lt;/li&gt;
&lt;li&gt;expected vector count and growth rate,&lt;/li&gt;
&lt;li&gt;memory needed to keep hot indexes healthy,&lt;/li&gt;
&lt;li&gt;update and deletion behavior,&lt;/li&gt;
&lt;li&gt;query latency percentiles under realistic filters,&lt;/li&gt;
&lt;li&gt;recall evaluation for representative prompts,&lt;/li&gt;
&lt;li&gt;vacuum and maintenance expectations,&lt;/li&gt;
&lt;li&gt;fallback behavior when retrieval fails or gets slow.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Also separate prototype metrics from production metrics. A demo with 10,000 documents says little about a system with millions of vectors, concurrent users, and evolving embeddings.&lt;/p&gt;
&lt;p&gt;The practical takeaway is simple: pgvector on Aurora can be a strong architecture choice, but only if the team is ready to operate vector search as a database workload, not as a model configuration checkbox.&lt;/p&gt;</content:encoded></item></channel></rss>