summary refs log tree commit diff
path: root/changelog.d/9181.misc
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-01-21 10:22:53 +0000
committerGitHub <noreply@github.com>2021-01-21 10:22:53 +0000
commiteee6fcf5fa857af95c46185fc11d540343c77d2d (patch)
treec6b36d820889584b7a2fe6af504b1e82a3454da8 /changelog.d/9181.misc
parentSpecify that the long description is rST in the package metadata. (#9180) (diff)
downloadsynapse-eee6fcf5fa857af95c46185fc11d540343c77d2d.tar.xz
Use execute_batch instead of executemany in places (#9181)
`execute_batch` does fewer round trips in postgres than `executemany`, but does not give a correct `txn.rowcount` result after.
Diffstat (limited to 'changelog.d/9181.misc')
-rw-r--r--changelog.d/9181.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/9181.misc b/changelog.d/9181.misc
new file mode 100644
index 0000000000..7820d09cd0
--- /dev/null
+++ b/changelog.d/9181.misc
@@ -0,0 +1 @@
+Speed up batch insertion when using PostgreSQL.