4. Glue (tóm tắt nhanh)

17 thẻ

Review deck này
Tất cả thẻ trong deck

Data Catalog: Metadata only (schema/location/partitions) — xóa table không xóa data

4. Glue (tóm tắt nhanh)

Crawler

classifier → infer schema → partition từ key=value

Tối ưu crawl

incremental | S3 EVENT-BASED (SQS) | partition projection

Custom classifier

Grok/XML/JSON path (chạy trước built-in)

Schema Registry

schema STREAMING (Avro/JSON/Protobuf) + compatibility

Jobs: Spark ETL | Streaming | Python shell (0.0625 DPU, việc nhỏ) | Ray

4. Glue (tóm tắt nhanh)

Workers

G.1X/2X/4X/8X; G.025X (streaming); Auto Scaling

FLEX

-34% cho batch không SLA

BOOKMARK

incremental — PHẢI có transformation_ctx + job.commit

Jobs: fail giữa chừng → đọc lại (at-least-once) → sink idempotent

4. Glue (tóm tắt nhanh)

push_down_predicate

lọc partition trước khi đọc S3

enableUpdateCatalog + partitionKeys

partition mới tự vào catalog

DynamicFrame

choice type → ResolveChoice; nested JSON → Relationalize

Driver OOM

hàng triệu small files → groupFiles/compaction

1 task chậm mãi

data skew → AQE/salt/broadcast join

Tuning: GZIP text không splittable; Parquet+Snappy OK

4. Glue (tóm tắt nhanh)

Tuning: DPU-hour = worker × giờ → chạy nhanh hơn là rẻ hơn

4. Glue (tóm tắt nhanh)

4. Glue (tóm tắt nhanh) – Flashcards – DEA-C01 | Học Dev