You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
- Use unlogged table:`CREATE UNLOGGED TABLE …`. Unlogged tables are not archived, not replicated, they are not persistent (though, they survive normal restarts). However, converting an unlogged table to a normal one takes time (likely, a lot – worth testing), because he data needs to be written to WAL. More about unlogged tables in[this post](https://crunchydata.com/blog/postgresl-unlogged-tables); also, see[this StackOverflow discussion](https://dba.stackexchange.com/questions/195780/set-postgresql-table-to-logged-after-data-loading/195829#195829).
58
55
59
56
- Use`COPY` with`wal_level ='minimal'`.`COPY` has to be executed inside the transaction that created the table.
60
57
In this case, due to`wal_level ='minimal'`,`COPY` writes won't be written to WAL