Skip to content

Commit 012a6a2

Browse files
committed
UNLOG table
1 parent f771a27 commit 012a6a2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

coderd/database/migrations/000111_workspace_agent_metadata.up.sql

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
CREATE TABLE workspace_agent_metadata (
1+
-- This table is UNLOGGED because it is very update-heavy and the the data
2+
-- is not valuable enough to justify the overhead of WAL logging. This should
3+
-- give us a ~70% improvement in write throughput.
4+
CREATE UNLOGGED TABLE workspace_agent_metadata (
25
workspace_agent_id uuid NOT NULL,
36
display_name varchar(127) NOT NULL,
47
key varchar(127) NOT NULL,

0 commit comments

Comments
 (0)