Week 6 Scaling

Scalability. MySQL: Integers, Strings, Dates, Times, Real Numbers, Floating-Point Imprecision, Fixed Precision, Altering Tables. Stored Procedures. PostgreSQL. Vertical Scaling. Horizontal Scaling. Replication. Read Replicas. Sharding. Access Controls: GRANT, REVOKE. SQL Injection Attacks. Prepared Statements.

How to download lecture source code into Visual Studio Code
  1. Log into cs50.dev.

  2. In your terminal window, type

    wget https://cdn.cs50.net/sql/2023/x/lectures/6/src6.zip
    

    followed by Enter in order to download a Zip file of lecture’s source code into your codespace.

  3. In your terminal window, type

    unzip src6.zip
    

    followed by Enter to unzip (i.e., decompress) that Zip file.

  4. In your terminal window, type

    cd src6
    

    followed by Enter in order to “change directory” into that src6 directory (i.e., folder).

  5. In your terminal window, type, e.g.,

    ls
    

    followed by Enter in order to see the files.