diff options
author | Erik Johnston <erik@matrix.org> | 2021-01-21 10:22:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-21 10:22:53 +0000 |
commit | eee6fcf5fa857af95c46185fc11d540343c77d2d (patch) | |
tree | c6b36d820889584b7a2fe6af504b1e82a3454da8 /changelog.d/9181.misc | |
parent | Specify that the long description is rST in the package metadata. (#9180) (diff) | |
download | synapse-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.misc | 1 |
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. |