|
Build verified: 5.5.2-1
cpimport -h
.
.
-L Directory for the output .err and .bad files.
Default is /var/log/mariadb/columnstore
.
.
[centos8:root~]# cpimport -L /data/qa/source mytest t1 t.txt
Locale = en_US.UTF-8Error gaining r/w access to import path .: Permission denied
[centos8:root~]# cpimport mytest t1 t.txt
Locale = en_US.UTF-8
Using table OID 3037 as the default JOB ID
Input file(s) will be read from : /root
Job description file : /var/log/mariadb/columnstore/data/bulk/tmpjob/3037_D20210322_T153344_S843665_Job_3037.xml
Log file for this job: /var/log/mariadb/columnstore/cpimport/Job_3037.log
2021-03-22 15:33:44 (5561) INFO : successfully loaded job file /var/log/mariadb/columnstore/data/bulk/tmpjob/3037_D20210322_T153344_S843665_Job_3037.xml
2021-03-22 15:33:44 (5561) INFO : Job file loaded, run time for this step : 0.0591531 seconds
2021-03-22 15:33:44 (5561) INFO : PreProcessing check starts
2021-03-22 15:33:44 (5561) INFO : input data file /root/t.txt
2021-03-22 15:33:44 (5561) INFO : PreProcessing check completed
2021-03-22 15:33:44 (5561) INFO : preProcess completed, run time for this step : 0.00701499 seconds
2021-03-22 15:33:44 (5561) INFO : No of Read Threads Spawned = 1
2021-03-22 15:33:44 (5561) INFO : No of Parse Threads Spawned = 3
2021-03-22 15:33:44 (5561) INFO : Number of rows with errors = 4. Exact rows are listed in file located here: /var/log/mariadb/columnstore/cpimport/
2021-03-22 15:33:44 (5561) INFO : Number of rows with bad data = 4. Exact rows are listed in file located here: /var/log/mariadb/columnstore/cpimport/
2021-03-22 15:33:44 (5561) INFO : For table mytest.t1: 5 rows processed and 1 rows inserted.
2021-03-22 15:33:45 (5561) INFO : Bulk load completed, total run time : 1.10763 seconds
[centos8:root~]# cpimport -L /tmp mytest t1 t.txt
Locale = en_US.UTF-8
Using table OID 3037 as the default JOB ID
Input file(s) will be read from : /root
Job description file : /var/log/mariadb/columnstore/data/bulk/tmpjob/3037_D20210322_T153540_S423567_Job_3037.xml
Log file for this job: /var/log/mariadb/columnstore/cpimport/Job_3037.log
2021-03-22 15:35:40 (5646) INFO : successfully loaded job file /var/log/mariadb/columnstore/data/bulk/tmpjob/3037_D20210322_T153540_S423567_Job_3037.xml
2021-03-22 15:35:40 (5646) INFO : Job file loaded, run time for this step : 0.054472 seconds
2021-03-22 15:35:40 (5646) INFO : PreProcessing check starts
2021-03-22 15:35:40 (5646) INFO : input data file /root/t.txt
2021-03-22 15:35:40 (5646) INFO : PreProcessing check completed
2021-03-22 15:35:40 (5646) INFO : preProcess completed, run time for this step : 0.0082109 seconds
2021-03-22 15:35:40 (5646) INFO : No of Read Threads Spawned = 1
2021-03-22 15:35:40 (5646) INFO : No of Parse Threads Spawned = 3
2021-03-22 15:35:40 (5646) INFO : Number of rows with errors = 4. Exact rows are listed in file located here: /tmp/
2021-03-22 15:35:40 (5646) INFO : Number of rows with bad data = 4. Exact rows are listed in file located here: /tmp/
2021-03-22 15:35:40 (5646) INFO : For table mytest.t1: 5 rows processed and 1 rows inserted.
2021-03-22 15:35:41 (5646) INFO : Bulk load completed, total run time : 1.0719 seconds
|