googleapis / googleapis/google-cloud-python

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

Offen
#15,942 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @vi3k6i5 Auf GitHub ansehen
api: spanner priority: p3 type: feature request
Vorherrschende Sprache
Python
Sterne
5.4k
Forks
1.8k
Ø Merge
3 T. 4 Std.
Gemergte PRs (30 T.)
122

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.