SQL Practice Logo

SQLPractice Online

Level 7 - ArchitectScenario-Based Questionsm3 partitioning lifecycle

Scenario: Partition Key Choice for Orders at 10B Rows

orders grows by 80M/day. Most queries filter by created_at window and tenant_id. Choose partition key and justify.

Schema Context

orders(order_id, tenant_id, created_at, status, total_amount)