3 ms·
> Unlike Mongo, Postgres actually needs to write bytes to a disk (with a WAL!). Not with unlogged tables it does not!
by masklinn 13y ago
> Unlike Mongo, Postgres actually needs to write bytes to a disk (with a WAL!).
Not with unlogged tables it does not!
- asdf3 13y agoOr just a single transaction with synchronous_commit! > Specifies whether transaction commit will wait for WAL records to be written to disk before the command returns a "success" indication to the client. > This parameter can be changed at any time; the behavior for any one transaction is determined by the setting in effect when it commits. http://www.postgresql.org/docs/9.3/static/runtime-config-wal.html#GUC-SYNCHRONOUS-COMMIT http://www.postgresql.org/docs/9.3/static/runtime-config-wal...
- masklinn 13y agoAnd you can set fsync off for extra yolo!