Skip to content
Tag33 articles1 course

Databases

Everything on CoreConcept tagged with Databases. Explore related tags below.

Related tags

Courses

Intermediate~4 hours

Learn how relational, NoSQL, vector, and cloud databases work — and how to pick, design, and query the right one for your application.

Articles

As relational databases grow beyond millions to billions of rows, single-table query performance degrades due to massive B-Tree index sizes and memory swapping.

Aug 1, 20263 min read
Read

Approximate Nearest Neighbor (ANN) search is the engine behind Retrieval-Augmented Generation (RAG) and semantic search. Performing exact k-Nearest Neighbors (k

Aug 1, 20263 min read
Read

Relational databases like PostgreSQL excel at Online Transaction Processing (OLTP)—handling frequent single-row reads, updates, and inserts with strict ACID gua

Aug 1, 20263 min read
Read

At the heart of every database system lies a Storage Engine that determines how data is written to disk, indexed, and retrieved. Relational databases like Postg

Aug 1, 20263 min read
Read

In-memory caching is an essential component of high-throughput web architectures, reducing database read load and accelerating API response times. When selectin

Aug 1, 20265 min read
Read

Selecting the right primary database is one of the most critical architectural decisions for software teams. PostgreSQL is the world's most advanced open-source

Aug 1, 20265 min read
Read

A multi-tenant analytics platform partitions incoming events by tenant_id, hashed onto 16 shards — a design that looked perfectly balanced in every load test. T

Jul 18, 20267 min read
Read

A URL shortener's redirect endpoint, GET /r/{code}, looks purely read-heavy — billions of redirects against a handful of short codes created per second. But eve

Jul 17, 20267 min read
Read

A shopping cart write to cart-77 needs to land on enough replicas that a later read is guaranteed to see it — but "enough" is a number you choose, and the numbe

Jul 17, 20268 min read
Read

A user changes their display name, refreshes the page a second later from a phone on a different network, and sees the old name. Nothing crashed. No request fai

Jul 17, 20268 min read
Read

A shopping cart must remember items, so the product cannot be literally stateless. The useful design question is where that state lives. Keep the cart inside on

Jul 17, 20268 min read
Read

An order API can return responses all day and still charge the wrong amount. It can be temporarily unreachable while every stored order remains safe. It can fai

Jul 17, 20268 min read
Read

"Just use Postgres" is good advice until a measured access pattern needs a specialist. A checkout might use Redis for the cart, SQL for order and inventory, a v

Jul 16, 20266 min read
Read

Semantic search, RAG, and agent memory depend on the same primitive: store embeddings and retrieve nearby vectors with the filters your product requires. The ma

Jul 16, 20269 min read
Read

A Redis GET can be constant-time and still miss its latency target when a large Lua script is ahead of it, the client opens a new TLS connection, or the value t

Jul 5, 20267 min read
Read

A selective lookup that once scanned most of a large table can become an index walk plus a few heap fetches — often the difference between a snappy API and a ti

Jul 4, 20265 min read
Read

The CAP theorem states that when a distributed system is partitioned, it cannot guarantee both linearizable consistency and availability for every request. Cons

Jul 4, 20264 min read
Read

This guide is for engineers who know basic SQL and key-value access but need to justify a production database choice. By the end, you can evaluate one checkout

Jul 1, 20268 min read
Read

Two support agents both open the same account balance, both see $100, both independently process a $50 withdrawal, and the balance ends up at $50 instead of $0

Jul 21, 20268 min read
Read

A team says "we need to shard the database" when the actual measured problem is a 200GB events table that scans slowly, or "let's add replication" when what the

Jul 21, 20267 min read
Read

"The index exists, why is this query still slow?" is one of the most common database escalations — and the answer is almost always sitting in EXPLAIN ANALYZE ou

Jul 21, 20268 min read
Read

Relational SQL databases store data in rigid tables linked by foreign key relationships. When querying highly connected domain data — such as social networks, r

Aug 3, 20269 min read
Read

Modern digital applications generate massive streams of user event logs, IoT sensor metrics, and financial clickstreams. Processing billions of event records pe

Aug 3, 20269 min read
Read

Primary relational databases (like PostgreSQL or MySQL) execute disk I/O and query compilation for every read query. As application concurrency grows to thousan

Aug 3, 20269 min read
Read

Single-region database deployments create single points of failure (SPOFs). If an entire cloud availability zone or geographic region experiences a fiber cut, p

Aug 3, 20269 min read
Read

When relational MySQL databases reach multi-terabyte scale, single-instance hardware limits are breached. Vertical scaling (upgrading CPU cores and RAM) becomes

Aug 3, 20269 min read
Read

Database queries executing against multi-million row tables suffer severe latency spikes if the database storage engine must scan every page file on disk sequen

Aug 3, 20269 min read
Read

Modern IoT fleets, financial market feeds, server telemetry pipelines, and application metrics generate millions of append-only time-stamped events every second

Aug 3, 20269 min read
Read

Adding full-text search capabilities to modern web and mobile applications often starts with simple SQL LIKE '%query%' clauses or PostgreSQL tsvector indexes. A

Aug 4, 20269 min read
Read

Establishing a fresh TCP connection to a PostgreSQL database server requires a 3-way TCP handshake, TLS certificate negotiation, process fork (backend process c

Aug 4, 20269 min read
Read

As web applications scale to hundreds of thousands of active users, querying relational databases for every page view creates severe I/O bottlenecks and high da

Aug 5, 20263 min read
Read

As database tables grow to tens of millions of rows, un-optimized PostgreSQL queries cause sudden CPU spikes, connection pool exhaustion, and elevated API tail

Aug 6, 20264 min read
Read

Cloud Spanner and MySQL agree on almost nothing below the SQL syntax layer — Spanner shards data across nodes by key range, replicates synchronously across regi

Aug 3, 20268 min read
Read

Want a curated collection instead? Topic hubs group the best content by subject.

Browse Topics