Menu

#DevtoPostgresql

465 posts

Feed·
19 of 465 posts
PostgreSQL Query Optimization: Indexes, EXPLAIN ANALYZE, B-tree vs GIN vs GiST & the N+1 Problem 🚀
📰
0Read More

PostgreSQL Query Optimization: Indexes, EXPLAIN ANALYZE, B-tree vs GIN vs GiST & the N+1 Problem 🚀

DEV Community: postgres·Deepika Pusala·about 1 hour ago
#WykbMjkg
#devtopostgresql#devto#dev#index#enter

🚀 PostgreSQL Query Optimization: Let's Learn from ZERO! Imagine your social media app has...

15s
Our whole account system is an email address and 60 bits, and the 32-letter alphabet is why the modulo is not biased
📰
0Read More

Our whole account system is an email address and 60 bits, and the 32-letter alphabet is why the modulo is not biased

DEV Community: postgres·Daniel Pertu·about 1 hour ago
#cPYCSOsW
#devtopostgresql#devto#dev#token#email

Notifio has no accounts, no passwords and no sessions. A census of what that leaves: one table, four unique columns, two forms on 38 pages, zero Set-Cookie headers, and one activation token a human can retype from an email.

15s
Exchange Rates API Data in a Database: Schema, Indexes and As-Of Queries
📰
0Read More

Exchange Rates API Data in a Database: Schema, Indexes and As-Of Queries

DEV Community: postgres·Exchange Rate API·about 14 hours ago
#yiT1dLkt
#devtopostgresql#devto#dev#rate#rates

How to store exchange rates API data: a Postgres schema with NUMERIC rates, keys, as-of lookups, idempotent upserts and daily loading.

15s
Quick tip: one Postgres advisory lock stops your scheduled job running twice
📰
0Read More

Quick tip: one Postgres advisory lock stops your scheduled job running twice

DEV Community: postgres·delay.run·about 14 hours ago
#pdV8bvvV
#devtopostgresql#devto#dev#lock#connection

You scaled to two servers and now the nightly job runs twice. If you already have Postgres, you don't need a new coordination service to fix it. Here's the pattern, with the gotchas.

15s
5 Essential Tools for AI Agent Database Security in 2026: Controlled Reads and Checked Changes
📰
0Read More

5 Essential Tools for AI Agent Database Security in 2026: Controlled Reads and Checked Changes

DEV Community: postgres·Claix·about 14 hours ago
#E6Hp5eMW
#devtopostgresql#devto#dev#claix#agent

Quick answer The five essential tools for securing how AI agents access a database are...

15s
Build Buddy, Day 5: my vector search's best match was a wrong answer
🖼️
0Read More

Build Buddy, Day 5: my vector search's best match was a wrong answer

DEV Community: postgres·Gabby Gill·about 14 hours ago
#IwGQfhf7
#devtopostgresql#devto#dev#wrong#null

Day 5 of MLH Global Hack Week: Builders Week. All week, Build Buddy has been collecting explanations...

15s
Postgres to BigQuery CDC Tutorial: From the WAL to a Four-Part Table Name
🖼️
0Read More

Postgres to BigQuery CDC Tutorial: From the WAL to a Four-Part Table Name

DEV Community: postgres·Shubham Baldava·about 14 hours ago
#3lJnIm5e
#devtopostgresql#devto#dev#bigquery#olake

Replicate Postgres to BigQuery with change data capture: an open source tool writes the WAL into a BigLake catalog that BigQuery, DuckDB and Spark query. Real run numbers.

15s
Similarity Is Not Truth: Comparing vector distance, is_true(), and extract() in Azure AI for PostgreSQL
📰
0Read More

Similarity Is Not Truth: Comparing vector distance, is_true(), and extract() in Azure AI for PostgreSQL

DEV Community: postgres·Franck Pachot·about 14 hours ago
#23nxNvPG
#devtopostgresql#devto#dev#false#true

Vector search queries often use top-k similarity, assuming the highest-scoring results are true and...

15s