GCP Datastore Flashcards
What is GCP Datastore?
It is a noSQL document database,
- Terabyte capacity
- Fully Managed,
- NoSQL
- Built For Scale
- High Replication
- High Availability
- Has SQL like queries
- Shards for scale
- Transactions
Is GCP Datastore Fully Managed?
Yes
I need atomic transactions, is GCP Datastore an option?
Yes
I need scalability for a database, will GCP Datastore provide this?
Yes
How long does a write take in GCP Datastore?
It takes about 1sec to complete a write
I have to write to some type of datastore, I need to be able to write 4 transactions per second, is GCP Datastore and option for me?
No GCP Datastore requires 1second per write.
In GCP Datastore Are Global Queries consistent?
No, they are eventual consistent because of the query more than a single key.
In GCP Datastore, are Key Queries consistant?
Yes because the query is for a single key.
What type of consistency does GCP Datastore give you?
It gives you both eventual and strong consistancy.
Is GCP Datastore highly available?
Yes, 99.95% SLA
I need to ensure GCP Datastore database can withatand a regional failure, what are my options.
Locate your database and its application in a regions supporting multi-region replication. Data is replicatited to zones with in a region but also to another region. There is currently only 2 regions with multiregion capabilities, us-centeral and europe-west.
When creating a GCP Datastore database, how do I selected the region.
GCP Datastore selects the region based on the projects region.
When using multi-region replication for GCP Datastore, how many regions is the data replicated to? and how many replicas in each region?
3, Region 1 has two full replicas, region 2 has two full replicas and region 3 has one replica.
I need to export dat to Cloud Storage, is this possible?
Yes 100% you can export to CloudStorage
I need to import data fromCloud Storage, is this possible?
Yes 100% you can import from CloudStorage
Can I conect to GCP Cloud Datastore form Cloud Copmpute Engine, what do i need to set up?
Yes, 100% you will need to set up a service account and use it to conect form code.
Can I conect to GCP Cloud Datastore form Cloud App Engine?
Yes, 100% you will need to set up a service account and use it to conect form code.
If I export data form GCP Datastore to Cloud Storage, is it possible to import the same format into BigQuery?
Yes you can export to Cloud Storage, BigQuery will be able to import same format.
How is GCP datastore charged?
You are charged for what you use, if over the weekend your database is not accesses you are not charged,
Can I use GCP Datastore across region?
Normally deployed to one region, but we now have the ability to select a a region that has a buddy region.
What is the max limit for Cloud Datastore?
There is no limit but Datastore sis good for TB of data
Has Datastore got strong consistency?
It has strong consistency where lookup are by key and ancestor, all others are eventual.
I need Datastore in a zone, can I deploy Datastore to a zone?
No you can not deploy Datastoire to a zone. You can deploy Datastore to a region (multi-zone) or to multi-region in us-centeral and europe-wwest.
In a multi zone Datastore, where is data stored?
Data is replicated to 3 or more zones in the region and also to another close region.
Is multi-tenancy supported in Datastiore
Yes you can use separate partitions using ‘namespaces’
Is data encrypted?
Yes Google uses server side encryption and will also mage you keys.