oracle 备份

--备份 vt 用户的所有对象

exp vt/123456 file=/oracle/backup/database.dmp log=/oracle/backup/database.log owner=vt rows=n;


--分析表

analyze table clxsgjcompute statistics;


set autotrace trace explain  -- 开始统计


-- 创建索引

create index index_hphm on clxsgj(hphm);



你可能感兴趣的:(oracle 备份)