Skip to content

Instantly share code, notes, and snippets.

@zmccoy
Created August 27, 2024 19:57
Show Gist options
  • Save zmccoy/e19c6580e3a8cb6088eb2f29d5d54681 to your computer and use it in GitHub Desktop.
Save zmccoy/e19c6580e3a8cb6088eb2f29d5d54681 to your computer and use it in GitHub Desktop.
Use in place adaptor for if you can't change your code.
PG adaptor for hibernate use cases we don't have a lot of that.
If only through sql you can give query options via java client. Like partition query or 10 seconds stale etc. Connections api usage in spanner?
Why not spanner drive in doobie?
SMT for doing the transfer schema. One thing to try to kick the tires.
https://github.com/googleapis/java-spanner/tree/main/google-cloud-spanner/src/main/java/com/google/cloud/spanner/connection
Bleeding edge of features shows up in google sql before postgres ql
For migration: Dual write
SMT: Has low downtime option for migration. How long it takes to sync cut and go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment