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