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
Support mirroring DML or DDL _only_. DDL-only mirroring is helpful when
maintaining long-running logical replicas. DML-only mirroring is helpful
to simulate logical replication, without the replication aspect.
```toml
[[mirroring]]
source = "prod"
destination = "mirror"
level = "ddl"
```
This is helpful when resharding, for example, to make sure logical
replication doesn't break. #807
Copy file name to clipboardExpand all lines: .schema/pgdog.schema.json
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1173,6 +1173,11 @@
1173
1173
],
1174
1174
"format": "float"
1175
1175
},
1176
+
"level": {
1177
+
"description": "What kind of statements to replicate.",
1178
+
"$ref": "#/$defs/MirroringLevel",
1179
+
"default": "all"
1180
+
},
1176
1181
"queue_length": {
1177
1182
"description": "The length of the queue to provision for mirrored transactions. See [mirroring](https://docs.pgdog.dev/features/mirroring/) for more details. This overrides the [`mirror_queue`](https://docs.pgdog.dev/configuration/pgdog.toml/general/#mirror_queue) setting.\n\nhttps://docs.pgdog.dev/configuration/pgdog.toml/mirroring/#queue_depth",
0 commit comments