googleapis / googleapis/google-cloud-python

[Feat] Investigate if possible to add support for mutations.

未关闭
#15,942 1 条评论 0 个 reaction 已指派 1 人 已被 @vi3k6i5 认领 在 GitHub 查看
api: spanner priority: p3 type: feature request
主要语言
Python
星标
5.4k
派生
1.8k
平均合并
3 天 4 小时
30 天内合并 PR
122

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。