Spanner graph query performance optimized with factorized execution
datagcpengineer
feature
Spanner now supports factorized execution to optimize graph query performance by eliminating duplicate intermediate results. This feature benefits engineers and architects working with graph patterns in Spanner, potentially reducing query latency. The optimization is applied using the @{factorize_mode} hint at the query or pattern traversal level.
Features (1) ›
- Spanner
You can optimize Spanner Graph query performance by using factorized execution. If a graph pattern traversal generates duplicate intermediate results, add the @{factorize_mode} hint to the pattern traversal or at the query level to optimize the query. For more information, see Use factorized execution to optimize queries .
Read the original announcement →
https://docs.cloud.google.com/release-notes#May_18_2026
