SingleStore XL Ingest
On this page
Overview
SingleStore XL Ingest ("XL Ingest"), a component of SingleStore Flow, is companion software to SingleStore Ingest ("Ingest").
XL Ingest handles the initial transfer of large tables by dividing them into smaller logical partitions.
To transfer large tables from source database to SingleStore, perform the steps outlined in Select Tables.
Note: Pausing updates on the source database is not required during this process.
Select Tables
To ingest large data table(s) from source database to SingleStore, perform the following steps in Ingest before triggering a job in XL Ingest.
-
Navigate to Dashboard > Tables and select the gear icon.
-
Define a primary key (Pkey) and any necessary partitions for the table.
-
Enable Skip Initial Extract to bypass the initial extract and directly proceed with the delta load.
-
Select Apply to save the changes.
-
Navigate to Dashboard > Operations and disable the Ingest scheduler to ensure that all tables are moved to the destination at the same time.
-
Initiate Full Extract to trigger the initial bulk load for all the selected tables, except for those tables marked as Skip Initial Extract.
-
Initiate Sync New Tables to trigger the initial bulk load for tables marked as Redo Initial Extract and newly-added tables in an ongoing replication.
This captures the watermark for CDC and creates the table in the destination database (SingleStore). -
Enable the ingest scheduler in Ingest after transferring tables using XL Ingest.
Note: After marking tables with Skip Initial Extract, the next scheduled delta run automatically captures CDC for all tables, including those loaded with XL Ingest.
Split Table into Slices
Large tables must be divided into notional slices based on the value of a single slice column, for example, primary key.
Note: Date and time columns (for example DATE, DATETIME, TIMESTAMP) are not supported as slice columns in XL Ingest.
Refer to Configure Table Slicing for more information on slicing.
For Large Tables
XL Ingest automatically determines the slices based on the specified parameters.names can be divided by the first 3 characters.
For Smaller Tables
Slicing may not be necessary.
For PostgreSQL Partitioned Tables
To use XL Ingest with PostgreSQL partitioned tables:
-
In Ingest, select only the parent PostgreSQL partitioned table on the Tables page.
Child partitions do not appear separately. -
Configure the primary key and other table options on the parent table.
-
Set up slicing on the partition key column using Auto-Slice or by manually entering slice boundary values.
-
Sync the table in XL Ingest to load all slices in parallel.
-
After XL Ingest completes, enable the Ingest scheduler so CDC continues from the same parent table.
In this section
Last modified: