Week 5 Optimizing
Watch the lecture
Video: https://www.youtube.com/watch?v=WXk7yDqsKxs
Week 5 Optimizing
Indexes. CREATE INDEX. EXPLAIN QUERY PLAN. Covering Indexes. B-Trees. Partial Indexes. VACUUM. Concurrency. Transactions. ACID: Atomicity, Consistency, Isolation, Durability. BEGIN TRANSACTION. COMMIT. ROLLBACK. Race Conditions. Locks.
How to download lecture source code into Visual Studio Code
Log into cs50.dev.
In your terminal window, type
wget https://cdn.cs50.net/sql/2023/x/lectures/5/src5.zipfollowed by Enter in order to download a Zip file of lecture’s source code into your codespace.
In your terminal window, type
unzip src5.zipfollowed by Enter to unzip (i.e., decompress) that Zip file.
In your terminal window, type
cd src5followed by Enter in order to “change directory” into that
src5directory (i.e., folder).In your terminal window, type, e.g.,
lsfollowed by Enter in order to see the files.