O'Reilly logo

Google Cloud Platform for Architects by Judy Raj, Janani Ravi, Vitthal Srinivasan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a database in Cloud Spanner instances

With the following steps, we can create a database in Cloud Spanner from the GCP console itself:

  1. Click the Create Database button.
  2. We will create a database called holder_details and add its schema. Like previous examples, here too we have customer ID, name, account, and balance columns. We have also defined their datatypes. As you may have already noticed, all of this is happening without creating any instance.
  1. Once you have defined all of your columns, click on the Create Table button and it will lead you to the screen where you can verify your table and start adding data. There is another ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required