Hi All,
I have a query about the GCP's Spanner graph capability that was recently launched in Aug2024.
Say for example, I have 5 tables sitting on 5 different spanner database, each of those databases are on separate spanner instances on 5 separate VPC's.
Can I have or build a single spanner graph schema that links/reference the tables, fields(columns) across spanner instances without having to physically copy/move the data to one central spanner instance?
What would be impact or performance of graph if we could reference (if at all possible) the data across spanner instances?
Hi @Tyerragu,
Welcome to Google Cloud Community!
Right now, Spanner Graph is still in the Preview stage, which means it's mainly for testing and might not have all the features fully fleshed out yet. Currently, you can only create graph schemas within a single Spanner instance.
Unfortunately, you can't link or reference tables, fields, or columns across different Spanner instances. So, if you have five tables in five separate Spanner databases, you won't be able to build a single graph schema connecting them without moving or replicating the data.
If you have any more questions about Spanner Graph and its features, don’t hesitate to reach out to spanner-graph-feedback@google.com.
I hope the above information is helpful.