DEV Community

select * from SQL

Posts on tips and tricks, using and learning about SQL for database development and analysis.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
SQL Transactions

SQL Transactions

Comments 1
20 min read
Postgres Internals in Simple Words: One Example to Understand Tables, Pages, Tuples, and Indexes

Postgres Internals in Simple Words: One Example to Understand Tables, Pages, Tuples, and Indexes

Comments 1
4 min read
Before You Convert a Single CA 2E Program, Find Out Which Ones Anyone Still Runs

Before You Convert a Single CA 2E Program, Find Out Which Ones Anyone Still Runs

Comments
6 min read
How to Set Up DuckDB (Run SQL on a CSV With No Import Step)

How to Set Up DuckDB (Run SQL on a CSV With No Import Step)

Comments
10 min read
Optimistic vs Pessimistic Locking: Handling Race Conditions in High-Contention Databases

Optimistic vs Pessimistic Locking: Handling Race Conditions in High-Contention Databases

Comments
2 min read
Subqueries vs CTEs: Query Optimizer Internals & Memory Spooling Explained

Subqueries vs CTEs: Query Optimizer Internals & Memory Spooling Explained

Comments
2 min read
What AI Coding Assistants Need Next: Context, Model Choice and Human Review

What AI Coding Assistants Need Next: Context, Model Choice and Human Review

3
Comments
5 min read
My security test was green for six weeks because it could not turn red

My security test was green for six weeks because it could not turn red

Comments
3 min read
Day 1: starting the road to backend developer

Day 1: starting the road to backend developer

1
Comments
1 min read
The Safe Way to Add a NOT NULL Column to a Large Postgres Table

The Safe Way to Add a NOT NULL Column to a Large Postgres Table

1
Comments 1
4 min read
Tối Ưu Truy Vấn SQL & Connection Pool Tải Cao

Tối Ưu Truy Vấn SQL & Connection Pool Tải Cao

Comments
4 min read
Stop writing raw SQL in your migrations (most of the time)

Stop writing raw SQL in your migrations (most of the time)

1
Comments 2
6 min read
How I close a monthly dataset, and the month I found out mine had been lying

How I close a monthly dataset, and the month I found out mine had been lying

5
Comments
4 min read
Adding a NOT NULL Column to a Large PostgreSQL Table: Constant Default, Backfill or NOT VALID

Adding a NOT NULL Column to a Large PostgreSQL Table: Constant Default, Backfill or NOT VALID

1
Comments
10 min read
ORDER BY Without a Tiebreaker Is a Flaky Test Generator

ORDER BY Without a Tiebreaker Is a Flaky Test Generator

Comments 2
3 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.