Loading…
Topic
Database
17 posts about Database. Every summary links to the original.
- 17 posts
- 8 companies
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
Rethinking read replicas for the lakebase architecture
Traditional managed Postgres read replicas are physical clones of the primary, requiring a snapshot, a new instance with its own storage volume, and WAL replay that takes minutes to hours, adding a full data copy to the bill and running 24/7. The lakebase architecture separates compute from storage, so a read replica is just a read-only compute attached to the same storage as the primary. Creating a lakebase replica takes seconds regardless of database size because no snapshot or volume fill is needed, and it adds no replication work to the primary. A lakebase replica scales to zero when idle, resumes on the next query nearly up to date, and autoscales compute with read load within user-set limits. This makes read replicas lightweight, short-lived, and elastic, finally delivering on the original promise of scaling reads without touching the primary.
PostgreSQL 19 is available on Lakebase
PostgreSQL 19 reached GA and is available on Lakebase the same day, with contributions from Lakebase engineers who are PostgreSQL committers. The release targets operational problems such as table bloat, unstable query plans, and incomplete statistics. REPACK allows concurrent table rebuilding without blocking normal reads and writes during most of the operation, using logical decoding to capture ongoing changes. New query plan advice functions, pg_plan_advice and pg_stash_advice, let administrators intervene when the optimizer produces poor plans without modifying application query text. Logical replication gains online activation of logical decoding, sequence synchronization, and the ability to exclude specific tables from a publication.
MongoDB Is A Leader In The Forrester Wave: Translytical Data Platforms
MongoDB has been recognized as a Leader in the Forrester Wave: Translytical Data Platforms, Q4 2024, with the designation reaffirmed in 2026. Forrester defines translytical platforms as databases that handle transactional, operational, and analytical workloads on a single engine without compromising integrity or performance. The evaluation covered 15 vendors across 26 criteria for current offering, strategy, and market presence, with MongoDB achieving the highest scores in nine categories, including multimodel support, search, development tools, scale optimization, streaming, platform management, roadmap, adoption, and customer count. MongoDB Atlas integrates documents, vectors, streaming data, and time-series into one system for unified workloads. The report notes that MongoDB continues to expand its translytical market share through new capabilities in automation, intelligent memory tiering, and multimodel support, and is an excellent choice for organizations seeking real-time insights.
How a shared merchant data service can degrade gracefully
A shared merchant data service (MDS) using a cache-aside design experienced a cascading failure when cache reads timed out, causing fallback requests to overwhelm the database. The failure amplified because each layer passed more work downstream instead of containing it. To degrade gracefully, the redesign introduced five mechanisms: request classification by operational criticality, a database admission controller with weighted token budgets, bulkheads for connection pools and circuit breakers per class, stale data serving with explicit freshness limits, and client-side caching. Tests showed the admission controller kept database CPU lower under heavy load, and priority controls shed lower-priority work first. The key lesson is that every fallback needs a bounded budget to contain failure rather than spread it.
How a broken release name overloaded our symbolication database
Sentry’s symbolication database had grown uncontrollably because a few releases with broken names—like the literal string VERCEL_GIT_COMMIT_SHA—accumulated tens of millions of URL index rows. A single unbounded URL lookup against the worst release took 7.4 minutes uncached and always timed out, then was retried twice, multiplying load. The fix capped a single URL lookup at scanning 1,000,000 rows, so lookups on huge releases stop early instead of running until killed and retried. CPU usage on the busiest database host dropped from 76% to 19%, and Symbolicator timeouts fell from 3,250 per hour to 80. Additional changes included splitting a heavy join, stopping date rewrites on every index row, and turning off Postgres JIT compilation.
DataGrip 2026.3: Agentic Development With JetBrains Air, Cross-Database Queries, DuckDB Support, and Major UX Improvements
DataGrip 2026.3 includes JetBrains Air by default, enabling AI agents to run SQL with syntax highlighting and reference database objects using @dbObject notation, with results viewable in a full-featured data editor within the chat. A new Workspace data source based on DuckDB allows joining tables from different data sources and DBMSs using a special syntax, eliminating the need to copy data between systems. DuckDB receives complete support with a dedicated SQL dialect, code completion, introspection, and three connection types: default file, in-memory, and URL-only. The UI revamp adds a Database Output tool window with automatic tab following, updated default shortcuts (Cmd+2 for Agent Sessions, Cmd+4 for Files), and enhanced column management including pinning, auto-resize, and the Manage Columns popup. Additional improvements include MariaDB sequences and package support, PostgreSQL 19 compatibility, and better transaction control with manual mode commit/rollback button state for PostgreSQL, Greenplum, MySQL, MariaDB, and Oracle.
What to Look for in a Postgres Managed Service: A Technical Buyer's Checklist
Evaluating a managed Postgres service requires checking operational control, high availability, disaster recovery, scaling, security, compatibility, migration, pricing, operations, and portability rather than relying on feature page claims. Operational scope includes who handles patching, whether minor updates are automatic with a maintenance window, and which PostgreSQL roles and parameters are restricted. High availability should use synchronous replication across availability zones with automatic failover and committed transaction guarantees, and backups must support point-in-time recovery via continuous WAL archiving with published RPO and RTO. Scaling requires separating compute from storage, supporting autoscaling, and ensuring connection pools handle reconnects, while security demands private networking and customer-managed keys. Migration should offer logical replication and change data capture rather than only dump and restore, and providers must demonstrate claims through a pilot covering failover, recovery, and data integrity tests.
Does your application need local data or faster Postgres?
Managed Postgres services that keep data on network-attached storage can become I/O-bound, so adding compute does not necessarily improve reads, writes, WAL activity, or maintenance. A local synchronization layer can make reads local by subscribing to logical replication and materializing a declared subset, but it creates a second copy of data with its own lifecycle. Writes still go to central Postgres, and applications must reconcile optimistic local state with committed changes arriving asynchronously. AI agents make declared subsets harder to define because their query paths and working sets can change with each task, reducing reuse across local copies. ClickHouse Managed Postgres places Postgres on NVMe storage attached to the database compute; the recommended path is to measure the central database first, add read replicas where freshness allows, then offload analytical workloads to ClickHouse through pg_clickhouse when usage outgrows Postgres.
Connect To A MongoDB Database Using Node.js
This tutorial walks through connecting a Node.js script to a MongoDB database, listing the cluster’s databases, and printing the results to the console. It begins with prerequisites: a supported Node.js version, the MongoDB Node.js Driver installed via npm, and a free MongoDB Atlas cluster loaded with sample data. The Atlas connection wizard adds the current IP address, creates a MongoDB user, and supplies a connection string for Node.js driver version 3.6 or later. The script imports MongoClient, defines an asynchronous main function, creates a client with the connection URI, and awaits client.connect(). Database calls sit inside try/catch, with a finally block closing the connection, and a listDatabases function retrieves and prints the database names before the script runs with node connection.js.
Explorer and Notebooks: investigations your team can rerun
Explorer is a new query editor in the Supabase Dashboard that unifies database and log queries into one interface, solving the common problem of diagnosing production issues across separate tools and keeping investigations in one place. Notebooks combine saved queries with markdown notes, storing queries rather than results so rerunning always returns current data, making investigations reproducible and shareable instead of being lost in Slack snippets. Users write SQL against either source and render results as tables or charts, and the Assistant can write queries from plain language while keeping the SQL visible and editable, with every change awaiting approval. Log queries carry their own time range, and notebooks live in the supabase folder for versioning and pull request review, with CLI commands supabase notebooks pull and push. Explorer is in feature preview, enabled under Feature Previews in the Dashboard, with notebooks commands available in the beta CLI.
Introducing MongoDB Atlas Sharding Advisor: Know When and How to Scale Sharded Clusters
As applications grow, database teams face complex decisions about data distribution and scaling, and MongoDB Atlas Sharding Advisor helps by bringing sharding insights, recommendations, and shard key analysis into a unified view for dedicated Atlas deployments running MongoDB 8.0 or later. Sharding Insights consolidates shard-level, collection-level, and mongos metrics using existing Atlas infrastructure, requiring no additional agents or separate telemetry pipelines. Sharding Recommendations flag conditions such as a collection growing beyond a single shard’s capacity, uneven load across shards, or shards approaching capacity, and provide context and suggested next steps without automatic remediation. The Shard Key Analyzer evaluates candidate keys on cardinality, frequency, and monotonicity using the analyzeShardKey command, and can incorporate read and write distribution data when query sampling is configured. It supports single-field, compound, and hashed shard-key analysis, helping teams compare candidates with evidence rather than assumptions alone, and enabling more informed decisions about their sharded deployments.
Turning Database Grading into RL Rewards: Post-Training Agents with ThinkingBox
ThinkingBox evaluates agent performance by comparing the final database state with the expected outcome, catching agents that claim completion without correct database changes. Its benchmark, ThinkingBox-Bench, contains 507 tasks across domains like retail, auto insurance, travel, neobank, and consulting, each with executable checks on terminal database state. The authors used these executable outcomes as rewards for reinforcement learning, fine-tuning Qwen3.8-27B with GRPO for 50 steps on a training pool selected by offline policy-relative difficulty, which filters tasks that are neither already solved nor hopeless. After training, observed 20/20 tasks completed correctly on all twenty attempts rose from 38 (7.50%) to 107 (21.10%), while pass@1 increased from 51.70% to 60.78%, with a small decline in at-least-once coverage. The results show that database-state grading can serve as a reward signal to improve agent repeatability, and the training loop and data curation method are released on GitHub.
The best AI database solutions for 2026
AI databases extend traditional databases with vector search, full-text search, and hybrid search to support production AI applications like RAG and AI agents. This guide evaluates 10 AI database solutions across seven criteria: search capabilities, serverless scaling, elasticity, Postgres compatibility, high concurrency, low latency, unified governance, and analytics integration. Solutions are grouped into purpose-built vector databases, such as Pinecone, Milvus, Weaviate, and Qdrant, and relational databases with AI search, like PostgreSQL with pgvector and Databricks Lakebase. The choice depends on whether retrieval is the primary requirement or if AI search must coexist with transactional and analytical workloads. Dedicated vector databases suit large-scale retrieval, pgvector fits existing Postgres teams, and Lakebase unifies AI search, transactions, and analytics on the Databricks platform.
OLTP vs. OLAP: Choosing Between Transactional and Analytical Databases
OLTP handles high-volume, low-latency transactions on current operational data for online banking, e-commerce, and inventory, while OLAP handles complex analytical queries on large historical datasets for financial analysis and business intelligence. OLTP databases ensure data integrity through ACID compliance and use normalized row-oriented tables; OLAP systems use denormalized dimensional models and columnar storage for efficient scans and aggregations. Data pipelines such as ETL or CDC tools like Debezium connect OLTP and OLAP systems, but latency and pipeline complexity rise with analytical freshness requirements. For mixed workloads, HTAP or lakehouse architectures can reduce synchronization overhead and analytical lag. The choice between OLTP and OLAP depends on the workload’s read-write pattern, latency needs, and data volume, with TPC-C and TPC-H as reference benchmarks.
Building A Culture Of Growth: MongoDB's Massive Opportunity In APAC
MongoDB’s go-to-market organization in APAC has nearly tripled in size over the past three years, driven by the region’s massive database opportunity. IDC forecasts the global database market will grow to $137 billion by 2027, and MongoDB has reached $1 billion in annual recurring revenue, with APAC containing five of the world’s top 13 economies by GDP. To serve diverse markets like India, Australia, and Singapore, MongoDB deploys regionalized business leaders who tailor go-to-market strategies while collaborating on shared best practices at the leadership level. The company’s culture, shaped by six core values including “Embrace the Power of Differences,” emphasizes psychological safety and accountability, encouraging teams to learn from setbacks. MongoDB’s APAC teams prioritize three goals: ensuring customer success, building technical champions, and driving new workloads, as exemplified by Cathay Pacific’s Flight Folder application powered by MongoDB.
Lakebase and Agentic SDLC: Branching Databases for Coding Agents
Coding agents working in parallel on shared databases create schema conflicts, test interference, and data exposure risks. Lakebase Postgres solves this with database branching, which creates an isolated copy of an entire database in under a second using copy-on-write. Each agent gets its own database branch via a post-checkout Git hook tied to a worktree, and each pull request gets an ephemeral branch through CI tooling. Schema changes are tracked in code with migration tools such as Drizzle or Alembic and promoted to the parent branch during deployment, not by merging database branches. Idle branches scale to zero, so running many concurrent agents incurs no compute cost for unused branches.
MongoDB Queryable Encryption: Prefix, Suffix, and Substring Queries Are Now GA
MongoDB announced general availability of prefix, suffix, and substring query support in Queryable Encryption, extending beyond equality and range queries to production workloads at no additional cost in Atlas, Enterprise Advanced, and Community Edition. These capabilities enable expressive text searches on encrypted data without decryption, with the database server never seeing plaintext during query processing. The open-source encryption scheme is independently verifiable, works without specialized hardware, and protects data at rest, in transit, and in use. The new query types enable partial-name lookups, autocomplete, and partial-word filtering on encrypted fields via the native query engine, requiring no external indexes or middleware. This helps meet HIPAA, PCI-DSS, and GDPR compliance by protecting data in use — a stage other encryption methods cannot cover — reducing audit gaps and eliminating workarounds.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.