သဘောတရား · 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.
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
| Source | Extract path | Impact |
|---|---|---|
| RDS, Aurora | Snapshot export to S3 as Parquet | None on the live database |
| DynamoDB | Export to S3 from point-in-time recovery | No read capacity used |
| Redshift | UNLOAD to S3, or Spectrum | Uses cluster compute |
| OpenSearch | Search API or Glue connector | Uses cluster compute |
| Neptune, DocumentDB | Export tool, DMS or Glue | Depends on the tool |
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
| Source | Extract path | Impact |
|---|---|---|
| RDS, Aurora | Snapshot export to S3 as Parquet | None on the live database |
| DynamoDB | Export to S3 from point-in-time recovery | No read capacity used |
| Redshift | UNLOAD to S3, or Spectrum | 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
| Source | Extract path | Impact |
|---|---|---|
| OpenSearch | Search API or Glue connector | Uses cluster compute |
| Neptune, DocumentDB | Export tool, DMS or Glue | Depends on the tool |
ဘာလဲ
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.
ဒီ task ထဲမှာ · 1.1
- S3 as the ML data lake
- Choosing storage: S3, EFS, EBS, FSx and transfer tools
- Extracting data from databases and search
- Data formats: Parquet, ORC, Avro, CSV, JSON, RecordIO
Kinesis Data Streams
Firehose
Managed Flink
MSK
- Troubleshooting ingestion and storage capacity
Catalog and Lake Formation
- Merging data from multiple sources
- Choosing and configuring a vector store
OpenSearch
- Aurora and RDS PostgreSQL with pgvector
- Ingesting text, image, audio and video
- Ingesting data into SageMaker Feature Store