Correlated Subqueries Explained: From Confusing to Intuitive
Hey everyone! 👋 It's been a while since I posted here. Over the past few days, I've been revisiting SQL from the ground up—not just solving problems, …
Latest Architecture news from Tech News
Hey everyone! 👋 It's been a while since I posted here. Over the past few days, I've been revisiting SQL from the ground up—not just solving problems, …
Three words that engineers use interchangeably and shouldn't: Migration is a one-time move — different system, different schema, run once, archive the…
On May 20, 2026, AWS ended support for DMS Fleet Advisor. Fleet Advisor answered a question every migration team asks first: what is actually in my da…
stock balances is a minefield**. In SQL textbooks, everything looks clean: run SUM(quantity) over transaction history or use a ROW_NUMBER() window fun…
I have professionally worked with four different SQL database types PostgreSQL , MySQL & MariaDB (InnoDB), MSSQL SQL Server 2008+ and Oracle 19c +…
SQLite vs PostgreSQL: Choosing the Right Database tags: database, sql, tutorial, programming tags: database, sql, tutorial, programming Imagine you're…
(Demo's in Chinese but you'll get the idea in 30 seconds) 👇 https://demo-bs.zhxu.cn/ A backend engineer's confession: you just wrote 100 lines of Java…
Disclosure: I build Schemity , a desktop ERD tool - this post is from our blog and uses it for the examples. TL;DR: Lucidchart draws entity relationsh…
A field decision from a real production migration — not a feature-matrix blog. When we migrated two internal enterprise applications (plus an integrat…
This is Part II of a series about vertical partitioning for large text columns. Part I explains why we separated the large text from the main table. I…
Disclosure: I build Schemity , a desktop ERD tool - this post is from our blog and uses it for the examples. TL;DR: Coupling and cohesion are question…
Disclosure: I build Schemity , a desktop ERD tool - this post is from our blog and uses it for the examples. TL;DR: Focused sub-diagrams remove noise,…
Performance optimization isn't always about buying better hardware. Sometimes, it's about asking the database the right question. Introduction A slow …
SQLite Internals: lcd-ex vs hctree; PostgreSQL 19 SQL/PGQ Rewrites & pg_timetable Migration Today's Highlights This week's highlights feature a de…
DuckDB Iceberg MERGE, PostgreSQL GUCs, SQLite Optimization Checklist Today's Highlights This week's highlights include powerful new Iceberg data manip…
Epic is installed at approximately 38% of US hospitals . If you work in healthcare data engineering long enough, you will encounter Epic Clarity. This…
Переход крупных корпоративных систем на отечественные СУБД остается одной из наиболее актуальных задач последних лет. Однако основная сложность подобн…
Sooner or later, someone asks: "What did this customer's plan look like when they signed up last February?" The current row won't tell you that; it's …
A stored procedure, a migration script, a complex report — Claude Code writes them in seconds. That's the easy part. The hard part starts afterwards: …
Introduction "Graph RAG typically pre-builds a global graph offline, then uses PageRank for query-time scoring and expansion — but PageRank has decay:…
Same uncle, this time in "Database Architect" mode. Same nephew, this time asking the question every backend developer eventually asks out loud. Part …
I spent about 80 hours grinding LeetCode before my first FAANG data engineering loop. Binary trees, dynamic programming, graph traversal. I could reve…
My intention with this article is to show how I'd implement role-based access control (RBAC) if I had to - in the hope that it acts as a guide for whe…
Denormalization has been the standard approach to analytical data modeling for good reason. Moving joins, lookups, and business rules out of query tim…
title: sqlex — A Modern Drop-in Replacement for jmoiron/sqlx published: false description: sqlex is a fully API-compatible modernization of jmoiron/sq…
The difference between a star schema and a snowflake schema is smaller than the debate around it suggests. Both are dimensional models — a central fac…
You built a solid internal tool. It manages customers, tracks orders, handles operations. Your team lives in it every day. Then someone in leadership …
SaaS database architecture decisions made in the first week will haunt you for years. This guide walks through a battle-tested multi-tenant schema des…
DuckDB 1.5.2, PostgreSQL Internal Stats, and SQLite Virtual Table xUpdate Deep Dive Today's Highlights This week brings a stable new patch release for…
Data Modelling is the invisible architecture that structures your data so it is fast accurate and scalable. It is the process of identifying, organizi…