SAP HANA getting csv data size

心不动则不痛 提交于 2019-12-12 04:32:31

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!