Skip to content

Get the size of the database #634

@MikielAgutu

Description

@MikielAgutu

Is your feature request related to a problem? Please describe.
I'd like to be able to determine the size of a Spanner database.

Describe the solution you'd like
Some kind of API in the JDBC driver that returns the size of the database.

Describe alternatives you've considered
We've tried querying the information schema to get the list of tables, then trying to figure out the data usage of each field in every table. However this is not performant, and error prone.

Additional context
n/a

Metadata

Metadata

Assignees

Labels

api: spannerIssues related to the googleapis/java-spanner-jdbc API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions