Cloud Data Warehousing

Context: FIT3003_MOC · the same Data Warehouse and Star Schema hosted on provider-managed infrastructure · sibling of Data Lakehouse · (W12 emerging-topics deck — not a book chapter) Parent Framework: Data Warehouse

Quick Revision

  • 🎯 Objective: a warehouse hosted and operated on cloud infrastructure ➔ analytical SQL, reporting and BI with managed backups, monitoring and maintenance, and resources that follow the workload.
  • 📦 Core Components: service model (IaaS ➔ managed ➔ serverless) | storage compute | platforms Snowflake · Redshift · BigQuery | Oracle ADW.
  • ⚡ Key Constraint: the cloud changes how infrastructure is provisioned and managed — it does not automatically guarantee lower cost or better performance, and automation never removes the need for modelling, SQL and governance expertise.

📝 How It Works

1. On-premises vs cloud

AspectOn-premisesCloud
Infrastructureorganisation-managedprovider-managed
Capacityplanned and provisioned in advanceprovisioned or scaled on demand
Upgradessignificant planningresources adjusted more quickly
Operational burdenorganisation runs hardware and most infrastructureprovider assumes some infrastructure and operational duties
Cost shapecapacity sits underused in quiet periodsusage-based pricing can align cost with demand
  • Service models ➔ IaaS — the organisation still runs much of the database software and configuration · managed warehouse — the provider runs more of the database operations · serverless analytics — provisioning is abstracted away from the user entirely.

2. Separation of storage and compute

  • Storage ➔ persistent tables and history; sized by data volume and retention; cloud object storage or a managed storage layer.
  • Compute ➔ runs queries, joins, aggregations, transformations; sized by query performance and concurrency; scales with analytical demand.
  • Payoff ➔ each scales on its own ➔ flexible allocation · workload isolation (where supported) · potentially better cost control — keep five years of sales data, add compute only for peak reporting periods.

3. Platforms

PlatformArchitectureScalingAdministrationPricingKnown for
Snowflake (SaaS)multi-cluster shared-data; compute and storage fully decoupledvirtual warehouses scale independently and automatically — “infinite”predictablepay-as-you-go per second, or pre-purchasedANSI SQL over structured and semi-structured data · multi-cloud (AWS, Azure, GCP) · data sharing · many concurrent users
Amazon RedshiftMPP clusters built on PostgreSQLplanned (choose compute- vs storage-optimised node types)moderate(not stated)AWS-native integration · configurable distribution styles · Redshift Spectrum queries S3 directly · AWS Lake Formation
Google BigQueryfully serverlessautomatic, petabyte-scalenoneper data scanned, or flat-rate slot capacityANSI SQL over billions of rows · streaming inserts for real-time · Google Cloud AI/ML integration

When It Flips: Snowflake when compute must scale apart from storage across clouds or for sharing · Redshift when the estate is already AWS and capacity can be planned · BigQuery when nobody should manage infrastructure and cost should follow bytes scanned (real-time analytics).

4. Oracle Autonomous Data Warehouse (ADW)

  • What ➔ a managed Oracle Cloud database service for analytical workloads.
  • Automated ➔ provisioning and maintenance · backups and software updates · performance optimisation · elastic compute scaling · integration with SQL tools, data integration and analytics services.
  • Still yours ➔ data modelling and schema design · SQL and query optimisation · data quality and governance · security, workload management and cost control.
  • Oracle modern DW architecture ➔ sources (enterprise apps, devices, end users, events, sensors) ➔ Data Integration / Oracle TEQ ➔ ADW Object Storage Autonomous Database ➔ OML (in-database ML), Oracle Analytics Cloud, analytics/ML apps, Data Catalog.

⚠️ Common Mistakes

  • 💡 “Cloud = cheaper and faster” ➔ the deck states it guarantees neither; usage pricing helps only when demand actually varies.
  • 💡 “Autonomous = no DBA skills needed” ➔ automation reduces operational effort; the star schema, the SQL and data quality are still designed by you.

🧠 Active Recall