Importing data into a data set
Move data between data sets on the Pega Platform and initialize new Pega Platform instances by importing data set records that were exported from different Pega Platform data sets. You can import data into data sets that support the Save operation excluding the stream data sets like Facebook, Stream, or YouTube.
Check the size of the import package and the limit for data import into a data set.Do not import a package that was not exported from a data set or was manually modified after the export operation. The data.json and the MANIFEST.mf files might be incorrect and cause errors.
If necessary, Setting a size limit for data import into a data set for data import.
In Dev Studio, clickand open an instance of the Data Set rule.
Click a data set to which you want to import data.The following data set types support import:
- Database Table
- Decision Data Store
- Event Store
- Interaction History
- Visual Business Director
Choose a .zip file that is a result of the export operation and click Import.You should not import a package that was not exported from a data set or was manually modified after the export operation. The data.json and the MANIFEST.mf files might be incorrect and cause errors.
When the import operation is finished, click Done.
- Setting a size limit for data import into a data set
When you import data into a data set, the maximum size of the import package is 100 MB by default. You can decrease this value to 1 MB or increase it up to 2047 MB.
- Exporting data into a data set
Export your data to prepare a backup copy outside the Pega Platform or to move data between data sets and the Pega Platform instances. A .zip file that you get as a result of this operation is a package that you need to use when importing data into a data set. You can export data from data sets that support the Browse operation excluding the stream data sets like Facebook, Stream, or YouTube.
- Types of Data Set rules
Learn about the types of data set rules that you can create in Pega Platform.
- DataSet-Execute method
Apply the DataSet-Execute method to perform data management operations on records that are defined by data set instances. By using the DataSet-Execute method, you can automate these operations and perform them programmatically instead of doing them manually. For example, you can automatically retrieve data from a data set every day at a certain hour and further process, analyze, or filter the data in a data flow.
- About Data Set rules
Data sets define collections of records, allowing you to set up instances that make use of data abstraction to represent data stored in different sources and formats. Depending on the type selected when creating a new instance, data sets represent Visual Business Director (VBD) data sources, data in database tables or data in decision data stores. Through the data management operations for each data set type, you can read, insert and remove records. Data sets are used on their own through data management operations, as part of combined data
- Data Set rules - Completing the Create, Save As, or Specialization form