Google Cloud Spanner with DBine
How to connect DBine to Google Cloud Spanner and what you can do once it's connected. This page is written from what the Google Cloud Spanner driver says about itself, so it matches the version of DBine you download.
Connect
- In DBine, open New connection.
- Pick Google Cloud Spanner in the list of engines.
- Fill in the fields below, press Test connection and then Save.
General
| Field | Description |
|---|---|
| Project ID required | Example: my-project |
| Authentication | ADC uses GOOGLE_APPLICATION_CREDENTIALS, gcloud auth application-default login or the metadata server.Options: Service account key (JSON), Application Default Credentials (ADC) Default: Service account key (JSON) |
| Service account key | Example: {"type": "service_account", …}Only with Authentication: Service account key (JSON). |
| Instance required | |
| Database required | |
| Read-only | On or off. |
Advanced
| Field | Description |
|---|---|
| Custom endpoint | For local emulators; no authentication. Empty = the Google API. Example: http://localhost:9020 |
What the explorer shows
Under the connection: Databases, each with its schemas. Inside each one:
- Tables
- Views
- Sequences
Query editor
The editor uses SQL, with completion for the connection's objects. Statements and commands run against the database selected in the tab.
Ready-made templates for new objects:
- New view
Tools for Google Cloud Spanner
Available
- Graphical execution plans
- Live query profiler
- Server monitor
- Sessions and running queries
- Cancel another session's query from the sessions list
- Manual transactions (commit and rollback)
- Index usage
- Create databases
- Drop databases
- Database properties
- Relations in the ER diagram
- Visual designer for new objects
- Rename objects
- Compare and sync schemas
- Native bulk load when migrating data
- Users and permissions
- Backups
Not available for Google Cloud Spanner
- End a session
- Locks: who blocks whom
- Clone tables
Why a tool doesn't apply to an engine, and the details of each one, are in the engine support reference.
Generated from the Google Cloud Spanner driver 0.1.10, which DBine downloads the first time you connect to Google Cloud Spanner.