M
Mastra•4w ago
Tushar

Can we make use of google cloud spanner as a vector db in mastra?

I am currently using pgsql with pgvector extension to manage my vector db. My org, has an active instance of spanner in gcp. i wanted to check if i can make use of spanner for this purpose.
2 Replies
Mastra Triager
Mastra Triager•4w ago
šŸ“ Created GitHub issue: https://github.com/mastra-ai/mastra/issues/10259 šŸ” If you're experiencing an error, please provide a minimal reproducible example to help us resolve it quickly. šŸ™ Thank you @Tushar for helping us improve Mastra!
Abhi Aiyer
Abhi Aiyer•4w ago
Hi @Tushar, Spanner has a PG interface but our pg adapter wont work for it 1:1. If you want to contribute or implement a Spanner storage adapter that would be the way to go. We used Spanner heavily in production at Gatsby so i think its worth using if you have an instance already!

Did you find this page helpful?