Oracle - 如何获得特定 ROW 的实际大小?

标签 oracle size row

这可能吗?或者至少我希望有一个表格中所有行的大小列表。

最佳答案

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;

有关 long_raw_length_function,请参阅此 Get the LENGTH of a LONG RAW

关于Oracle - 如何获得特定 ROW 的实际大小?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5871369/

相关文章:

sql - DBMS 上下文中的 BLOB 到底是什么

oracle - 转换不同世纪的日期

CSS 溢出 : auto out of div boundaries

r - 如何在页面上查找 R 图形的字节大小?

python - 更新 csv 文件中的特定行

android - 自定义 Listview Row textview Text 将 Imageview 推到右边

python - 如何从 Pandas 数据帧中获取 1's and 0' 的最大连续数量

java - byte[] 存储在 Oracle 中

ios - 为什么 xcode 调试库大小小于发布库

sql - Oracle OCI C 代码中的错误 OCI_INVALID_HANDLE