Understanding Bitmap Index Scans in Database Queries
An exploration of bitmap index scans in databases, explaining how they optimize queries with multiple conditions by reducing disk I/O.
Why Updates in PostgreSQL Affect All Indexes
Exploring the reasons behind PostgreSQL's behavior of updating all indexes during row updates and how to optimize it.
Understanding Read-Only Transactions and Primary Key Choices in Databases
Notes on why we use read-only transactions and how to choose between sequential keys and UUIDs in databases.
Exploring Arrow Functions, Rest Parameters, and let in TypeScript
Lecture notes covering TypeScript's arrow functions, rest parameters, and let keyword, explaining their syntax, benefits, and practical use cases from pages 44–53 of the 2019 TypeScript Deep Dive book.
Understanding Relationships in SQL Databases
This lecture explores working with multiple tables in relational databases, covering relationships, keys, Entity Relationship Diagrams (ERDs), and advanced SQL queries in SQLite.
Understanding Non-Key Column Indexes in Databases
This lecture note explores the use of non-key column indexes in databases, discussing their benefits, costs, and best practices for implementation.
Understanding Serializable Isolation Level and SELECT FOR UPDATE in Database Transactions
This lecture note explains the serializable isolation level in database transactions and compares it with the use of SELECT FOR UPDATE for concurrency control.
Q&A: Why Can't We Use a Single Database Connection for Multiple Clients?
In this Q&A session, we explore why using a single database connection for multiple clients is problematic and how connection pooling solves these issues.
117 post articles, 15 pages.