4_Purpose Built DBs

Database Options

Parallel to the evolution of application architecture is the evolution of data storage and access solutions.

Amazon Redshift

  • Data warehousing service.

  • Designed for petabyte-scale analytics workloads.

  • Separates read-heavy reporting from an application's transactional database to improve performance.

  • Used for Online Analytics Processing (OLAP).

Purpose-Built Databases

  • AWS offers fully managed purpose-built database options.

  • Matching the database to business needs is crucial.

  • Each database is explained based on:

    • Suitable workload types

    • Data model used

    • Specific features and benefits

    • Use cases

Amazon DocumentDB
  • Document database.

  • Stores and queries data as JSON-like documents.

  • MongoDB compatible.

  • Suitable for complex, dynamic documents requiring querying and indexing.

  • Example use case: Customer profiles.

Amazon Keyspaces
  • Managed Apache Cassandra compatible database service.

  • Processes data at high speeds.

  • Provides millisecond latency.

  • Suitable for applications requiring fast data processing

  • Example use case: Trade monitoring.

Amazon MemoryDB for Redis
  • In-memory database service.

  • Stores entire dataset in memory.

  • Minimizes response time by avoiding disk access.

  • Use cases:

    • Caching

    • Game leaderboards.

Amazon Neptune
  • Graph database.

  • Stores data and relationships between data points.

  • Enables quick creation and navigation of data relationships.

  • Powers graph use cases:

    • Recommendation engines

    • Fraud detection

    • Drug discovery

    • Social networking.

Amazon Timestream
  • Time series database.

  • Designed for data sequenced by time.

  • Streamlines time series data access.

  • Has built-in functions for quick analysis.

  • Use case: Analyzing time series data from IoT applications.

Amazon Quantum Ledger Database (QLDB)
  • Ledger database.

  • Provides a transparent, immutable, and cryptographically verifiable transaction log.

  • Use cases:

    • Maintaining claim history

    • Storing financial transactions.

As a cloud architect, determine business needs and constraints to optimize performance and cost using database knowledge.