Harpy Glossary

Data Warehouse

Amazon & D2C glossary · Harpy Media

A data warehouse is the central analytical store for your business data — Amazon reports, ads, finance, ops — modeled for querying, not for transactions.

What a data warehouse is

A warehouse collects data from every system — Seller/Vendor Central reports, ad platforms, your ERP/WMS, Shopify, finance — and stores it structured for analysis: fact tables (orders, impressions, spend), dimensions (ASIN, date, campaign, marketplace), refreshed on a schedule. Unlike the source databases, it’s built for big scans and joins, not millisecond transactions. Cloud options dominate: Snowflake, BigQuery, Redshift, Databricks.

For Amazon businesses it’s the difference between “logging into 9 portals weekly” and “one source of truth for ACoS, IPI, margins, and ops in 30 seconds.”

Warehouse vs lake vs CDP vs clean room

  • Warehouse — structured, modeled, SQL-optimized; the analyst’s workhorse.
  • Lake — raw files (S3/GCS), cheap, flexible; messy without governance.
  • Lakehouse — both: Delta/Iceberg tables on cheap object storage with SQL engines.
  • CDP — activation layer for customer profiles; downstream of the warehouse, not a replacement.
  • Clean room (AMC) — privacy-gated compute on someone else’s data joined with yours; queries back into your models.

What to put in it (Amazon edition)

  1. Demand & sales — Business Reports (sessions, units, B2B), RA/Vendor data, settlement reports.
  2. Advertising — SP/SB/SD campaign reports, search-term reports, AMC query exports.
  3. Inventory & ops — FBA restock, aged inventory, IPI snapshots, inbound shipment status.
  4. Finance — settlements, fees, chargebacks, Co-op, credits — reconcile to the penny monthly.
  5. Catalog — listing attributes snapshots for audit diffing over time.

Build vs buy vs tools

Small: don’t — export sheets + a BI tool (Looker Studio/PowerBI) until it hurts. Growing ($2–20M Amazon revenue): managed EL (Fivetran/Airbyte/Stitch) into BigQuery/Snowflake + dbt models + Looker/Tableau/Lightdash — a few weeks to stand up. Scale: dedicated data engineer, CI/CD on dbt, reverse ETL into ad platforms. Amazon-native shortcut: Redshift + Amazon Redshift ML if already in AWS; or AMC if the question is advertising-cohort-shaped and PII is off-limits.

⚠️ Watch out. Garbage in, gospel out — untyped/unguested Amazon flat-file columns silently corrupt joins (dates as text, currency-mixed numerics). Validate aggressively at ingestion; reconcile one report to source monthly.

Ingestion gotchas that break Amazon models

(1) Timezone: Amazon reports use marketplace-local dates; your ERP may use UTC — a day-boundary shift creates phantom mismatches. Standardize to marketplace-local before joining. (2) Currency: store the native currency plus a rate table; never bake rates into raw tables. (3) Attribution lag: ad sales attribute retroactively (14-day windows), so yesterday’s numbers change — snapshot historical pulls, don’t re-query blindly. (4) Duplicate headers in flat files and trailing summary rows silently double your totals; validate row counts against the report metadata every load.

Career and team note

A working Amazon warehouse is a shared asset across ads, supply chain, and finance — treat the model as product-managed with an owner, a changelog, and a definition doc (what counts as “net sales”, how returns lag, which settlement lines map to fees). When two teams quote different ACoS numbers in one meeting, the fix is never debate — it’s one documented definition in the warehouse, adopted everywhere.

Warehouse FAQ

How much does a warehouse cost?

Snowflake/BigQuery entry usage runs "$50–500/month; the real cost is modeling time — budget 4–12 weeks for a usable Amazon model.

Can Amazon data even be exported legally?

Yes — your reports/API data is yours to analyze internally; don’t redistribute or resell it.

Do I need dbt?

Not day one, but the moment two people touch the model, yes — versioned SQL transforms save sanity.

Warehouse vs BI tool — same thing?

No — warehouse stores and computes; BI visualizes. You need both, in that order of decision.

What about real-time?

Amazon reporting is batch (minutes to hours) — “real-time Amazon data” is marketing speak; plan for hourly freshest.

A minimal viable Amazon data model

Start with 4 tables: fact_orders (marketplace, ASIN, date, units, revenue, net), fact_ads (campaign, keyword, date, impressions, clicks, spend, attributed sales), dim_asin (attributes, category, launch date), fact_settlements (date, fee type, amount). Join on ASIN+date; 80% of leadership questions fall out of these. Add returns and inventory later. Resist boiling the ocean — a wrong comprehensive model is worse than a right simple one, and your first model will be wrong anyway.

Want these numbers watched for you, every week?

Book Free Consultation

New guides, straight to your inbox.

Practical D2C playbooks as we publish them. No fluff, no spam — unsubscribe anytime.