Cloud SQL and Spanner Flashcards
Cloud SQL Max Storage
64 TB
Cloud SQL IOPS
60,000 IOPS
Cloud SQL RAM
624 GB RAM
Cloud SQL Options (SQL types available)
MySQL, PostgreSQL, MS SQL Server 2017 or 2019
How to Configure for High Availability
Synchronous replication
Cloud SQL Misc Features (Who admins what features)
Patches and updates automatically applied
You admin MySQL users
Automated or on demand backups
Cloud SQL Decision Chart (use numbers)
1st: Need relational? Yes
2nd: Max 64 TB, Max 4000 concurrent connections, location management -> If no to any, Cloud Spanner
3rd: Specific OS reqs, Custom DB config reqs, special backup reqs -> If no to any, use a VM with DB installed
Cloud SQL Vs Cloud Spanner Data
64 Terabytes vs ?? Petabytes
Cloud Spanner Misc Features
Horizontal scaling
Strong consistency, high availability
Cloud Spanner Decision Chart (high level, no numbers)
Use Cloud Spanner if any of the below:
-Outgrown single instance RDBMS
-Sharding for DB throughput
-Need transactional consistency
-Global data+strong consistency
-DB consolidation