Chinaunix首页 | 论坛 | 博客
  • 博客访问: 64891
  • 博文数量: 15
  • 博客积分: 404
  • 博客等级: 一等列兵
  • 技术积分: 175
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-06 18:58
文章分类

全部博文(15)

文章存档

2012年(13)

2011年(1)

2008年(1)

我的朋友

分类: Oracle

2012-03-20 09:25:47

sqlplus / as sysdba <set linesize 200 pagesize 999
set long 99999 longc 99999
set timing on
set time on
set echo on
spool gather_xxx.log
exec DBMS_STATS.GATHER_SCHEMA_STATS(ownname=>'xxx',ESTIMATE_PERCENT=>dbms_stats.auto_sample_size,method_opt=>'for all columns size 1',cascade=>true,force=>true,degree=>32);
spool off
exit
阅读(1365) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~