Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

Query vs Scan

What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.

Query vs Scan: Reads one partition key.; Reads the whole table.
Query vs Scan · Download PNG
Read card text

What this card says

Read style

Query

Reads one partition key.

Scan

Reads the whole table.

Key points

Fast and cheap.

Slow and costly.

Example

--key-condition-expression

Use when

Normal app reads.

Rare exports and admin jobs.

See all AWS revision cards