I'm using this unix script which it is fetching records in the form of csv. I have a SQL query used for this purpose. It contains below information
SET PAGESIZE 5000
SET COLSEP ","
SET LINESIZE 2000
SET FEEDBACK OFF
SET NEWPAGE NONE
SET UNDERLINE OFF
Is it due to PAGESIZE
it is consuming more space?
The script returns 4MB of CSV(OBTM.csv
) file whereas if I'm converting the same to (OBTM.xlsx
) it is 48KB.
Kindly clarify my query
.csv
and.xlsx
files generated? How are you converting? Are you on Unix,Linux, which one? – terdon♦ Sep 11 '13 at 12:34xlsx
file just contains a link to the data instead of holding the actual results? Also, I believexlsx
files compress the data; you might try gzipping yourcsv
and see if it shrinks down to a similar size. – drewbenn Sep 11 '13 at 14:34/vol01/sites/provisioning/IG/46762.sql
or perhapscount.sh
. Also, you might want to delete the email addresses from your script in pastebin to avoid SPAM. – terdon♦ Sep 11 '13 at 14:45