ladderlore
  • 输入服务名称,例如 S3 或 IAM。

概念 · 基于 SAA-C03

Extracting data from databases and search

Pick the extract path from a source by size, freshness and the load it puts on production.

本课尚未翻译,暂以英文显示。

你在Solutions Architect Associate中已学过

  • RDS and Aurora are relational, DynamoDB is key-value, Redshift is the warehouse.
  • Neptune holds graphs, DocumentDB holds documents, OpenSearch holds searchable text.
  • Read replicas and caches take read load off a production database.
阅读Solutions Architect Associate课程
  • RDS, Aurora

    Extract path
    Snapshot export to S3 as Parquet
    Impact
    None on the live database
  • DynamoDB

    Extract path
    Export to S3 from point-in-time recovery
    Impact
    No read capacity used
  • Redshift

    Extract path
    UNLOAD to S3, or Spectrum
    Impact
    Uses cluster compute
  • OpenSearch

    Extract path
    Search API or Glue connector
    Impact
    Uses cluster compute
  • Neptune, DocumentDB

    Extract path
    Export tool, DMS or Glue
    Impact
    Depends on the tool
Extract path and impact for each source.

1 / 2

  • RDS, Aurora

    Extract path
    Snapshot export to S3 as Parquet
    Impact
    None on the live database
  • DynamoDB

    Extract path
    Export to S3 from point-in-time recovery
    Impact
    No read capacity used
  • Redshift

    Extract path
    UNLOAD to S3, or Spectrum
    Impact
    Uses cluster compute

2 / 2

  • OpenSearch

    Extract path
    Search API or Glue connector
    Impact
    Uses cluster compute
  • Neptune, DocumentDB

    Extract path
    Export tool, DMS or Glue
    Impact
    Depends on the tool
Extract path and impact for each source.
Spare production?
Need fresh rows?
Snapshot or table export
Glue over JDBC
Athena federated query
yesnoyessmall slice
Spare production first, then ask about freshness.

是什么

ML teams rarely train on the production database itself. They copy data to S3 and work there. The extract path depends on three things: how much data, how fresh it must be, and how much load the source can take.

是什么

For RDS and Aurora, export a snapshot to S3. The export reads the snapshot, not the live database, and writes Parquet. For live rows, a Glue job reads over JDBC, best from a read replica. Athena federated queries run SQL on a database through a Lambda connector, which suits small slices. For DynamoDB, export to S3 from point-in-time recovery. It uses no read capacity of the table. A table Scan does use read capacity, and DynamoDB Streams carries changes.

是什么

Redshift UNLOAD writes query results to S3, in Parquet if you ask. Redshift Spectrum queries S3 files in place. For OpenSearch, read with the search API or a Glue connector. Neptune data can be exported to S3, and DocumentDB data can be moved to S3 with AWS DMS or a Glue job.

要记住

  • RDS and Aurora: snapshot export to S3 as Parquet, with no load on the live database.
  • DynamoDB: export to S3 needs point-in-time recovery and uses no table read capacity.
  • Live rows from a relational source: Glue over JDBC, from a read replica.
  • Redshift: UNLOAD to S3, or Spectrum to query files in place.

要记住

  • Fresh data costs more load. Snapshots are old but safe.

考试中

  • “Copy a DynamoDB table to S3 without using its read capacity” points to export to S3 from point-in-time recovery.
  • “Get RDS data into S3 with no impact on production” points to a snapshot export.
  • “Combine S3 data with a database in one query” points to Athena federated query.