PostgreSQL: improving pg_dump, pg_restore performance

后端 未结 6 2215
眼角桃花
眼角桃花 2020-12-22 16:15

When I began, I used pg_dump with the default plain format. I was unenlightened.

Research revealed to me time and file size improvements with pg_

6条回答
  •  不知归路
    2020-12-22 16:18

    zcat dumpfile.gz | pg_restore -d db_name
    

    Removes the full write of the uncompressed data to disk, which is currently your bottleneck.

提交回复
热议问题