Increase PostgreSQL write speed at the cost of likely data loss?

前端 未结 8 1048
执笔经年
执笔经年 2021-01-29 19:08

I love that PostgreSQL is crash resistant, as I don\'t want to spend time fixing a database. However, I\'m sure there must be some things I can disable/modify so that i

8条回答
  •  长发绾君心
    2021-01-29 19:36

    One possibility would be to use the keywork DEFERRABLE to defer constraints because constraints are checked for every lines.

    So the idea would be to ask postgresql to check constraints just before you commit.

提交回复
热议问题