Skip to main content

vsql limit

  • Aug 8, 2016 4:46 PM UTC
  • 5 replies
  • 14 views

sreeblr
Forum|alt.badge.img+2

vertica sql spool limit
I am trying to create dump of table using vsql -vsql -U  -w  -F "|" -P footer=off -AXnqc "select * from USER_SLCT" > USER_SLCT.csv
The table has 7 million rows but the output of the above shows only 1.79 million. Is there any limit in vsql?

5 replies

K__
Forum|alt.badge.img
  • Participating Frequently
  • Aug 8, 2016 5:03 PM UTC

 

Why do you have the extended formatting enabled? Also, you dont need to specify -P footer=off. Just add t after the A option. You don't need -F '|'. It's the default separator anyways. 

 


sreeblr
Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • Aug 8, 2016 5:19 PM UTC

i did try but issue is not with format but the vsql stopping spooling rows after 1.79 million rows while i have  7 million in the file. Hence asking if there is any limit


K__
Forum|alt.badge.img
  • Participating Frequently
  • Aug 8, 2016 5:20 PM UTC

What OS are you running on? 


sreeblr
Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • Aug 8, 2016 6:00 PM UTC

centos


K__
Forum|alt.badge.img
  • Participating Frequently
  • Aug 8, 2016 6:14 PM UTC

what's the ouptut of ulimit -a?

Whats's the size of the file you get when you try to dump the table?