MySQL获取blob大小,单位字节:
SELECT OCTET_LENGTH(column_name) datasize from table
Oracle获取clob大小,单位字节:
select length(column_name) dataszie from table
Oracle获取blob大小,单位字节:
select dbms_lob.getlength(column_name) dataszie from table