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
Copy file name to clipboardExpand all lines: doc/user/content/sql/alter-source.md
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,8 @@ menu:
31
31
Field | Use
32
32
--------|-----
33
33
_name_ | The identifier of the source you want to alter.
34
-
**ADD SUBSOURCE** ... | Add the identified tables from the upstream database (`table_name`) to the named PostgreSQL or MySQL source, with the option of choosing the name for the subsource in Materialize (`subsrc_name`). Supports [additional options](#add-subsource-with_options).
34
+
**ADD SUBSOURCE** ... | Add the identified tables from the upstream database (`table_name`) to the named PostgreSQL/MySQL/SQL Server source, with the option of choosing the name for the subsource in Materialize (`subsrc_name`). Supports [additional options](#add-subsource-with_options). <br><br>{{< include-md file="shared-content/alter-source-snapshot-blocking-behavior.md"
35
+
>}}
35
36
_retention_period_ | ***Private preview.** This option has known performance or stability issues and is under active development.* Duration for which Materialize retains historical data, which is useful to implement [durable subscriptions](/transform-data/patterns/durable-subscriptions/#history-retention-period). Accepts positive [interval](/sql/types/interval/) values (e.g. `'1hr'`). Default: `1s`.
36
37
37
38
### **ADD SUBSOURCE**`with_options`
@@ -42,12 +43,17 @@ Field | Value | Description
42
43
43
44
## Context
44
45
45
-
### Adding subsources to a PostgreSQL or MySQL source
46
+
### Adding subsources to a PostgreSQL/MySQL/SQL Server source
46
47
47
48
Note that using a combination of dropping and adding subsources lets you change
48
-
the schema of the PostgreSQL or MySQL tables that are ingested.
49
+
the schema of the PostgreSQL/MySQL/SQL Server tables that are ingested.
49
50
50
-
### Dropping subsources from a PostgreSQL or MySQL source
Copy file name to clipboardExpand all lines: doc/user/shared-content/sql-server-considerations.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,3 +54,8 @@ system table. For each table, Materialize picks the capture instance with the
54
54
most recent `create_date`.
55
55
56
56
If two capture instances for a table share the same timestamp (unlikely given the millisecond resolution), Materialize selects the `capture_instance` with the lexicographically larger name.
0 commit comments