Unlock the power of your data in the cloud! Get hands-on with Google Cloud's core data services like BigQuery and Looker to validate your practical skills in data ingestion, analysis, and management, and earn your Associate Data Practitioner certification!
Structured data consists of information organized in a fixed schema, such as tables with defined rows and columns. This data type is highly organized and easily searchable using standard SQL query languages. Because it follows strict structural rules, it ensures high data integrity and supports ACID-compliant transactions. Common examples include retail inventory records, financial transactions, and user account details with consistent attributes like names and signup dates.
When your application requires real-time updates and online transaction processing (OLTP), Cloud SQL is the ideal database choice. This fully managed relational database service supports engines like MySQL, PostgreSQL, and SQL Server. It provides automatic backups for reliability, native SQL support for complex joins, and enforces ACID transactions to keep data consistent.
If your goal is large-scale data analytics and interactive reporting, you should choose BigQuery instead. BigQuery is a serverless, SQL-based data warehouse designed to query massive datasets with high performance. It scales automatically to handle big workloads and maintains a clean separation of storage and compute resources, allowing you to pay for each resource independently.
Relational databases and analytical data warehouses are designed specifically for structured data. If your application demands strict transactional integrity, such as an accounting platform, Cloud SQL handles these transactional needs. For high-performance analytics on structured datasets, BigQuery serves as the primary analytical engine, allowing teams to run complex queries across huge tables.
Unlike structured data, unstructured data does not follow a predefined format and includes files like videos, images, and backup archives. To store these large, immutable files, you should use Cloud Storage because it prioritizes storage capacity and accessibility over querying capabilities. This service acts as a highly scalable object store where files are saved without needing a database schema.
Semi-structured data mixes elements of both worlds, using flexible formats like JSON or XML. For workloads that need to read and write this data rapidly without complex SQL queries, Firestore and Bigtable are the primary NoSQL options. These services easily store fast-changing data, such as real-time IoT sensor readings or personalized user profiles, because they do not require a rigid table structure.
To build an efficient cloud architecture, you must classify your dataset's structural requirements before picking a service. Mapping your data characteristics directly to BigQuery, Cloud Storage, Bigtable, or Firestore ensures optimal performance. This targeted selection prevents you from overpaying for database features your application does not actually require.
A decision tree that branches based on data structure (structured, unstructured, or semi-structured) and workload type (transactional, analytical, object, or high-throughput) to select the appropriate Google Cloud storage service.
When dealing with unstructured data like multimedia files and historical archives, Cloud Storage provides a flexible object storage system. You can optimize costs by selecting different storage classes based on how often you need to access your data. For example, choose Standard storage for frequently accessed hot files, and use Archive storage as a low-cost option for disaster recovery backups that you expect to access less than once a year.
For semi-structured workloads that require a flexible, schemaless design, mobile and web applications often rely on Firestore. Firestore is a NoSQL document database that allows different objects to have different properties over time. To organize this flexible data, developers can structure information using three main components:
When your semi-structured data requires massive scalability and high-throughput writes, such as IoT sensor streams, you should select Bigtable. Bigtable is a NoSQL wide-column store designed for heavy write workloads that do not need ACID transactions or complex SQL joins. To balance performance and budget, you can deploy Bigtable on SSD storage for real-time applications, or choose HDD storage for large-scale batch processing.
If your project requirements change and you suddenly need full SQL support and multi-table relationships, you must move away from NoSQL options. Under these conditions, Cloud SQL becomes the correct choice for transactional processing. Alternatively, you can route your data to BigQuery if you require interactive analytical querying of highly structured records.
Prepare and test your skills
Prepare and test your skills
Structured data consists of information organized in a fixed schema, such as tables with defined rows and columns. This data type is highly organized and easily searchable using standard SQL query languages. Because it follows strict structural rules, it ensures high data integrity and supports ACID-compliant transactions. Common examples include retail inventory records, financial transactions, and user account details.
Use Cloud SQL when your application requires real-time updates and online transaction processing (OLTP). Cloud SQL is a fully managed relational database service that supports MySQL, PostgreSQL, and SQL Server engines. It provides automatic backups, native SQL support for complex joins, and enforces ACID transactions to keep data consistent. Use BigQuery instead when your goal is large-scale data analytics and interactive reporting on massive datasets.
Cloud Storage is an object store designed for large, immutable files like videos, images, and backup archives, prioritizing storage capacity and accessibility over querying capabilities. Firestore is a NoSQL document database for semi-structured data like JSON, allowing flexible schemaless designs where different objects can have different properties. Firestore organizes data using documents with fields and values, root-level collections, and subcollections for hierarchical nesting.
Choose Bigtable when your semi-structured data requires massive scalability and high-throughput writes, such as IoT sensor streams. Bigtable is a NoSQL wide-column store designed for heavy write workloads that do not need ACID transactions or complex SQL joins. You can deploy Bigtable on SSD storage for real-time applications or choose HDD storage for large-scale batch processing to balance performance and budget.
An enterprise is designing a data storage architecture for a customer billing and financial reporting application. The incoming financial records follow a strict tabular format with fixed column definitions, predefined data types (such as numeric currency and timestamps), and rigid relational constraints across tables. The finance and analytics teams require full support for standard SQL queries to run relational joins and aggregations.
Which data classification describes these records, and which Google Cloud storage services are purpose-built to store and query this type of data?