We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f771a27 commit 012a6a2Copy full SHA for 012a6a2
coderd/database/migrations/000111_workspace_agent_metadata.up.sql
@@ -1,4 +1,7 @@
1
-CREATE TABLE workspace_agent_metadata (
+-- 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 (
5
workspace_agent_id uuid NOT NULL,
6
display_name varchar(127) NOT NULL,
7
key varchar(127) NOT NULL,
0 commit comments