Google Cloud Spanner vs TBase
Google Cloud Spanner
cloud.google.comTBase
github.comSide by side
| Figure | Google Cloud Spanner | TBase |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | Yes | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | Yes | Yes |
| iOS | — | Yes |
| Android | — | Yes |
| API | Yes | — |
| Self-hosted | Yes | Yes |
| Plans published | 7 | 1 |
| Spec score · Distributed SQL Databases | 8.3 (#10) | 7.6 (#14) |
| Deployment | Spanner Omni is a downloadable version that can run on-premises, across clouds, or on a laptop. | The maker's quick-start guide describes compiling from source and deploying the cluster across one or more hosts, including basic x86 servers. |
Plans
Google Cloud Spanner
- StandardPrice not published
- EnterprisePrice not published
- Enterprise PlusPrice not published
- Spanner free trial instanceFree
- Standard edition compute$0.03 a month
- Enterprise edition compute$0.04 a month
- Enterprise Plus edition compute$0.06 a month
In their own words
Google Cloud Spanner
Google Cloud Spanner is a paid database service combining relational, graph, key-value, and search capabilities. It provides Strong-ACID transactions ordered with TrueTime, horizontal read and write scaling, automatic sharding, and geo-partitioning. Configurations include single-region, dual-region, and multi-region deployments, with Google describing availability up to 99.999%. Spanner Graph, vector search, and built-in full-text search are included. A columnar engine supports ad hoc analytics on live data, and BigQuery integration enables federated queries. Spanner Omni is downloadable for on-premises, cross-cloud, or laptop deployment. Client libraries cover C++, C#, Go, Java, Node.js, PHP, Python, and Ruby. Integrations include Cloud Run, Dataflow, Cloud Storage, Compute Engine, GKE, Gemini Enterprise Agent Platform, and Looker. Security includes encryption in transit and identity and access controls. PostgreSQL compatibility, horizontal scaling, multi-region deployment, geo-partitioning, and HTAP workloads are listed.
TBase
TBase is Tencent-published, open-source database software for distributed hybrid transactional and analytical processing. It provides database and data warehouse services through one cluster and supports an extended subset of SQL, including transactions, foreign keys, user-defined types, and functions. A cluster uses Coordinator Nodes to plan queries, DataNodes to store user data, and a Global Transaction Manager. Tables can be distributed or replicated, with queries sent to DataNodes and results gathered. Deployment is self-hosted; setup guidance describes compiling from source and deploying across one or more hosts, including basic x86 servers. Administrators can use pgxc_ctl to configure and manage clusters. Table options include shard, partitioned shard, hot-and-cold partitioned shard, and replication tables. Shard-table distribution-key values, lengths, and types cannot be modified. Replication tables keep a full copy on every DataNode, and the guide cautions against using them for large tables. Monitoring includes session memory, DataNode operator details, and cluster-wide active sessions. TBase is listed as free under the BSD 3-Clause License.