# LocalCloud Spanner vs Google Spanner emulator

> Compare LocalCloud Spanner with Google Spanner emulator. Explore feature support and filter capabilities available only in LocalCloud.
>
> Source: https://local.cloud/compare/emulators/spanner/

[Service guide](https://local.cloud/services/spanner/)

**712** features in total · **177** only in LocalCloud

## Explore the feature comparison

Show features

Only in LocalCloud All features

Search features

712 features in 20 categories. Select a category to see them.

Green counts what LocalCloud supports; red counts features treated as unavailable in Google Spanner emulator. Limits appear under Details.

| Feature | LocalCloud Spanner | Google Spanner emulator | Details |
| --- | --- | --- | --- |
| Data API and sessions 20 features | 20 supported | 3 not supported | Create sessions and execute reads and queries. |
| Instance administration 19 features | 19 supported | 8 not supported | Create instances and configure their resources. |
| Database administration, operations, and backups 31 features | 31 supported | 23 not supported | Create databases, track operations and restore backups. |
| Schema and DDL 60 features | 60 supported | 9 not supported | Create and alter tables, keys and schemas. |
| Types and values 58 features | 58 supported | 1 not supported | Represent and convert scalar, array and structured values. |
| GoogleSQL query language and functions 205 features | 205 supported | 15 not supported | Query and calculate with Spanner GoogleSQL. |
| PostgreSQL dialect 46 features | 46 supported | 4 not supported | Query with PostgreSQL syntax and Spanner extensions. |
| DML, mutations, and batch operations 20 features | 20 supported | 0 not supported | Write data through SQL, mutations and batches. |
| Transactions, timestamps, and concurrency 21 features | 21 supported | 5 not supported | Control atomic writes, read timestamps and concurrent access. |
| Indexes, generated values, and constraints 16 features | 16 supported | 0 not supported | Index data, calculate columns and enforce constraints. |
| Change streams 27 features | 27 supported | 4 not supported | Stream database changes to downstream consumers. |
| Full-text search 29 features | 29 supported | 7 not supported | Index and query text with search functions. |
| Vector search 18 features | 18 supported | 4 not supported | Find vector embeddings by distance and similarity. |
| Spanner Graph and GQL 38 features | 38 supported | 17 not supported | Model graphs and query relationships and paths. |
| ML and external integrations 4 features | 4 supported | 0 not supported | Define models, predict values and invoke integrations. |
| Metadata, information schema, and SPANNER\_SYS 50 features | 50 supported | 42 not supported | Inspect schemas, database metadata and system views. |
| Security and governance 20 features | 20 supported | 20 not supported | Manage database roles, privileges and governance. |
| Operations, replication, availability, and observability 4 features | 4 supported | 0 not supported | Resource limits, replication and monitoring behavior. |
| Clients, drivers, and tooling 11 features | 11 supported | 0 not supported | Connect through drivers, protocols and client APIs. |
| Emulator-specific capabilities 15 features | 15 supported | 15 not supported | Persist data and schemas for local development. |

### Data

[Download the comparison as JSON](https://local.cloud/_astro/spanner.C7ThkIO8.json)

**Comparison notes.** Covers persisted databases, backup recovery, database roles and graph algorithms. Compared with [Google Spanner emulator v1.5.59](https://github.com/GoogleCloudPlatform/cloud-spanner-emulator/tree/d357ec1d2b08ae92ce1da4c5078de82fda0c07ab). This comparison uses v1.5.59. Persistence and backups require --data\_dir. Database roles enforce privileges; IAM policies do not. Category counts can overlap.

[Compare another service](https://local.cloud/compare/emulators/)
