How can I speed up update/replace operations in PostgreSQL?

后端 未结 6 846
迷失自我
迷失自我 2021-02-01 06:13

We have a rather specific application that uses PostgreSQL 8.3 as a storage backend (using Python and psycopg2). The operations we perform to the important tables are in the ma

6条回答
  •  名媛妹妹
    2021-02-01 07:00

    I had a similar situation a few months ago and ended up getting the largest speed boost from a tuned chunk/transaction size. You may also want to check the log for a checkpoint warning during the test and tune appropriately.

提交回复
热议问题