Relational Databases

Cloud SQL vs TiDB

Compare Cloud SQL and TiDB side-by-side. See feature differences and pricing in the Relational Databases category.

No reviews yet

Pricing: Usage billed per hour: shared-core from $0.0105, Enterprise $0.0413 per vCPU plus memory, Enterprise Plus $0.054 per vCPU; storage, egress and SQL Server licences extra. $300 trial credit.

Cloud SQL is Google Cloud's managed relational database service for MySQL, PostgreSQL and SQL Server, billed by usage for teams building on Google Cloud.

10 /18 features Full profile
TiDB
TiDB

by PingCAP

No reviews yet

Pricing: Starter $0 a month plus usage past a free allowance; Essential from $400/mo and Premium from $1,800/mo compute, both Public Preview; Dedicated from $1,376/mo; self-managed open source.

TiDB is an open-source distributed SQL database compatible with MySQL, run as the TiDB Cloud managed service or self-managed, for apps that outgrow one server.

15 /18 features Full profile

Feature Comparison

Relational Databases features side-by-side

Cloud SQL
Cloud SQL 10/18 features
ACID transactions with row-level locking
No
Declarative table partitioning
No
Native JSON column type with indexing
No
Built-in full-text search indexes
Yes
Streaming physical replication to standbys
Yes
Logical replication of selected tables
Yes
Synchronous multi-replica commit
Yes
Automatic failover to a standby
Yes
Point-in-time recovery from archived logs
Yes
Online schema changes without table locks
No
Columnstore indexes for analytics
No
Row-level security policies
No
Transparent data encryption at rest
Yes
Stored procedures in multiple languages
Yes
Extension or plugin architecture
Yes
Query store or plan history
No
In-place major version upgrade tooling
Yes
Open source core under a permissive license
No
No reviews yet
TiDB
TiDB 15/18 features
ACID transactions with row-level locking
Yes
Declarative table partitioning
Yes
Native JSON column type with indexing
Yes
Built-in full-text search indexes
Yes
Streaming physical replication to standbys
Yes
Logical replication of selected tables
Yes
Synchronous multi-replica commit
Yes
Automatic failover to a standby
Yes
Point-in-time recovery from archived logs
Yes
Online schema changes without table locks
Yes
Columnstore indexes for analytics
Yes
Row-level security policies
No
Transparent data encryption at rest
Yes
Stored procedures in multiple languages
No
Extension or plugin architecture
No
Query store or plan history
Yes
In-place major version upgrade tooling
Yes
Open source core under a permissive license
Yes
No reviews yet

Pricing

Cloud SQL

Usage billed per hour: shared-core from $0.0105, Enterprise $0.0413 per vCPU plus memory, Enterprise Plus $0.054 per vCPU; storage, egress and SQL Server licences extra. $300 trial credit.

TiDB

Starter $0 a month plus usage past a free allowance; Essential from $400/mo and Premium from $1,800/mo compute, both Public Preview; Dedicated from $1,376/mo; self-managed open source.

Explore Each Product

Looking for more options?

Browse all Relational Databases