Design Cost-Optimized Architectures

A retailer retains years of wide sales records, loads them nightly, and runs joins and aggregates that read only a few columns across billions of rows. Occasional individual-record lookups can take seconds; which database design BEST reduces analytical processing costs?

Show the answer

Correct answerA. A columnar warehouse with compressed analytical storage

AWhy this is right: Column pruning and compression reduce I/O for large analytical scans, while nightly loads suit a warehouse.

BWhy not this: Key-value storage favors key lookups rather than joins and aggregates across billions of records.

CWhy not this: Graph storage optimizes relationship traversal, not large-scale aggregation of selected sales columns.

DWhy not this: Row storage and numerous indexes add overhead for broad analytical scans, despite helping individual-record queries.

Columnar storage reads only the needed columns and compresses similar values efficiently, reducing analytical I/O. A row-oriented database favors individual-record access, but indexing many columns adds overhead without matching columnar efficiency for large scans.