Introduction In this article, I’m going to show you how to map the PostgreSQL vector column type from pgvector to a JPA entity attribute using Hypersistence Utils, and how to use it with Spring AI and Ollama to implement semantic search, recommendations, and Retrieval-Augmented Generation (RAG). Starting with version 3.16.0, the Hypersistence Utils project provides the PostgreSQLVectorType. What is pgvector In AI, an embedding is a numerical vector representation of data (e.g., text, image), which in Java can be represented as an array of floating-point numbers. Two texts having a similar…
Tiger Lake is generally available. Continuously sync Postgres tables and TimescaleDB hypertables to Apache Iceberg, without managing a replication pipeline.
A successful restore does not prove that an analytics service is delivering correct data. This PostgreSQL + ClickHouse walkthrough uses Debezium and Kafka to test backup restoration, offset replay, updates, deletes, and application-level reconciliation—including a negative test that catches a seemingly healthy but incomplete recovery. The post PostgreSQL + ClickHouse Recovery: Test the Whole Data Service appeared first on Severalnines.
In this tutorial, we will show you how to install Authentik on Ubuntu 26.04 with PostgreSQL and Redis. Authentik is ... Read More The post How to Install Authentik on Ubuntu 26.04: An Identity Provider with PostgreSQL and Redis appeared first on RoseHosting.
In this blog post, we will show you how to install Immich on Ubuntu 26.04 with Docker Compose and PostgreSQL. ... Read More The post How to Install Immich on Ubuntu 26.04 with Docker Compose and PostgreSQL appeared first on RoseHosting.
How do you change a database fleet without creating a fleet-wide incident? This PostgreSQL walkthrough demonstrates preflight checks, a representative canary, sequential maintenance waves, and a tested recovery path—with clear boundaries between ClusterControl jobs, custom scripts, and manual decisions. The post Safe database change at fleet scale: canaries, maintenance waves, and recovery gates appeared first on Severalnines.
IIoT ingest that survives a cut uplink: enforce each reading’s identity, buffer durably at the edge, and cap the replay so catch-up can’t starve live sites.
PostgreSQL write amplification explained: why indexes multiply WAL volume, how to measure it on your tables, and four ways to reduce it without schema changes.
Reusing what we already had, treating embeddings as data, and lowering the next team’s costToday, an ML engineer at Thumbtack can stand up production vector search without negotiating database access, building a custom ETL, or writing a query service. The team brings their choice of embedding model, the data, and the query; the platform handles what connects them. It took several iterations to get to this point. In this post we’ll walk through how we got there and the three principles that shaped what we built.A vector database stores high-dimensional numeric arrays (embeddings) and serves…
Why Postgres wins in the AI era: 40 years of reliability, extensibility, and an open ecosystem. Agents need trusted foundations, not fragile architectures.
postgresqlaiexcerpt only · body stays at the source
Cardinality is a consequence of how many dimensions you index your readings by. Here is where the curve bends, measured, and what you can do about it without leaving Postgres. Someone adds a firmware_ver column to the sensor table. It is one line of DDL, and it clears review in a minute. Two weeks later, the ingest job is missing its window, a dashboard query that used to return in milliseconds takes seconds, and the on-call engineer is digging through EXPLAIN output to work out when the planne
When PostgreSQL tables are still relatively small, most tasks seem straightforward. You can run queries without thinking too much about indexes, retention jobs are manageable, and even vacuum operations usually stay under control. But things change pretty quickly once tables start growing into hundreds of millions or billions of rows. At that scale, even simple […] The post Advanced Partitioning Strategies for PostgreSQL OLTP and Analytics Datasets at Scale appeared first on Severalnines.
In modern application stacks, downtime is a direct threat to business continuity, customer trust, and revenue. Regardless of whether it is an e-commerce platform, a fintech application, or a critical internal system, the expectation is 24/7 availability, underscoring the critical importance of High Availability (HA) and automated failover mechanisms within PostgreSQL clusters. HA ensures that […] The post Building High Availability PostgreSQL Clusters with Patroni and Other Integrated Approaches appeared first on Severalnines.
Today, we’re asking PostgreSQL to do more and more, like handling both transactions and analytics, powering huge SaaS platforms, managing event data, and even dipping into AI-related tasks like vector search. This intense pressure highlights some pain points: slow, unpredictable reads, rigid indexing, complex setups, and risky major upgrades. PostgreSQL 18 directly addresses these real-world […] The post PostgreSQL 18 Upgrades for AI-Era Workloads and Operations appeared first on Severalnines.
Introduction My friend, Denis Magda, wrote a wonderful book called Just Use Postgres!, and I’m glad that I got the chance to read it. Audience This book is useful for any software developer who’s either using PostgreSQL or plans on using it because it covers a lot of features that are very useful for modern applications. No matter your level of seniority, you are definitely going to learn from Denis’ book. Content Just Use Postgres! has 402 pages, 3 parts, and 11 chapters. The first part is an introduction to PostgreSQL and... Read More The post Book Review – Just Use Postgres! appeared first…
Optional Google Analytics helps us understand visits. Microsoft Clarity records masked interactions to improve the site. Optional tools stay off unless you choose them. Privacy details.