Data movement is usually the most practical precaution for transferring data between different database management systems. This article will explain the data movement steps in the DB2 database and the role of data movement for your reference, hope to help you.
The so-called data movement in db2 includes:
1. import data)
2. export data export)
3. load data)
Both import and load use db2 commands to save data in files of a certain format to tables in the database.
Export refers to saving the data in the table of the db2 database to a file of a certain format.
The role of data movement:
To transfer data between different database management systems, data movement is usually the most practical method, because any database management system supports common file formats, this universal interface makes it easy to transfer data between different systems.
Among the three commands, export is the simplest. Because data is transferred from a table to a file, there is usually no error or illegal data.
Before explaining commands, first introduce the file format.