查看表的大小
SELECT segment_name AS TABLENAME,BYTES B,BYTES/1024 KB,BYTES/1024/1024 MB FROM user_segments WHERE segment_name='EP_SC106';
SELECT segment_name AS TABLENAME,BYTES B,BYTES/1024 KB,BYTES/1024/1024 MB FROM user_segments WHERE segment_name='EP_SC106';
alter table edm_page_view_record_missid enable row movement;
表压缩:
1.alter table PTL_SYSTEM_MESSAGE_OPEN shrink space;
2.alter table PTL_SYSTEM_MESSAGE_MESSID rebuild;
1.alter table PTL_SYSTEM_MESSAGE_OPEN shrink space;
2.alter table PTL_SYSTEM_MESSAGE_MESSID rebuild;
2还可以对index进行压缩
(*^__^*) 嘻嘻……
(*^__^*) 嘻嘻……
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22392018/viewspace-707972/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22392018/viewspace-707972/