{# Storage Billing Analysis — all datasets with cost comparison #} {% if storage_billing_datasets and storage_billing_datasets | length > 0 %} {% set savings_count = storage_billing_datasets | selectattr('monthly_savings', 'gt', 0) | list | length %}
Cost comparison of logical vs physical billing for each dataset
| Project | Dataset | Tables | Billing | Compression | Logical Cost | Physical Cost | Difference | Recommendation |
|---|---|---|---|---|---|---|---|---|
| {{ ds.project_name }} | {{ ds.dataset }} | {{ ds.table_count }} | {% with billing_model=ds.billing_model %} {% include "components/storage_billing_badge.html" %} {% endwith %} | {{ "%.1f"|format(ds.compression_ratio) }}x | ${{ "%.2f"|format(ds.logical_cost) }}/mo | ${{ "%.2f"|format(ds.physical_cost) }}/mo | {% if ds.monthly_savings > 0 %} -${{ "%.2f"|format(ds.monthly_savings) }}/mo ({{ "%.0f"|format(ds.savings_pct) }}%) {% elif ds.monthly_savings < 0 %} +${{ "%.2f"|format(ds.monthly_savings | abs) }}/mo {% else %} — {% endif %} |
{% if ds.monthly_savings > 0 %}
Switch to PHYSICAL
{% if ds.has_solution %}
{% endif %}
{% elif ds.billing_model == 'PHYSICAL' %}
Already physical
{% else %}
Keep logical
{% endif %}
|
Why can physical billing cost more?
Rates shown are US multi-region defaults. Physical billing benefits large, rarely-updated, highly-compressible datasets.