This question was posted long time ago. Since it is hard to get information about UTILITY COMMAND
in Google Cloud SQL query insights, I am gonna post an answer.
Based on Google technical support:
"
The UTILITY COMMAND
is a classification for all queries not defined as SELECT
, UPDATE
, INSERT
, or DELETE
, in Query Insights.
This UTILITY COMMAND
also includes maintenance operations like VACUUM
and table commands like CREATE
, DROP
, and COPY
.
So this is not an issue to be avoided, this is a group of different queries instead of the ones shown above and maintenance operations, all in just one place.
"
I found this on a GitHub thread on an issue here.
Since Cloud SQL is a managed services by Google, I guess there is not much that we can do to reduce its cost.