30 thẻ
Classes
Standard | Int-Tiering (pattern lạ) | IA | Glacier IR/Flex/Deep
S3 (nền data lake): Lifecycle + abort multipart + expire noncurrent versions
5. Data Stores (tóm tắt nhanh)
Zones
raw (immutable) → curated (Parquet) → analytics
S3 (nền data lake): File ~128MB-1GB; partition key=value; TRÁNH high-cardinality partition
5. Data Stores (tóm tắt nhanh)
Iceberg
ACID, UPDATE/DELETE/MERGE, time travel, schema evolution
Athena
OPTIMIZE REWRITE DATA BIN_PACK (compaction), VACUUM
MPP
leader + compute (slices); RA3 tách compute/storage
Redshift: DISTKEY = cột JOIN (co-located); ALL = dim nhỏ; skew nếu key lệch
5. Data Stores (tóm tắt nhanh)
Redshift: SORTKEY = cột FILTER (zone maps skip block)
5. Data Stores (tóm tắt nhanh)
Redshift: VACUUM (dead rows + sort), ANALYZE (stats) — có auto
5. Data Stores (tóm tắt nhanh)
Redshift: Serverless (RPU, gián đoạn) vs Provisioned+Reserved (24/7 đều)
5. Data Stores (tóm tắt nhanh)
SPECTRUM
query S3 external ($5/TB) — hot local, cold S3, vẫn JOIN
WLM
Auto WLM + priority; SQA; QMR (abort runaway); Concurrency Scaling
Redshift: Materialized view (auto refresh + rewrite); streaming ingestion từ KDS/MSK
5. Data Stores (tóm tắt nhanh)
Data sharing
live, không copy, cross-account
Data API
SQL qua HTTPS không driver (Lambda/SFN)
Athena: $5/TB scanned; Trino serverless trên S3 + Glue Catalog
5. Data Stores (tóm tắt nhanh)
Giảm cost
Parquet + partition + SELECT cột (LIMIT KHÔNG giúp)
CTAS
convert/partition bằng SQL; result reuse cho dashboard
Workgroups
per-query limit, threshold alert, tách team
Athena: Federated query (Lambda connector) cho nguồn ngoài — ad-hoc only
5. Data Stores (tóm tắt nhanh)
DynamoDB: Hot partition = key lệch (giống Kinesis) → cardinality/write sharding
5. Data Stores (tóm tắt nhanh)
Analytics
EXPORT TO S3 (từ PITR, không ăn RCU) — ĐỪNG scan
CDC
Streams (24h) | KDS for DDB; Zero-ETL → Redshift/OpenSearch
TTL
tự xóa miễn phí WCU (event vào Streams)
On-demand vs provisioned
như Kinesis
OpenSearch: Full-text search + log analytics + Dashboards
5. Data Stores (tóm tắt nhanh)
Ingest
Firehose | OpenSearch Ingestion | zero-ETL DDB
ISM
hot → UltraWarm (S3-backed, rẻ) → cold/delete
Serverless
OCU tự scale