When you repartition data, the Data Vault calculates the total number of data files, creates the data files, and registers the data files to Data Vault repository.
Data repartitioning includes the following high-level stages:
Data file calculation
You specify the number of rows that each repartitioned data file includes. The Data Vault uses the row count to calculate the total number of repartitioned data files and the minimum and maximum value range for each repartitioned data file.
Data file creation
The Data Vault creates temporary files to copy data from the original data files to the corresponding value range of the repartitioned data files. Then the Data Vault merges the temporary files of the same value ranges and creates the repartitioned data files.
Data file registration
The Data Vault registers the repartitioned data files in the Data Vault repository. The Data Vault can register the repartitioned data files for the original archived table or for a new table in the Data Vault repository.