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
š 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!
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!