https://americanopeople.tistory.com/292 (PostgreSQL) DB Lock을 줄이는 7가지 팁 해당 글은 When Postgres blocks: 7 tips for dealing with locks을 보고 정리한 글입니다 1. Default 값이 있는 필드를 추가하면 안된다 PostgreSQL 10버전 이하를 쓰고 있다면, Default 값이 있는 필드를 추가.. americanopeople.tistory.com 1. Default 값이 있는 필드를 추가하면 안된다 **do{numRowsUpdated\= executeUpdate("UPDATE items SET updated\_at = ? "+"WHERE ctid IN (SELECT ctid FROM items WHERE..