googleapis / googleapis/google-cloud-python

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

Đang mở
#15,942 1 bình luận 0 reaction 1 người được giao Được @vi3k6i5 nhận Xem trên GitHub
api: spanner priority: p3 type: feature request
Ngôn ngữ chính
Python
Star
5.4k
Fork
1.8k
Merge trung bình
3 ngày 4 giờ
Pull request đã merge (30 ngày)
122

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.