bpg*_*rgo 18
select vsize(col1) + vsize(col2) + vsize(col3) +
long_raw_length_function(long_col) + DBMS_LOB.GETLENGTH(blob_col)
from table
where id_col = id_val;
Run Code Online (Sandbox Code Playgroud)
对于long_raw_length_function,请参阅此内容获取LONG RAW的长度
如果您对平均行长度感兴趣,可以分析表(使用DBMS_STATS包),然后查询ALL_TABLES.avg_row_len
.