Skip to main content
Version: 3.0

Rollup Views

Pre-aggregated views built by the orchestrator for fast analytics queries — without scanning billions of rows in the full production table.

Available Rollups

ViewPartitionKey MetricsTypical Use
prod_rollup_providerprovider_idTotal ROIDs, rated ROIDs, avg rate, payer countProvider rate landscape
prod_rollup_payerpayer_idTotal ROIDs, rated ROIDs, median rate, provider countPayer rate behavior
prod_rollup_networknetwork_idMedian rate, provider countNetwork-level competitiveness
prod_rollup_codebilling_code, bill_typeTotal ROIDs, rated ROIDs, avg rate, provider countNational range for a service
prod_rollup_provider_networkprovider_id, network_idPer-contract rate statisticsProvider rate variation across networks
prod_rollup_cbsa_codeCBSA, billing_codeRegional pricing aggregatesGeographic pricing variation

Build Process

Rollups are built from prod_combined_abridged after the orchestrator merge completes. Each rollup applies uniqueness and non-null validation checks before writing — ensuring the aggregates reflect only valid, non-duplicate ROIDs.

When to use rollups vs the full table

Rollups are orders of magnitude faster for aggregate queries. Use prod_combined_abridged when you need rate-level detail for individual ROIDs. Use prod_combined_all when you need the full rate array or internal accuracy scores for debugging. Use rollup views when you need aggregates — national averages, provider coverage counts, network comparisons — without row-level detail.