I am working with SAP HANA I would like to know if it is possible to get disk size of CSV data with SQL.
The CSV data that I mean is the file \index\SCHEMA NAME\CL\TABLE_NAME\data.csv
after export.
Best Regards Houssem
I am working with SAP HANA I would like to know if it is possible to get disk size of CSV data with SQL.
The CSV data that I mean is the file \index\SCHEMA NAME\CL\TABLE_NAME\data.csv
after export.
Best Regards Houssem
Nope, there is no way to generate this directly.\
You could, however, do some rough estimation, by looking at M_CS_COLUMNS to see the estimated uncompressed size for each column.
Then you could add six bytes (double byte encoding) for every column * no. of records to account for the enclosing quotation marks and separators between columns.