Load by Partition
The Load by partition lets you synchronize data in smaller batches (partitions) instead of loading an entire table at once. Partitions are defined by a date-based field, a start date, and a day range. This approach can improve performance, reduce the risk of timeouts, and allow interrupted loads to resume from the point of failure instead of starting over.
This feature is available for Synchronization and Consolidation extractions. It is in Beta for all connector types except for Sage Intacct and Custom API.
When to load by partition
- Improving performance: Reduce the processing time of large table extractions by splitting them into smaller chunks.
- Increasing reliability: Minimise the impact of an error by resuming from the failed partition instead of restarting the whole load.
- Managing large historical datasets: Gradually load extensive date-based data without locking the entire source or destination.
Default vs. partition load
The two load types differ in how data is processed and in the outcome if a failure occurs:
| Load type | Description |
|---|---|
| Default | Loads the entire table in a single operation.
|
| By partition | Loads the table in sequential date-based partitions, starting from the specified start date and using the defined day range.
|
Configure a load by partition
- From the welcome screen or left navigation pane, select Extractions.
- Select an extraction from the list.
- Select the link under the Tables column.
- Select the table you want to configure.
- Click the Partition Settings icon in the upper‑right corner.
- Select Use partition settings to enable partition configuration.
- From the Field dropdown list, choose the date, datetime, or datetimeoffset field in the source table that will determine how to split the data into partitions.
- Select the Start Date from the date picker (date is in UTC).
- In Day Range, enter the number of days each partition should cover (1–30).
For example, entering7creates partitions of 7 days each. - Click Confirm. A checkmark appears next to the table under the Partition column when partitioning is enabled.
important
To validate the partition settings, run Validate and Build with the option Only add missing tables/fields/indexes enabled.
View load status
- In the Tables page of an extraction, find a table with a checkmark in the Partition column and select it.
- Click the Table status icon in the upper‑right corner.
- Review the status message to see if the table was fully loaded, partially loaded, or never loaded.
- (Optional) Enable Override default loading behavior to to choose a different way to resume or reload data:
- Keep all loaded partitions and resume loading from – Enter a date to resume loading. The date must be on or after the partition start date and not in the future.
- Force reload all data from the initial partition start date – Reload all partitions from the start date, even if already loaded. Available only when the load failed or was aborted.
- Close the dialog when done.
| Status | Description |
|---|---|
| Never loaded | The table has never been loaded. Running Truncate and Load or Incremental Load loads all data, in partitions if enabled. |
| Done successfully | All data was loaded successfully. |
| Error | An error occurred. With partitioning disabled, no data is loaded. With it enabled, some partitions may be loaded and the process resumes on the next run. |
| Aborted | The run was stopped by a user. Data may be partially loaded and remaining data loads when resumed. |