求create_stat_table创建表的定义字段含义!!!
自己用dbms_stats.create_stat_table(ownname=>'SCOTT',stattab=>'STATSTAB')在scott用户下创建了一张信息统计表STASTAB。当desc scott.statstab,查看字段含义,就傻眼了不明白每个字段的含义。于是就上网收了一下,收不到答案,网上说这张表没有公开。急求明白这张表的大神开导下小弟。。。这张表的字段贴在这里:
SQL> desc scott.statstab;
Name Null? Type
----------------------------------------------------- -------- ------------------------------------
STATID VARCHAR2(30)
TYPE CHAR(1)
VERSION NUMBER
FLAGS NUMBER
C1 VARCHAR2(30)
C2 VARCHAR2(30)
C3 VARCHAR2(30)
C4 VARCHAR2(30)
C5 VARCHAR2(30)
N1 NUMBER
N2 NUMBER
N3 NUMBER
N4 NUMBER
N5 NUMBER
N6 NUMBER
N7 NUMBER
N8 NUMBER
N9 NUMBER
N10 NUMBER
N11 NUMBER
N12 NUMBER
D1 DATE
R1 RAW(32)
R2 RAW(32)
CH1 VARCHAR2(1000) 如果网上真的找不到解释,一种办法,
先dbms_stats.gather_stat_table(ownname=>'SCOTT',stattab=>'STATSTAB')
然后dbms_stats.import_table_stats把统计信息导入,导入时trace一下,看哪个字段都进了哪个表字段 Teddy.huang 发表于 2013-1-20 21:24 static/image/common/back.gif
如果网上真的找不到解释,一种办法,
先dbms_stats.gather_stat_table(ownname=>'SCOTT',stattab=>'STATSTA ...
嗯!好的!我去操作操作! FirstBlood 发表于 2013-1-21 12:48 static/image/common/back.gif
嗯!好的!我去操作操作!
通报下结果
COLUMNDATA TYPETYPE=’T’TYPE=’C’TYPE=’I’TYPE=’S’(Oracle 9i)
STATIDVARCHAR2(30)User settableUser settableUser settableUser settable
TYPECHAR(1)TableColumnIndexSystem
VERSIONNUMBER
FLAGSNUMBER
C1VARCHAR2(30)Table nameTable nameIndex nameStatus
C2VARCHAR2(30)Partition namePartition namePartition nameDstart
C3VARCHAR2(30)Subpartition nameSubpartition nameSubpartition nameDstop
C4VARCHAR2(30) Column name ‘CPU_SERIO’/’PARIO’
C5VARCHAR2(30)OwnerOwnerOwnerOwner
N1NUMBERNum rowsNum distinctNum rowsSreadtim/maxthr
N2NUMBERBlocksDensityLeaf blocksMreadtim/slavethr
N3NUMBERAverage row length Distinct keysCPU speed/
N4NUMBERSample sizeSample sizeLeaf blocks/key
N5NUMBER Num nullsData blocks/key
N6NUMBER Lower valueClustering factor
N7NUMBER High valueBlevel
N8NUMBER Average column lengthSample size
N9NUMBER ?(always 1)
N10NUMBER Endpoint number
N11NUMBER Endpoint value Mbrc/
N12NUMBER ?(always null)
D1DATELast analyzedLast analyzedLast analyzedLast analyzed
R1RAW(32)
R2RAW(32)
CH1VARCHAR2(1000)
页:
[1]