This page describes how to monitor Spanner's columnar engine. You can monitor using:
View columnar data in the query plan
- Run a query.
- View its query plan.
In the Query summary section of the query execution, check for the Columnar read share information.
The following image shows the Columnar read share percentage:
This metric shows the percentage of bytes read from columnar storage out of total bytes read from both row-based and columnar storage. A high percentage is optimal, while a low percentage suggests that much of the data remains unconverted to columnar format.
Columnar data storage metrics
To view columnar data storage metrics:
Go to the Spanner Instances page in the Google Cloud console.
Select the instance you want to view metrics for.
Click System insights.
In the Storage usage section, you can see two new metrics:
columnar storage - hdd and columnar storage - ssd. These metrics show the columnar representation usage of HDD and SSD. The total storage metrics include both PAX and columnar data. You can see these metrics on storage usage graphs on the System insights page. For example:
What's next
- Learn about columnar engine.
- Learn how to enable columnar engine.
- Learn how to query columnar data.