googleapis / googleapis/google-cloud-python
[Feat] Investigate if possible to add support for mutations.
Open
api: spanner
priority: p3
type: feature request
- Dominant language
- Python
- Stars
- 5.4k
- Forks
- 1.8k
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 122
Description
Spanner has support for mutations, investigate if it's possible to use that instead of batch inserts.
https://cloud.google.com/spanner/docs/modify-mutation-api
Mutations are much faster than batch inserts as shown in benchmarking results.
Benchmarking performance:
Action | django | python-spanner
insert_many_rows_with_mutations | 0.723594 | 0.019262
Contributor guide
Assessment
This issue has not been assessed yet.