India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
Google CloudApparel retail (omnichannel)Retail, E-commerce & Consumer

Apparel retailer cuts BigQuery spend 52% while dashboards get faster

Apparel and footwear retailer, 540 stores, online store and marketplace sales · Google Cloud Mumbai · 8 weeks

Amazon Web Services
01

As-is situation

BigQuery spend had grown from about INR 9 lakh to INR 26 lakh a month in 14 months on on-demand pricing. A 46 TB sales-line table was partitioned by ingestion time but filtered by business date, so most queries scanned it fully. Looker Studio dashboards for 540 store managers queried the raw table on every load. Three Dataform pipelines fully rebuilt inventory snapshots every hour. Finance saw one BigQuery line on the invoice and could not tell merchandising, marketing and supply chain costs apart.

  • Monthly BigQuery spend nearly tripled to INR 26 lakh in 14 months
  • Store dashboards scanned a 46 TB table on every load
  • Hourly full rebuilds of inventory snapshots in three pipelines
02

Approach, tools and architecture

NTSPL joined INFORMATION_SCHEMA.JOBS with the billing export and found 18 query patterns behind 64% of cost. The sales-line table was repartitioned by business date and clustered by store and SKU; a daily store aggregate now serves store dashboards with BI Engine. Inventory pipelines became incremental with a 3-day lookback. Datasets with high compression moved to physical storage billing. A modest Enterprise edition baseline reservation with autoscaling now serves ELT and dashboards, while ad-hoc projects stay on-demand with per-user custom quotas. Labels attribute every job to a team.

INFORMATION_SCHEMA.JOBS + billing export → query fingerprints → table repartition and aggregates → incremental Dataform → editions baseline + autoscaling → custom quotas and team labels
BigQueryBigQuery editions reservationsBigQuery BI EngineDataformLooker StudioCloud Billing export
03

Implementation approach

Weeks 1-2 · AttributionFingerprinted 3 months of jobs and attributed cost to teams.
Weeks 3-5 · Table and pipeline fixesRepartitioned the sales-line table and made inventory pipelines incremental.
Weeks 6-7 · Pricing switchMoved steady workloads to a baseline reservation with autoscaling.
Week 8 · GuardrailsSet custom quotas and launched the weekly cost review.
04

Measured results

Monthly BigQuery spend
INR 26 lakh→INR 12.5 lakh
Store dashboard load time p95
11 seconds→2.4 seconds
Spend attributed to a team
0%→97%
Storage cost for compressed datasets
Logical billing baseline→41% lower on physical billing

Operational improvements

  • Merchandising and marketing see their own BigQuery cost weekly and own fixes
  • New tables above 1 TB require partition filters before they can be queried
05

Cost considerations

The baseline reservation is sized for weekday business hours, with autoscaling for month-end and sale events. Ad-hoc projects remain on-demand because their use is too irregular for slots to pay off. Reservation size is reviewed every quarter against utilisation.

06

Return on investment

ROI indicator

Savings of about INR 13.5 lakh a month, or INR 1.6 crore a year, against a sprint cost of INR 22 lakh. Payback was under two months, and faster store dashboards raised weekly active store managers.

Illustrative scenario: a composite based on typical NTSPL engagement patterns for this industry and service. It does not describe a named customer. The figures are indicative, and actual results depend on the workload, its scale and the commercial terms.