The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
ref(pipelines): Update pricing descriptions given new egress calculation (#48241)
Riccardo Busetti6f8fe470a688
diff --git a/apps/docs/content/_partials/billing/pricing/pricing_pipelines.mdx b/apps/docs/content/_partials/billing/pricing/pricing_pipelines.mdxindex 48072976687..e2e8be44f74 100644--- a/apps/docs/content/_partials/billing/pricing/pricing_pipelines.mdx+++ b/apps/docs/content/_partials/billing/pricing/pricing_pipelines.mdx@@ -1,11 +1,13 @@{/* prettier-ignore */}-<Price price="0.053" /> per hour for each configured pipeline. <Price price="0.60" /> per Gigabyte of initial sync data. <Price price="3.00" /> per Gigabyte of ongoing replication data.+<Price price="0.053" /> per hour for each configured pipeline. <Price price="0.60" /> per Gigabyte of data processed during initial sync. <Price price="3.00" /> per Gigabyte of data processed during ongoing replication.-| Plan | Configured Pipeline | Initial Sync Data | Ongoing Replication Data |-| ---------- | -------------------------- | ----------------------------- | ----------------------------- |-| Free | - | - | - |-| Pro | <Price price="0.053" />/hr | <Price price="0.60" /> per GB | <Price price="3.00" /> per GB |-| Team | <Price price="0.053" />/hr | <Price price="0.60" /> per GB | <Price price="3.00" /> per GB |-| Enterprise | Custom | Custom | Custom |+| Plan | Configured Pipeline | Initial Sync Data Processed | Ongoing Replication Data Processed |+| ---------- | -------------------------- | ----------------------------- | ---------------------------------- |+| Free | - | - | - |+| Pro | <Price price="0.053" />/hr | <Price price="0.60" /> per GB | <Price price="3.00" /> per GB |+| Team | <Price price="0.053" />/hr | <Price price="0.60" /> per GB | <Price price="3.00" /> per GB |+| Enterprise | Custom | Custom | Custom |++**Data processed** is Postgres row data successfully processed by a pipeline and accepted by its destination. It is measured from the logical row data emitted by Postgres for replication, rather than physical table storage or destination-specific encoding.For a detailed breakdown of how charges are calculated, refer to [Manage Pipeline usage](/docs/guides/platform/manage-your-usage/pipelines).diff --git a/apps/docs/content/guides/database/replication/pipelines-faq.mdx b/apps/docs/content/guides/database/replication/pipelines-faq.mdxindex f01524856aa..e1deff65ff0 100644--- a/apps/docs/content/guides/database/replication/pipelines-faq.mdx+++ b/apps/docs/content/guides/database/replication/pipelines-faq.mdx@@ -142,13 +142,13 @@ Open [**Database > Replication**](/dashboard/project/_/database/replication), cl`Lost` means Postgres has already removed WAL files that the pipeline's replication slot needed. The pipeline cannot continue from that slot.-You can recreate the pipeline, or open the pipeline's **Advanced settings**, set **Invalidated slot behavior** to **Recreate**, and start the pipeline again. The pipeline resets its saved table-sync state, creates a new replication slot, and replaces each destination table through a new initial sync. This destructive restart is required for consistency because the old slot can no longer provide every change the pipeline missed, and the new initial sync is billed as initial sync data.+You can recreate the pipeline, or open the pipeline's **Advanced settings**, set **Invalidated slot behavior** to **Recreate**, and start the pipeline again. The pipeline resets its saved table-sync state, creates a new replication slot, and replaces each destination table through a new initial sync. This destructive restart is required for consistency because the old slot can no longer provide every change the pipeline missed, and the data processed during the new initial sync is billed again.See [Slot statuses](/docs/guides/database/replication/pipelines-monitoring#slot-statuses) for all slot states and what to do next.## Why is a table in error state?-Table errors occur during the initial sync. To recover, click **View pipeline**, find the affected table, and click its restart action. This restarts that table's initial sync from the beginning, deletes its existing destination data, and bills the copied data as new initial sync data.+Table errors occur during the initial sync. To recover, click **View pipeline**, find the affected table, and click its restart action. This restarts that table's initial sync from the beginning, deletes its existing destination data, and bills the successfully processed row data again.## How to verify replication is working@@ -209,7 +209,9 @@ Removing a table from the publication and restarting the pipeline does not delet## Can data be processed more than once?-Yes. Pipelines uses at-least-once processing. If a destination accepted a batch but the pipeline did not persist its checkpoint before a retry, restart, or interruption, that batch can be processed again.+Yes. Pipelines uses at-least-once processing. Failed destination write attempts that Pipelines retries are not counted. Data is counted only after the destination acknowledges successful processing.++In rare cases, Pipelines can count an acknowledged batch but crash or be interrupted before its replication checkpoint is persisted. Recovery can then process and count the same data again.BigQuery uses the replicated source primary key and CDC ordering metadata to converge on the current table state. Pipelines does not provide a history of each delivery attempt that you can query or guarantee exactly-once event processing.diff --git a/apps/docs/content/guides/database/replication/pipelines.mdx b/apps/docs/content/guides/database/replication/pipelines.mdxindex 75bee3a3dcf..3812e0a6588 100644--- a/apps/docs/content/guides/database/replication/pipelines.mdx+++ b/apps/docs/content/guides/database/replication/pipelines.mdx@@ -199,7 +199,7 @@ Follow these steps to configure your destination. Each destination has its own sLeave these settings at their defaults unless you need to tune initial sync speed, latency, or recovery behavior.- Use **Invalidated slot behavior** carefully. If **Recreate** is selected and the pipeline starts after Postgres has invalidated the main replication slot, the pipeline resets its saved table-sync state, creates a new slot, and replaces each destination table through a new initial sync. This destructive restart is required for consistency because the old slot can no longer provide every change the pipeline missed, and the new initial sync is billed as initial sync data.+ Use **Invalidated slot behavior** carefully. If **Recreate** is selected and the pipeline starts after Postgres has invalidated the main replication slot, the pipeline resets its saved table-sync state, creates a new slot, and replaces each destination table through a new initial sync. This destructive restart is required for consistency because the old slot can no longer provide every change the pipeline missed, and the data processed during the new initial sync is billed again.7. Click **Create and start pipeline** to begin replication@@ -329,7 +329,7 @@ Pipelines has the following limitations:- **Replica identity**: Requirements are destination-specific. Updates and deletes need enough row identity to apply safely. See [BigQuery source table requirements](/docs/guides/database/replication/bigquery#source-table-requirements) for the supported modes.- **Schema changes**: Currently in beta and limited to BigQuery- **No user-defined transformations**: Pipelines performs destination-compatible type and name mapping, but doesn't run custom transformations-- **At-least-once processing**: A retry, restart, or interruption can cause a batch to be processed again. BigQuery uses primary-key-based CDC to converge on the current table state. See [Can data be processed more than once?](/docs/guides/database/replication/pipelines-faq#can-data-be-processed-more-than-once) for details.+- **At-least-once processing**: Failed destination write attempts that Pipelines retries are not counted. In rare cases, Pipelines can count an acknowledged batch but crash or be interrupted before its replication checkpoint is persisted. Recovery can then process and count that batch again. BigQuery uses primary-key-based CDC to converge on the current table state. See [Can data be processed more than once?](/docs/guides/database/replication/pipelines-faq#can-data-be-processed-more-than-once) for details.Destination-specific limitations, such as BigQuery's row size limits, are documented in each destination guide.diff --git a/apps/docs/content/guides/platform/manage-your-usage/pipelines.mdx b/apps/docs/content/guides/platform/manage-your-usage/pipelines.mdxindex c468004e748..fb3585f34f9 100644--- a/apps/docs/content/guides/platform/manage-your-usage/pipelines.mdx+++ b/apps/docs/content/guides/platform/manage-your-usage/pipelines.mdx@@ -5,14 +5,41 @@ title: 'Manage Pipelines usage'## What you are charged for-You are charged for configured pipelines, initial sync data, and ongoing replication data. Pipelines are charged by the hour for as long as they are configured, including while they are stopped.+You are charged for configured pipelines and pipeline data processed. Data processed is billed at different rates during initial sync and ongoing replication. Pipelines are charged by the hour for as long as they are configured, including while they are stopped.- **Pipeline hours** measure how long each pipeline remains configured. Delete a pipeline to end this charge.-- **Initial sync data** is the volume of destination-write data processed when a table is first synchronized or synchronized again.-- **Ongoing replication data** is the volume of destination-write data processed for subsequent database changes. It depends on how much your published data changes, not on the source table size, WAL size, or destination's compressed storage size.+- **Initial sync data processed** is the Postgres row data accepted by the destination when a table is first synchronized or synchronized again.+- **Ongoing replication data processed** is the Postgres row data accepted by the destination for subsequent database changes. It depends on how much your published data changes, not on the source table size, WAL size, or destination's compressed storage size.Destination-provider charges are separate. For example, Google Cloud can charge for BigQuery ingestion, storage, and CDC compute.+## How data processed is measured++Pipeline data processed is the amount of logical row data emitted by Postgres for replication, successfully processed by a pipeline, and accepted by its destination. It is not based on physical table storage or destination-specific encoding, making usage consistent across destinations.++The measurement includes:++- **Initial sync and resynchronization**: Row data emitted by Postgres COPY.+- **Ongoing replication**: Row values Postgres emits for inserts, updates, and deletes. Updates include new row values and any previous identity values Postgres emits. Deletes include the emitted identity values.++Failed destination write attempts that Pipelines retries are not counted. Data is counted only after the destination acknowledges successful processing. In rare cases, Pipelines can count an acknowledged batch but crash or be interrupted before its replication checkpoint is persisted. Recovery can then process and count the same data again.++Data successfully processed again as part of a user-requested resynchronization, table restart, or pipeline reset is also counted again.++### Cost estimates++The Dashboard provides a quick planning estimate of initial sync volume and cost using information already available about your source tables. It is designed to give you a useful indication before initial sync begins without first scanning and encoding all the data that the sync will process.++If an estimate is unavailable, you can still create the pipeline or restart tables.++<Admonition type="note">++Use this estimate as a planning guide rather than an exact quote. The final volume is measured from the data successfully processed during initial sync and can vary based on your published data and filters.++</Admonition>++Actual charges use the logical Postgres row data copied after publication column and row filters and accepted by the destination.+### Usage on your invoiceUsage is shown as "ETL Pipeline Hours", "ETL Copy Backfill Data GB", and "ETL Replicated Data GB" on your invoice.@@ -39,7 +66,7 @@ The project has a configured pipeline for the entire month.### Multiple projects with initial syncs-Multiple projects had a configured pipeline for the entire month and processed initial sync data and ongoing replication data.+Multiple projects had a configured pipeline for the entire month and processed data during initial sync and ongoing replication.| Line Item | Units | Costs || ----------------------------------- | --------- | ----------------------------- |diff --git a/apps/studio/components/interfaces/Database/Replication/BatchRestartDialog.tsx b/apps/studio/components/interfaces/Database/Replication/BatchRestartDialog.tsxindex 134849a32f0..5c9b209f0fe 100644--- a/apps/studio/components/interfaces/Database/Replication/BatchRestartDialog.tsx+++ b/apps/studio/components/interfaces/Database/Replication/BatchRestartDialog.tsx@@ -59,28 +59,29 @@ export const BatchRestartDialog = ({[affectedTables, tableSyncCopy])- const initialCopyDescription =+ const initialSyncDescription =copiedTables.length === 0 ? (<li>- <strong>No table will run an initial copy.</strong> New changes will resume streaming- without backfilling existing source rows. There is no additional initial-copy charge.+ <strong>No table will run an initial sync.</strong> Replication will resume with new changes+ only, without syncing existing source rows. There is no additional initial sync charge.</li>) : copiedTables.length === affectedTables.length ? (<li><strong>- {copiedTables.length === 1 ? 'The table' : `All ${copiedTables.length} tables`} will run- an initial copy.+ {copiedTables.length === 1+ ? 'The table will run its initial sync again.'+ : `All ${copiedTables.length} tables will run initial sync again.`}</strong>{' '}- Existing rows will be copied again from the source and billed in addition to previous- initial copies.+ Existing source rows will be synced again. Data successfully processed during this initial+ sync is billed again.</li>) : (<li><strong>- {copiedTables.length} of {affectedTables.length} tables will run an initial copy.+ {copiedTables.length} of {affectedTables.length} tables will run initial sync again.</strong>{' '}- The remaining tables will resume streaming without a backfill. Copied rows are billed in- addition to previous initial copies.+ Existing source rows for those tables will be synced again and billed again. The remaining+ tables will resume replication with new changes only.</li>)@@ -127,7 +128,7 @@ export const BatchRestartDialog = ({{affectedTables.length === 1 ? '' : 's'} in this pipeline from scratch:</p><ul className="list-disc list-inside space-y-1.5 pl-2">- {initialCopyDescription}+ {initialSyncDescription}<li><strong>All downstream data will be deleted.</strong> All replicated data will beremoved.@@ -150,7 +151,7 @@ export const BatchRestartDialog = ({<strong>{affectedTables.length} currently failed tables</strong> from scratch:</p><ul className="list-disc list-inside space-y-1.5 pl-2">- {initialCopyDescription}+ {initialSyncDescription}<li><strong>Existing downstream data will be deleted.</strong> Replicated data forthese tables will be removed.diff --git a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/AdvancedSettings.tsx b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/AdvancedSettings.tsxindex 65945d11068..d004564c635 100644--- a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/AdvancedSettings.tsx+++ b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/AdvancedSettings.tsx@@ -118,9 +118,9 @@ export const AdvancedSettings = ({name="maxCopyConnectionsPerTable"render={({ field }) => (<FormItemLayout- label="Copy connections per table"+ label="Initial sync connections per table"layout="horizontal"- description="Maximum number of connections used to sync each table."+ description="Maximum number of source connections used to sync existing rows for each table."><FormControl><InputGroup>diff --git a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/DestinationForm.utils.ts b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/DestinationForm.utils.tsindex a4b51e46829..3ddee07c982 100644--- a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/DestinationForm.utils.ts+++ b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/DestinationForm.utils.ts@@ -172,7 +172,7 @@ export const buildTableSyncCopyConfig = ({if (mode === 'include_all_tables' || mode === 'skip_all_tables') return { type: mode }if (selectedTableIds.length === 0) {- throw new Error('Select at least one table for the initial copy')+ throw new Error('Select at least one table for the initial sync')}const tableIds = selectedTableIds.map(Number)diff --git a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/PipelineCostDialog.test.tsx b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/PipelineCostDialog.test.tsxindex 562b005dadb..d7020cc3ec4 100644--- a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/PipelineCostDialog.test.tsx+++ b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/PipelineCostDialog.test.tsx@@ -88,7 +88,7 @@ describe('PipelineCostDialog', () => {costEstimateTables = tables})- it('shows only the initial-copy tables selected by the policy', async () => {+ it('shows only the tables selected for initial sync', async () => {renderDialog({ type: 'include_tables', table_ids: [101] })expect(await screen.findByText('public.orders')).toBeInTheDocument()@@ -97,10 +97,10 @@ describe('PipelineCostDialog', () => {expect(screen.queryByText('$10.00')).not.toBeInTheDocument()})- it('shows a zero initial-copy charge while retaining ongoing rates', async () => {+ it('shows a zero initial sync charge while retaining ongoing replication rates', async () => {renderDialog({ type: 'skip_all_tables' })- expect(await screen.findByText(/No tables will be initially copied/)).toBeInTheDocument()+ expect(await screen.findByText(/No tables will run an initial sync/)).toBeInTheDocument()expect(screen.getByText('$0.00')).toBeInTheDocument()expect(screen.getByText('$0.05/hour')).toBeInTheDocument()expect(screen.getByText('$3.00/GB')).toBeInTheDocument()@@ -118,4 +118,13 @@ describe('PipelineCostDialog', () => {expect(screen.getByText('Unavailable')).toBeInTheDocument()expect(screen.queryByText('$0.60')).not.toBeInTheDocument()})++ it('explains that row filters can reduce processed data compared with the estimate', async () => {+ costEstimateTables = [{ ...tables[0], is_row_filtered: true }]++ renderDialog({ type: 'include_tables', table_ids: [101] })++ expect(await screen.findByText(/Row filters can reduce the data processed/)).toBeInTheDocument()+ expect(screen.getByText(/Quick planning estimate/)).toBeInTheDocument()+ })})diff --git a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/PipelineCostDialog.tsx b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/PipelineCostDialog.tsxindex 11ae2c194db..b472551c66f 100644--- a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/PipelineCostDialog.tsx+++ b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/PipelineCostDialog.tsx@@ -27,9 +27,11 @@ import {type ReplicationTableIdentity,type TableSyncCopyConfig,} from '@/components/interfaces/Database/Replication/TableSyncCopy.utils'+import { InlineLink } from '@/components/ui/InlineLink'import { useReplicationCostEstimateQuery } from '@/data/replication/cost-estimate-query'import { useReplicationSourceId } from '@/data/replication/sources-query'import { useLatest } from '@/hooks/misc/useLatest'+import { DOCS_URL } from '@/lib/constants'import { formatBytes, formatCurrency } from '@/lib/helpers'const MAX_VISIBLE_TABLES = 10@@ -138,11 +140,15 @@ export const PipelineCostDialog = ({<div className="flex flex-col gap-y-2"><p className="text-sm font-medium text-foreground">Initial sync</p>+ <p className="text-xs text-foreground-lighter">+ Quick planning estimate using available source table information. Final usage is+ measured from the data successfully processed during initial sync.+ </p>{copyTableCount === 0 ? (<p className="text-sm text-foreground-light">- No tables will be initially copied. All publication tables will still stream- new changes, with no initial-copy charge.+ No tables will run an initial sync. Ongoing replication will still process new+ changes for every publication table, with no initial sync charge.</p>) : copyEstimate?.isComplete ? (<Card>@@ -150,7 +156,7 @@ export const PipelineCostDialog = ({<TableHeader className="[&_th]:h-auto [&_th]:py-2"><TableRow><TableHead>Table</TableHead>- <TableHead className="text-right">Est. size</TableHead>+ <TableHead className="text-right">Est. volume</TableHead><TableHead className="text-right" translate="no">Est. cost ({formatCurrency(estimate.table_copy.rate_per_gb)}/GB)</TableHead>@@ -194,7 +200,7 @@ export const PipelineCostDialog = ({</Card>) : (<p className="text-sm text-foreground-light">- An initial-copy estimate is unavailable for one or more selected tables. You+ An initial sync estimate is unavailable for one or more selected tables. Youcan still create the pipeline.</p>)}@@ -213,18 +219,24 @@ export const PipelineCostDialog = ({</span></div><div className="flex items-center justify-between gap-x-4 text-sm">- <span className="text-foreground-light">Ongoing replication data</span>+ <span className="text-foreground-light">+ Ongoing replication data processed+ </span><span className="shrink-0 text-right font-mono text-foreground" translate="no">{formatCurrency(estimate.streaming.rate_per_gb)}/GB</span></div><p className="text-xs text-foreground-lighter">- Ongoing replication is billed on the volume of changes processed after the- initial sync, so the total depends on how often your data changes.+ Ongoing replication is billed on Postgres row data accepted by the destination,+ so the total depends on how often your published data changes.</p><p className="text-xs text-foreground-lighter">Destination-provider charges, such as BigQuery ingestion, storage, and compute,- are separate.+ are separate. See{' '}+ <InlineLink href={`${DOCS_URL}/guides/platform/manage-your-usage/pipelines`}>+ how data processed is measured+ </InlineLink>+ .</p></div>@@ -233,7 +245,7 @@ export const PipelineCostDialog = ({<div className="min-w-0"><p className="text-sm font-medium text-foreground">Estimated initial sync</p><p className="text-xs text-foreground-lighter">- Pipeline hours and ongoing replication data are billed separately+ Pipeline hours and ongoing replication are billed separately.</p></div><span@@ -247,7 +259,7 @@ export const PipelineCostDialog = ({{copyEstimate?.isComplete && hasRowFilteredTables && (<p className="text-xs text-foreground-lighter">- *Tables with row filters may cost less than shown.+ *Row filters can reduce the data processed compared with this estimate.</p>)}</div>diff --git a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/TableCopySelection.test.tsx b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/TableCopySelection.test.tsxindex ce98e6a7b86..4fdb27d3371 100644--- a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/TableCopySelection.test.tsx+++ b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/TableCopySelection.test.tsx@@ -101,7 +101,7 @@ describe('TableCopySelection', () => {customRender(<TableCopySelectionHarness editMode />)expect(- await screen.findByText(/will not be re-copied until they require one again/)+ await screen.findByText(/will not sync existing rows again unless you restart them/)).toBeInTheDocument()})@@ -111,9 +111,9 @@ describe('TableCopySelection', () => {customRender(<TableCopySelectionHarness editMode={false} />)- await screen.findByText('Copy all tables')+ await screen.findByText('All tables')expect(- screen.queryByText(/will not be re-copied until they require one again/)+ screen.queryByText(/will not sync existing rows again unless you restart them/)).not.toBeInTheDocument()})@@ -130,7 +130,9 @@ describe('TableCopySelection', () => {)expect(- await screen.findByText('1 of 2 publication tables will have their existing rows copied.')+ await screen.findByText(+ '1 of 2 publication tables will run initial sync. Ongoing replication will still include every publication table.'+ )).toBeInTheDocument()})diff --git a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/TableCopySelection.tsx b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/TableCopySelection.tsxindex 0bb08815cd7..ecdd1e339d7 100644--- a/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/TableCopySelection.tsx+++ b/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/TableCopySelection.tsx@@ -16,11 +16,11 @@ interface TableCopySelectionProps {editMode: boolean}-const TABLE_COPY_LABELS = {- include_all_tables: 'Copy all tables',- skip_all_tables: 'Skip all table copies',- include_tables: 'Copy only selected tables',- skip_tables: 'Skip selected table copies',+const INITIAL_SYNC_LABELS = {+ include_all_tables: 'All tables',+ skip_all_tables: 'No tables',+ include_tables: 'Selected tables only',+ skip_tables: 'All except selected tables',}const isSelectiveMode = (mode: DestinationPanelSchemaType['tableSyncCopyMode']) =>@@ -75,33 +75,35 @@ export const TableCopySelection = ({ form, editMode }: TableCopySelectionProps)render={({ field }) => (<FormItemLayoutlayout="horizontal"- label="Initial table copy"- description="Choose which existing rows to copy before change streaming begins. All publication tables continue streaming new changes."+ label="Initial sync"+ description="Choose which publication tables sync their existing rows. Ongoing replication includes new changes from every publication table, even when initial sync is skipped."><FormControl><Select value={field.value} onValueChange={field.onChange}>- <SelectTrigger>{TABLE_COPY_LABELS[field.value]}</SelectTrigger>+ <SelectTrigger>{INITIAL_SYNC_LABELS[field.value]}</SelectTrigger><SelectContent><SelectItem value="include_all_tables" className="[&>span]:top-2.5">- <p>Copy all tables</p>- <p className="text-foreground-lighter">Copy existing rows from every table.</p>+ <p>All tables</p>+ <p className="text-foreground-lighter">+ Run initial sync for every publication table.+ </p></SelectItem><SelectItem value="skip_tables" className="[&>span]:top-2.5">- <p>Skip selected table copies</p>+ <p>All except selected tables</p><p className="text-foreground-lighter">- Stream selected tables without copying existing rows.+ Skip initial sync for selected tables.</p></SelectItem><SelectItem value="include_tables" className="[&>span]:top-2.5">- <p>Copy only selected tables</p>+ <p>Selected tables only</p><p className="text-foreground-lighter">- Only copy existing rows from selected tables.+ Run initial sync only for selected tables.</p></SelectItem><SelectItem value="skip_all_tables" className="[&>span]:top-2.5">- <p>Skip all table copies</p>+ <p>No tables</p><p className="text-foreground-lighter">- Start streaming without copying any existing rows.+ Skip initial sync and replicate new changes only.</p></SelectItem></SelectContent>@@ -112,10 +114,10 @@ export const TableCopySelection = ({ form, editMode }: TableCopySelectionProps)/>{editMode && (- <Admonition type="note" title="Only applies to tables pending initial sync">+ <Admonition type="note" title="Changes apply only before initial sync completes"><p className="leading-normal!">- Tables that already completed their initial sync will not be re-copied until they- require one again.+ Tables that have completed initial sync will not sync existing rows again unless you+ restart them.</p></Admonition>)}@@ -123,7 +125,7 @@ export const TableCopySelection = ({ form, editMode }: TableCopySelectionProps){isErrorPublications && (<Admonition type="warning" title="Publication tables could not be loaded"><p className="leading-normal!">- Refresh before changing or saving the initial copy configuration.+ Refresh the page before changing or saving the initial sync settings.</p></Admonition>)}@@ -135,11 +137,13 @@ export const TableCopySelection = ({ form, editMode }: TableCopySelectionProps)render={({ field }) => (<FormItemLayoutlayout="horizontal"- label={tableSyncCopyMode === 'skip_tables' ? 'Tables to skip' : 'Tables to copy'}+ label={+ tableSyncCopyMode === 'skip_tables' ? 'Tables to exclude' : 'Tables to include'+ }description={tableSyncCopyMode === 'skip_tables'- ? `${selectedPublicationCount} of ${tableCount} publication tables will stream without an initial copy.`- : `${selectedPublicationCount} of ${tableCount} publication tables will have their existing rows copied.`+ ? `${selectedPublicationCount} of ${tableCount} publication tables will skip initial sync. Ongoing replication will still include every publication table.`+ : `${selectedPublicationCount} of ${tableCount} publication tables will run initial sync. Ongoing replication will still include every publication table.`}><FormControl>@@ -191,7 +195,7 @@ export const TableCopySelection = ({ form, editMode }: TableCopySelectionProps)><p className="leading-normal!">{staleSelectedCount === 1 ? 'It' : 'They'} will be excluded from this pipeline's- initial-copy configuration when you save.+ initial sync settings when you save.</p></Admonition>)}diff --git a/apps/studio/components/interfaces/Database/Replication/EnablePipelinesCallout.tsx b/apps/studio/components/interfaces/Database/Replication/EnablePipelinesCallout.tsxindex 6dcc2c0769b..5adf07d8d66 100644--- a/apps/studio/components/interfaces/Database/Replication/EnablePipelinesCallout.tsx+++ b/apps/studio/components/interfaces/Database/Replication/EnablePipelinesCallout.tsx@@ -65,8 +65,8 @@ const EnablePipelinesModal = () => {feedback.</p><p className="text-sm leading-normal!">- Pipelines is billed for configured pipeline hours, initial sync data, and ongoing- replication data. Review the{' '}+ Pipelines is billed for configured pipeline hours and Postgres row data processed+ during initial sync and ongoing replication. Review the{' '}<InlineLink href={`${DOCS_URL}/guides/platform/manage-your-usage/pipelines`}>Pipelines pricing</InlineLink>{' '}diff --git a/apps/studio/components/interfaces/Database/Replication/RestartCostEstimate.render.test.tsx b/apps/studio/components/interfaces/Database/Replication/RestartCostEstimate.render.test.tsxindex a8ded5429e2..e9ce2deb6ce 100644--- a/apps/studio/components/interfaces/Database/Replication/RestartCostEstimate.render.test.tsx+++ b/apps/studio/components/interfaces/Database/Replication/RestartCostEstimate.render.test.tsx@@ -1,19 +1,31 @@-import { render, screen } from '@testing-library/react'+import { screen } from '@testing-library/react'+import type { components } from 'api-types'+import { HttpResponse } from 'msw'import { describe, expect, it, vi } from 'vitest'import { RestartCostEstimate } from './RestartCostEstimate'+import { customRender } from '@/tests/lib/custom-render'+import { addAPIMock } from '@/tests/lib/msw'-const mocks = vi.hoisted(() => ({- costEstimateQuery: vi.fn(() => ({ data: undefined, isFetching: false })),-}))--vi.mock('@/data/replication/cost-estimate-query', () => ({- useReplicationCostEstimateQuery: mocks.costEstimateQuery,-}))+type CostEstimateResponse = components['schemas']['CostEstimateResponse']describe('RestartCostEstimate', () => {- it('does not request an estimate when the table-copy policy skips every target', () => {- render(+ it('does not request an estimate when every target skips initial sync', () => {+ const costEstimateRequest = vi.fn(() =>+ HttpResponse.json<CostEstimateResponse>({+ currency: 'usd',+ pipeline: { hourly_cost: 0.05, monthly_cost: 36.5 },+ streaming: { rate_per_gb: 3 },+ table_copy: { rate_per_gb: 0.6, total_bytes: 0, total_cost: 0, tables: [] },+ })+ )+ addAPIMock({+ method: 'get',+ path: '/platform/replication/:ref/sources/:source_id/publications/:publication_name/cost-estimate',+ response: costEstimateRequest,+ })++ customRender(<RestartCostEstimateopenprojectRef="project-ref"@@ -23,11 +35,8 @@ describe('RestartCostEstimate', () => {/>)- expect(screen.getByText('No additional initial-sync copy charge')).toBeInTheDocument()+ expect(screen.getByText('No additional initial sync charge')).toBeInTheDocument()expect(screen.getByText('$0.00')).toBeInTheDocument()- expect(mocks.costEstimateQuery).toHaveBeenCalledWith(- { projectRef: 'project-ref', sourceId: 42, publicationName: 'analytics' },- { enabled: false }- )+ expect(costEstimateRequest).not.toHaveBeenCalled()})})diff --git a/apps/studio/components/interfaces/Database/Replication/RestartCostEstimate.tsx b/apps/studio/components/interfaces/Database/Replication/RestartCostEstimate.tsxindex 618983a6b8f..55bae36ad55 100644--- a/apps/studio/components/interfaces/Database/Replication/RestartCostEstimate.tsx+++ b/apps/studio/components/interfaces/Database/Replication/RestartCostEstimate.tsx@@ -45,9 +45,9 @@ export const RestartCostEstimate = ({{tables.length === 0 ? (<div className="flex items-center justify-between gap-x-6"><div className="min-w-0">- <p className="text-sm font-medium">No additional initial-sync copy charge</p>+ <p className="text-sm font-medium">No additional initial sync charge</p><p className="text-xs text-foreground-lighter">- Initial copy is skipped by this pipeline's table-copy policy.+ This restart will skip initial sync based on the pipeline's settings.</p></div><span className="shrink-0 font-mono text-lg font-semibold" translate="no">@@ -59,10 +59,10 @@ export const RestartCostEstimate = ({) : restartEstimate?.isComplete ? (<div className="flex items-center justify-between gap-x-6"><div className="min-w-0">- <p className="text-sm font-medium">Estimated additional initial sync</p>+ <p className="text-sm font-medium">Estimated additional initial sync cost</p><p className="text-xs text-foreground-lighter">- {formatBytes(restartEstimate.estimatedBytes)} across {tables.length}{' '}- {tables.length === 1 ? 'table' : 'tables'}+ Based on an estimated {formatBytes(restartEstimate.estimatedBytes)} of initial sync+ data across {tables.length} {tables.length === 1 ? 'table' : 'tables'}</p></div><span className="shrink-0 font-mono text-lg font-semibold" translate="no">@@ -78,7 +78,13 @@ export const RestartCostEstimate = ({)}{restartEstimate?.isComplete && restartEstimate.hasRowFilteredTables && (<p className="mt-2 text-xs text-foreground-lighter">- *Tables with row filters may cost less than shown.+ *Row filters can reduce the data processed compared with this estimate.+ </p>+ )}+ {restartEstimate?.isComplete && (+ <p className="mt-2 text-xs text-foreground-lighter">+ Quick planning estimate; the final charge is based on successfully processed initial sync+ data, which is billed again.</p>)}</div>diff --git a/apps/studio/components/interfaces/Database/Replication/RestartTableDialog.tsx b/apps/studio/components/interfaces/Database/Replication/RestartTableDialog.tsxindex 30daeba8b1d..59ce94d5f69 100644--- a/apps/studio/components/interfaces/Database/Replication/RestartTableDialog.tsx+++ b/apps/studio/components/interfaces/Database/Replication/RestartTableDialog.tsx@@ -93,15 +93,15 @@ export const RestartTableDialog = ({<ul className="list-disc list-inside space-y-1.5 pl-2">{willCopyTable ? (<li>- <strong>The table's initial sync will restart.</strong> All existing data will- be copied again from the source. This initial sync is billed in addition to- previous initial syncs.+ <strong>The table's initial sync will restart.</strong> Existing source rows+ will be synced again. Data successfully processed during this initial sync is+ billed again.</li>) : (<li>- <strong>No initial copy will run.</strong> New changes will resume streaming- without backfilling existing source rows. There is no additional initial-copy- charge.+ <strong>The table will skip initial sync.</strong> Replication will resume with+ new changes only, without syncing existing source rows. There is no additional+ initial sync charge.</li>)}<li>diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/BillingBreakdown.constants.ts b/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/BillingBreakdown.constants.tsindex dafa999fdc2..e2e908a62d8 100644--- a/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/BillingBreakdown.constants.ts+++ b/apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/BillingBreakdown.constants.ts@@ -180,7 +180,7 @@ export const BILLING_BREAKDOWN_METRICS: Metric[] = [},{key: PricingMetric.ETL_COPY_BACKFILL_DATA,- name: 'Pipeline Initial Sync Data',+ name: 'Initial Sync Data Processed',units: 'bytes',unitName: 'GB',category: 'Pipelines',@@ -188,7 +188,7 @@ export const BILLING_BREAKDOWN_METRICS: Metric[] = [},{key: PricingMetric.ETL_REPLICATED_DATA,- name: 'Pipeline Ongoing Replication Data',+ name: 'Ongoing Replication Data Processed',units: 'bytes',unitName: 'GB',category: 'Pipelines',diff --git a/apps/studio/components/interfaces/Organization/Usage/Usage.constants.tsx b/apps/studio/components/interfaces/Organization/Usage/Usage.constants.tsxindex 8d5eb804fce..2468418d307 100644--- a/apps/studio/components/interfaces/Organization/Usage/Usage.constants.tsx+++ b/apps/studio/components/interfaces/Organization/Usage/Usage.constants.tsx@@ -413,10 +413,10 @@ export const USAGE_CATEGORIES: (subscription?: OrgSubscription) => CategoryMeta[anchor: 'pipeline-initial-sync-data',key: PricingMetric.ETL_COPY_BACKFILL_DATA,attributes: [{ key: PricingMetric.ETL_COPY_BACKFILL_DATA.toLowerCase(), color: 'white' }],- name: 'Pipeline Initial Sync Data',+ name: 'Initial Sync Data Processed',unit: 'bytes',description:- 'Total amount of initial sync data processed across all projects.\nBilling is based on the total amount of initial sync data processed in gigabytes.',+ 'Postgres row data accepted by pipeline destinations during initial sync or resynchronization across all projects.\nBilling is based on the total amount of initial sync data processed in gigabytes.',chartDescription: 'The data refreshes every hour.',links: [{@@ -429,10 +429,10 @@ export const USAGE_CATEGORIES: (subscription?: OrgSubscription) => CategoryMeta[anchor: 'pipeline-ongoing-replication-data',key: PricingMetric.ETL_REPLICATED_DATA,attributes: [{ key: PricingMetric.ETL_REPLICATED_DATA.toLowerCase(), color: 'white' }],- name: 'Pipeline Ongoing Replication Data',+ name: 'Ongoing Replication Data Processed',unit: 'bytes',description:- 'Total amount of ongoing replication data processed across all projects.\nBilling is based on the total amount of ongoing replication data processed in gigabytes.',+ 'Postgres row data accepted by pipeline destinations during ongoing replication across all projects.\nBilling is based on the total amount of ongoing replication data processed in gigabytes.',chartDescription: 'The data refreshes every hour.',links: [{diff --git a/apps/www/_blog/2025-12-02-introducing-supabase-pipelines.mdx b/apps/www/_blog/2025-12-02-introducing-supabase-pipelines.mdxindex eaea807b1a2..0ab739d6940 100644--- a/apps/www/_blog/2025-12-02-introducing-supabase-pipelines.mdx+++ b/apps/www/_blog/2025-12-02-introducing-supabase-pipelines.mdx@@ -128,7 +128,7 @@ BigQuery is currently available. You can [request early access to ClickHouse, Sn## Pricing-Pipelines is billed for configured pipeline hours, initial sync data, and ongoing replication data. See [Pipelines pricing](/docs/guides/platform/manage-your-usage/pipelines) for current rates and billing examples. Destination-provider charges, such as BigQuery charges from Google Cloud, are separate.+Pipelines is billed for configured pipeline hours and Postgres row data processed during initial sync and ongoing replication. See [Pipelines pricing](/docs/guides/platform/manage-your-usage/pipelines) for the measurement definition, current rates, and billing examples. Destination-provider charges, such as BigQuery charges from Google Cloud, are separate.## Get starteddiff --git a/apps/www/_blog/2026-07-21-supabase-pipelines-public-alpha.mdx b/apps/www/_blog/2026-07-21-supabase-pipelines-public-alpha.mdxindex a3dd01b0ea1..82541195ed9 100644--- a/apps/www/_blog/2026-07-21-supabase-pipelines-public-alpha.mdx+++ b/apps/www/_blog/2026-07-21-supabase-pipelines-public-alpha.mdx@@ -108,10 +108,10 @@ We're always looking to add more destinations. If there is another warehouse, laSupabase Pipelines uses a pipeline-based and usage-based pricing model:- **$0.053 per hour** per configured pipeline-- **$0.60 per GB** of initial sync data-- **$3 per GB** of ongoing replication data+- **$0.60 per GB** of data processed during initial sync+- **$3 per GB** of data processed during ongoing replication-A pipeline becomes billable as soon as it is created and is charged hourly, including while replication is paused or inactive. Initial sync data covers the first load of existing data, while ongoing replication data covers changes processed after that initial sync. Pricing may change during the public alpha, and we will provide advance notice before any updates take effect.+A pipeline becomes billable as soon as it is created and is charged hourly, including while replication is paused or inactive. Data processed is Postgres row data accepted by the destination, measured consistently across destinations. The initial sync rate covers the first load of existing data and later resynchronizations, while the ongoing replication rate covers subsequent changes. Pricing may change during the public alpha, and we will provide advance notice before any updates take effect.## Things to know during public alphadiff --git a/apps/www/components/Pricing/PricingTableRow.tsx b/apps/www/components/Pricing/PricingTableRow.tsxindex 9d497e48fee..38684a0388d 100644--- a/apps/www/components/Pricing/PricingTableRow.tsx+++ b/apps/www/components/Pricing/PricingTableRow.tsx@@ -40,7 +40,7 @@ export const pricingTooltips: PricingTooltips = {main: 'Billing is based on the total sum of all outgoing traffic (includes Database, Storage, Realtime, Auth, API, Edge Functions, Supavisor, Log Drains) in GB throughout your billing period. Excludes cache hits.',},'database.replication': {- main: 'Supabase Pipelines is available as an add-on for paid plans. It provides change-data-capture pipelines that replicate your Postgres tables to analytical destinations in near real time.\nYou are billed for configured pipeline hours, initial sync data, and ongoing replication data. Pipeline hours continue while a pipeline is stopped and end when the pipeline is deleted.',+ main: 'Supabase Pipelines replicates Postgres tables to analytical destinations.\nBilling is based on configured pipeline hours and Postgres row data processed during initial sync and ongoing replication. Pipeline-hour billing ends when the pipeline is deleted.',},'storage.cachedEgress': {main: 'Billing is based on the total sum of outgoing Storage traffic in GB throughout your billing period that is served from our CDN cache.',diff --git a/packages/shared-data/pricing.ts b/packages/shared-data/pricing.tsindex e4ddb8c6b12..30dc6695f9c 100644--- a/packages/shared-data/pricing.ts+++ b/packages/shared-data/pricing.ts@@ -202,13 +202,13 @@ export const pricing: Pricing = {free: false,pro: ['$0.053 per pipeline per hour',- '$3.00 per GB ongoing replication data',- '$0.60 per GB initial sync data',+ '$3.00 per GB processed during ongoing replication',+ '$0.60 per GB processed during initial sync',],team: ['$0.053 per pipeline per hour',- '$3.00 per GB ongoing replication data',- '$0.60 per GB initial sync data',+ '$3.00 per GB processed during ongoing replication',+ '$0.60 per GB processed during initial sync',],enterprise: 'Custom',},