问题
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
回答1:
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.
来源:https://stackoverflow.com/questions/40909819/sap-hana-getting-csv-data-size