Copy Data |
Copy data function is used to copy data to database. Currently only copying to HBase is supported. Supported data engines include UDB and GDB. The UDB engine contains local files and the files that have been registered to iServer, and supports creating field indexes, building pyramid on registered UDB datasets. If copying the dataset with the same name to the database multiple times, the default action is to add a new dataset.
To solve the problem of large-volume data copy failure, we propose "batch copy", which optimizes the process of copying data, i.e. supports batch copying to the database for the registered UDB dataset. The specific batch is as follows:
Point dataset:
When the amount of data is less than 4 million, batch copying is not performed.
When the amount of data is more than 4 million, 2 million are copied per batch. For example: 5 million points of data are copied in 3 batches.
Line dataset:
When the amount of data is less than 2 million, batch copying is not performed.
When the amount of data is more than 2 million, 1 million are copied per batch. For example: 3 million lines of data is copied in 3 batches.
Region dataset:
When the amount of data is less than 1 million, batch copying is not performed.
When the amount of data is more than 1 million, 500,000 are copied per batch. For example: 1.5 million regions of data is copied in 3 batches.
Source dataset type: Required. It supports registered data, local GDB file, local UDB file, local TIF file.
Target dataset: Required when source dataset type chose registered data. It's used to specify the datasets need to be copied.
BuildPyramid: Optional. It's supported when source dataset type chose registered data.
BuildFieldIndex: Optional. It's supported when source dataset type chose registered data.
Source data address: Required when source dataset type chose local GDB file, or local UDB file, or local TIF file. It's used to specify the path of the datasets need to be copied.
Source dataset name: Optional. It's supported when source dataset type chose local GDB file, or local UDB file. If no dataset is specified, all the datasets under the source data address will be copied by default.
Target EPSGCODE: Optional. It's supported when source dataset type chose registered data, local TIF file. Supported values include: 3857, 4326, 4490.
Target dataBaseType: Required. Currently only HBASE is supported.
Target dataBaseName: Required.
Target dataBaseAddress: Required.