Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

feat(etl): Improve copy for advanced settings (#43123)

Riccardo Busettid6637aaf8b2f
diff --git a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/AdvancedSettings.tsx b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/AdvancedSettings.tsx
index ee640523a61..3971a14d673 100644
--- a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/AdvancedSettings.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/AdvancedSettings.tsx
@@ -52,8 +52,14 @@ export const AdvancedSettings = ({
label="Batch wait time"
description={
<>
- <p>Time to wait for additional changes before sending.</p>
- <p>Shorter times imply faster updates, but higher overhead.</p>
+ <p>
+ Maximum time the pipeline waits to collect additional changes before
+ flushing a batch.
+ </p>
+ <p>
+ Lower values reduce replication latency; higher values improve batching
+ efficiency.
+ </p>
</>
}
>
@@ -81,8 +87,10 @@ export const AdvancedSettings = ({
layout="horizontal"
description={
<>
- <p>Number of tables to copy in parallel during the initial sync.</p>
- <p>Uses one replication slot per worker (N + 1 total when fully active).</p>
+ <p>Number of tables copied in parallel during the initial snapshot phase.</p>
+ <p>
+ Each worker uses one replication slot (up to N + 1 total while syncing).
+ </p>
</>
}
>
@@ -111,8 +119,11 @@ export const AdvancedSettings = ({
description={
<>
<p>
- Number of copy connections each table sync worker can use in parallel when
- copying a table.
+ Number of parallel connections each table copy can use during initial sync.
+ </p>
+ <p>
+ Higher values can copy large tables faster, but consume more database
+ connections.
</p>
</>
}
@@ -124,7 +135,7 @@ export const AdvancedSettings = ({
type="number"
value={field.value ?? ''}
onChange={handleNumberChange(field)}
- placeholder="Default: 4"
+ placeholder="Default: 2"
/>
</PrePostTab>
</FormControl_Shadcn_>
@@ -149,10 +160,13 @@ export const AdvancedSettings = ({
description={
<>
<p>
- Maximum age of cached data before BigQuery reads from base tables at query
- time.
+ Maximum allowed age for BigQuery cached metadata before reading base
+ tables.
+ </p>
+ <p>
+ Lower values improve freshness; higher values can reduce query cost and
+ latency.
</p>
- <p>Lower values return fresher results, but may increase query costs.</p>
</>
}
>