lob字段空间大小收缩

移动表空间。

select 'alter table  '||a.owner||'.'||a.table_name||' move lob('||a.COLUMN_NAME||') store as (tablespace wf_data_tbs);'

from dba_lobs a,DBA_SEGMENTS b where a.owner in ('NWOM','WORKFLOW')

and a.OWNER=b.OWNER and a.SEGMENT_NAME=b.SEGMENT_NAME and b.TABLESPACE_NAME!='WF_DATA_TBS'


收缩表空间



猜你喜欢

转载自blog.csdn.net/zhengcaihua0/article/details/81054576
LOB