Skip to Content
Cloud Analytics with Google Cloud Platform
book

Cloud Analytics with Google Cloud Platform

by Sanket Thodge
April 2018
Beginner to intermediate content levelBeginner to intermediate
282 pages
9h 53m
English
Packt Publishing
Content preview from Cloud Analytics with Google Cloud Platform

Schema and data model

The schema and data model of Cloud Spanner is very much similar to any normal RDBMS. Like, it has a database, and the database might contain one or more tables. A table's structure is also very much like RDBMS tables, where we have rows, columns, values, and primary keys.

Giving way to the data-locality relationship between the two independent tables, we can also define a parent-child relationship between the tables for efficient retrieval. Just like an RDBMS, each table mandatorily must have a primary key, and the primary key can be composed of zero or more columns.

The primary key column(s) of the primary table must be the prefix of the primary key of the child table in the parent-child table. The primary key of each ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Data Science on the Google Cloud Platform

Data Science on the Google Cloud Platform

Valliappa Lakshmanan
Hands-On Machine Learning on Google Cloud Platform

Hands-On Machine Learning on Google Cloud Platform

Giuseppe Ciaburro, V Kishore Ayyadevara, Alexis Perrier, Bryan Fry, Antonio Gulli
Google Cloud Cookbook

Google Cloud Cookbook

Rui Santos Costa, Drew Hodun

Publisher Resources

ISBN: 9781788839686Other