UNLOGGED Tables in PostgreSQL: When Speed Matters More Than Durability

  • Comments posted to this topic are about the item UNLOGGED Tables in PostgreSQL: When Speed Matters More Than Durability

  • MSSQL has a similar function, but at the DB level, so we have an associated database to the main one, which contains something like logs and performance monitor data.

    Settings: ALTER DATABASE DatabaseName SET DELAYED_DURABILITY = DISABLED;

  • Delayed durability function still doesn't match exactly the postgres UNLOGGED functionality. The log entries are still created and eventually flushed to the disk.

  • petr.novak wrote:

    MSSQL has a similar function, but at the DB level, so we have an associated database to the main one, which contains something like logs and performance monitor data. Settings: ALTER DATABASE DatabaseName SET DELAYED_DURABILITY = DISABLED;

    This means the total opposite of unlogged. Log entries are written to disk in a synchronized fashion , instead of in batches periodically.

    ----------------------------------------------------

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply