Database Engineering Q&A: Indexing, Durability, Locks, and More
This Q&A session covers key database engineering concepts including indexing in PostgreSQL, durability in Redis, lock management in transactions, and the differences between various indexing strategies.
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.
118 post articles, 15 pages.