← Back to Database and Storage

Cloud Database Cheat Sheet

Cloud database types mapped to workload shape, query model, and operations.

Database and StorageCloud ComputingDatabases

A cloud database cheat sheet is useful only if it starts with workload shape rather than provider branding. The same data can fit badly in one service and naturally in another depending on access patterns, consistency requirements, and operational constraints. Choosing well means asking what the system does all day, not which managed product sounds familiar.

Relational databases remain the default when the domain has strong relationships, transactional updates, and queries that need joins, constraints, and predictable correctness. Orders, payments, identity, and back-office systems usually belong here. A managed relational service reduces operational work, but it does not remove the need to think about indexes, connection limits, query plans, and read scaling.

Key-value stores are better when requests are simple, high-volume, and latency sensitive. If the application usually reads or writes by a single key, such as session ID, shopping cart ID, or rate-limit bucket, a key-value service avoids the overhead of a richer query engine. The price you pay is reduced flexibility. Ad hoc querying is weak, and data modelling must be done around known access patterns.

Document databases fit when each record is mostly self-contained and may evolve in shape over time. Product catalogues, content objects, and profile documents are common examples. They are attractive because they map neatly to JSON-heavy application code, but teams should still treat schema discipline seriously. Optional fields and nested structures can become a silent source of inconsistency if validation is weak.

Wide-column databases are designed for massive write throughput and large horizontal scale. They work well for event logs, telemetry, and workloads that can be modelled around partition keys and time buckets. They do not behave like drop-in relational replacements. You must design around denormalisation, careful partition sizing, and query patterns known in advance.

Specialised stores matter too. Time-series databases are excellent for metrics and observability because retention, compression, and windowed aggregation are built in. Search engines are better than relational databases for free-text relevance queries and faceted exploration. Data warehouses and lakehouse systems serve analytical workloads where scanning large volumes and separating storage from compute are more important than low-latency writes.

The managed versus self-hosted choice is another axis. Managed databases save operational effort on backup, patching, failover, and metrics, which is often worth the premium. Self-hosted or open-source alternatives offer more control and may reduce cost, but they move reliability work back onto your team. That tradeoff is not only financial. It changes who gets paged during a failover.

A practical cheat sheet therefore asks a short sequence of questions. Is the workload transactional or analytical? Do queries revolve around one key, rich relations, documents, or time windows? What are the write rate, latency target, and retention requirements? How much operational responsibility is the team willing to own? The right cloud database is usually the one whose storage model matches the access pattern closely enough that you spend your time building product features instead of compensating for the database.