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
If you **don't specify a publication** during ClickPipe creation, ClickPipes will automatically create a publication scoped to only the tables you select for replication.
18
+
If you want ClickPipes to handle publication management and not worry about the intricacies of PostgreSQL publications, simply **don't specify a publication** during ClickPipe creation. ClickPipes will automatically create a publication scoped to only the tables you select for replication.
19
19
20
20
**Requirements:**
21
21
- The ClickPipes user must have **table owner permissions** for all tables you want to replicate
22
-
- This is the easiest approach for getting started
23
22
24
23
**Advantages:**
25
24
- No manual publication management required
26
25
- Publication is automatically scoped to only selected tables
27
-
- No risk of billing for unwanted table data
26
+
- Same cost-effective billing as table-specific publications (only pay for selected tables)
- Fine-grained control over which tables are included
47
47
- Only requires SELECT permissions on tables (not ownership)
48
48
- Clear visibility into what data will be replicated
49
-
-Optimal billing - only pay for data you actually need
49
+
-Same cost-effective billing as automatic creation (only pay for selected tables)
50
50
51
51
**Disadvantages:**
52
52
- Manual management required
@@ -122,21 +122,23 @@ SELECT * FROM pg_publication;
122
122
123
123
## Best Practices {#best-practices}
124
124
125
-
1.**Start with table-specific publications** for production workloads to maintain cost controland clarity
125
+
1.**Choose either automatic creation or table-specific publications** for production workloads - both provide the same cost control, with automatic being easier and manual providing more control
126
126
127
-
2.**Use automatic creation for development/testing** when you want to get started quickly and don't mind granting higher privileges
127
+
2.**Use automatic creation** when you want ClickPipes to handle publication management and don't mind granting table owner privileges
128
128
129
129
3.**Plan your table selection carefully** - adding/removing tables later requires publication changes
130
130
131
-
4.**Monitor your data usage**to ensure you're only paying for data you actually need
131
+
4.**Avoid all-tables publications**unless you specifically need all tables - this is the only approach that increases costs
132
132
133
-
5.**Document your publication strategy** so team members understand the setup
133
+
5.**Monitor your data usage** to ensure you're only paying for data you actually need
134
+
135
+
6.**Document your publication strategy** so team members understand the setup
134
136
135
137
## Billing Implications {#billing-implications}
136
138
137
139
-**Table-specific publications**: You pay only for data changes from explicitly listed tables
138
-
-**All-tables publications**: You pay for data changes from all tables in the database, even if ClickPipes only processes a subset
139
-
-**Automatic creation**: You pay only for data from selected tables (most cost-effective)
140
+
-**Automatic creation**: You pay only for data changes from selected tables (same cost as table-specific)
141
+
-**All-tables publications**: You pay for data changes from **all tables** in the database, even if ClickPipes only processes a subset - this is the costly approach to avoid
0 commit comments