Problem while copying a file of size around 62GB to vertica
Hi
I am trying to copy a pipe delimited file which is around 62GB size into a table.
I did 2 things.
1. Wrote the copy command into a sql file and tried running it using \i option.
2. Pasted the copy command directly in the sql window and tried executing it.
For both the operations I have used 'DIRECT' option.
For the 2nd option, it takes around 15 to 20 mins to load the data into the target table.
For the 1st option, I waited for around 1 hr but it did not come through neither it throws any error. I have tried this multiple times but no luck.
Want to understand what is the best way to load such huge volume of data from a file to vertica.
Thanks in advance.
I am trying to copy a pipe delimited file which is around 62GB size into a table.
I did 2 things.
1. Wrote the copy command into a sql file and tried running it using \i option.
2. Pasted the copy command directly in the sql window and tried executing it.
For both the operations I have used 'DIRECT' option.
For the 2nd option, it takes around 15 to 20 mins to load the data into the target table.
For the 1st option, I waited for around 1 hr but it did not come through neither it throws any error. I have tried this multiple times but no luck.
Want to understand what is the best way to load such huge volume of data from a file to vertica.
Thanks in advance.
0
Comments
And what is the network stats for this cluster ?
And projections for target table , are those segmented or replicated ?
No segmentation/replication of the target table is done as of now.
How do I get network stats for the cluster?
output of below query :
select export_objects('','table_name');