Back to feed
GCP·Spannerfeature·
AI Insights

Spanner provides JSON string versions of the following statistics columns for PostgreSQL-dialect databases:


Spanner provides JSON string versions of the following statistics columns for PostgreSQL-dialect databases:

• TOTAL_LATENCY_DISTRIBUTION_JSON_STRING in Transaction statistics • OPERATIONS_BY_TABLE_JSON_STRING in Transaction statistics • LATENCY_DISTRIBUTION_JSON_STRING in Query statistics • SAMPLE_LOCK_REQUESTS_JSON_STRING in Lock statistics

You can use these columns to retrieve statistics in JSON format from the SPANNER_SYS tables.