<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<title>Oracle DBMS_STATS Optimizer Statistics Analyze</title>
</head>
<body background="../source/binary.gif" text="#000000" vlink="#800080" alink="#00FFFF" bgcolor="#FFFFFF">
<div align="center">
<script language="JavaScript">
{
graphic1= new Image();
graphic1.src = "../source/home1.jpg";
graphic1on = new Image();
graphic1on.src = "../source/home2.jpg";
graphic2= new Image();
graphic2.src = "../source/education1.jpg";
graphic2on = new Image();
graphic2on.src = "../source/education2.jpg";
}
function imageChg(imageID2,imageName2) {
{
document.images[imageID2].src = eval(imageName2 + ".src");
}
}
</script>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="90%">
<tr>
<td width="20%"></td>
<td>
<h3 align="center"><font face="Arial"><b>Oracle DBMS_STATS</b></font></h3>
</td>
<td align="right" rowspan="2" width="20%">
<div align="right">
<table border="1" cellpadding="0" cellspacing="0">
<tr>
<td>
<a href="../home.htm" target="topic"
onmouseover="imageChg('a','graphic1on')"
onmouseout="imageChg('a','graphic1')">
<img src="../source/home1.jpg" border="0" name="a" width="120" height="20"></a>
</td>
</tr>
<tr>
<td>
<a href="../education.htm" target="topic"
onmouseover="imageChg('b','graphic2on')"
onmouseout="imageChg('b','graphic2')">
<img src="../source/education1.jpg" border="0" name="b" width="120" height="20"></a>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td width="20%"></td>
<td ALIGN="center">
<strong><font face="Arial">Version 10.1</font></strong>
</td>
</tr>
</table>
<br>
<table border="1" width="90%" bgcolor="#D8D8C4">
<tr>
<td colspan="2"><font face="Arial" color="#808000"><strong>General</strong></font></td>
</tr>
<tr>
<td colspan="2"><FONT FACE="Arial"><B>Note:</B> The drawback to collecting REDUNDANT column stats is that they have to be loaded into the dictionary cache, and they have to be considered when the query is optimised. This waste shared pool space and CPU.<BR>
<br>
On the other hand, if the statistics add value about the data - which does mean EVEN on unindexed columns - queries can run faster.<BR>
<br>
Most systems should have only a few column histograms in place, but there is no obvious requirement that they should only be on indexed columns.</FONT></td>
</tr>
<tr>
<td width="25%"><font face="Arial">Source</font></td>
<td width="75%"><FONT FACE="Courier">{ORACLE_HOME}/rdbms/admin/prvtstas.pbl</FONT></td>
</tr>
<tr>
<td width="25%"><FONT FACE="Arial">Constants</FONT></td>
<td width="75%">
<DIV ALIGN="left">
<TABLE BORDER="1" CELLSPACING="0" WIDTH="100%">
<TR>
<TD>
<P ALIGN="center"><B><FONT FACE="Arial">Constant</FONT></B></TD>
<TD align="center">
<b><font face="Arial">Data Type</font></b></TD>
<TD>
<P ALIGN="center"><B><FONT FACE="Arial">Usage</FONT></B></TD>
</TR>
<TR>
<TD><FONT FACE="Courier">AUTO_CASCADE </FONT></TD>
<TD align="center"><FONT FACE="Courier"> BOOLEAN</FONT></TD>
<TD><FONT FACE="Arial">W</FONT><FONT FACE="Arial">hether to collect statistics for indexes or
not</FONT></TD>
</TR>
<TR>
<TD><FONT FACE="Courier">AUTO_DEGREE</FONT></TD>
<TD align="center"><FONT FACE="Courier"> NUMBER</FONT></TD>
<TD><FONT FACE="Arial">Select the degree of parallelism</FONT></TD>
</TR>
<TR>
<TD><FONT FACE="Courier">AUTO_INVALIDATE</FONT></TD>
<TD align="center"><FONT FACE="Courier"> BOOLEAN</FONT></TD>
<TD><FONT FACE="Arial">D</FONT><FONT FACE="Arial">ecide when to invalidate dependent
cursors</FONT></TD>
</TR>
<TR>
<TD><FONT FACE="Courier">AUTO_SAMPLE_SIZE</FONT></TD>
<TD align="center"><FONT FACE="Courier"> NUMBER</FONT></TD>
<TD><FONT FACE="Arial">Indicate that auto-sample size algorithms <BR>
should be
used</FONT></TD>
</TR>
<TR>
<TD><FONT FACE="Courier">DEFAULT_DEGREE</FONT></TD>
<TD align="center"><FONT FACE="Courier"> NUMBER</FONT></TD>
<TD><FONT FACE="Arial">Used to determine the system default degree <BR>
of
parallelism</FONT></TD>
</TR>
</TABLE>
</DIV>
</td>
</TR>
<TR>
<td width="25%"><FONT FACE="Arial">Data Types</FONT></td>
<td width="75%"><FONT FACE="Courier">TYPE numarray IS VARRAY(256) OF NUMBER;<BR>
TYPE datearray IS VARRAY(256) OF DATE;<BR>
TYPE chararray IS VARRAY(256) OF VARCHAR2(4000);<BR>
TYPE rawarray IS VARRAY(256) OF RAW(2000);<BR>
TYPE fltarray IS VARRAY(256) OF BINARY_FLOAT;<BR>
TYPE dblarray IS VARRAY(256) OF BINARY_DOUBLE;<BR>
<BR>
TYPE StatRec IS RECORD (<BR>
epc NUMBER,<BR>
minval RAW(2000),<BR>
maxval RAW(2000),<BR>
bkvals NUMARRAY,<BR>
novals NUMARRAY);<BR>
<BR>
<B>Types for listing stale tables include:</B><BR>
TYPE ObjectElem IS RECORD (<BR>
ownname VARCHAR2(30), -- owner<BR>
objtype VARCHAR2(6), -- 'TABLE' or 'INDEX'<BR>
objname VARCHAR2(30), -- table/index<BR>
partname VARCHAR2(30), -- partition<BR>
subpartname VARCHAR2(30), -- subpartition<BR>
confidence NUMBER); -- not used<BR>
<BR>
TYPE ObjectTab IS TABLE OF ObjectElem;<BR>
/</FONT></td>
</TR>
<TR>
<td width="25%"><FONT FACE="Arial">Dependencies</FONT></td>
<td width="75%"><font face="Courier">SELECT name<br>
FROM dba_dependencies<br>
WHERE referenced_name = 'DBMS_STATS'<br>
UNION<br>
SELECT referenced_name<br>
FROM dba_dependencies<br>
WHERE name = 'DBMS_STATS';</font></td>
</TR>
<TR>
<td width="25%"><FONT FACE="Arial">Exceptions</FONT></td>
<td width="75%">
<DIV ALIGN="left">
<TABLE BORDER="1" CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD ALIGN="center"><B><FONT FACE="Arial">Exception Name</FONT></B></TD>
<TD ALIGN="center"><B><FONT FACE="Arial">Error Code</FONT></B></TD>
<TD ALIGN="center"><B><FONT FACE="Arial">Reason</FONT></B></TD>
</TR>
<TR>
<TD> </TD>
<TD ALIGN="center"><font face="Courier">20000</font></TD>
<TD><FONT FACE="Arial"> Table already exists or insufficient
privileges</FONT></TD>
</TR>
<TR>
<TD> </TD>
<TD ALIGN="center"><font face="Courier">20001</font></TD>
<TD><FONT FACE="Arial"> Tablespace does not exist</FONT></TD>
</TR>
<TR>
<TD> </TD>
<TD ALIGN="center"><font face="Courier">20002</font></TD>
<TD><FONT FACE="Arial">Bad user statistics table; may need to be upgraded</FONT></TD>
</TR>
<TR>
<TD> </TD>
<TD ALIGN="center"><font face="Courier">20003</font></TD>
<TD><FONT FACE="Arial">Unable to set system statistics</FONT></TD>
</TR>
<TR>
<TD> </TD>
<TD ALIGN="center"><font face="Cou
没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
收起资源包目录
Oracle内置包的使用方法 (250个子文件)
disc.gif 2KB
new.gif 250B
bar32.gif 63B
bar16.gif 53B
bar8.gif 47B
bar4.gif 43B
bar2.gif 40B
bar1.gif 38B
dbms_stats.htm 94KB
index.htm 81KB
builtin_packages.htm 75KB
tables.htm 64KB
dbms_serv_alert.htm 60KB
exception_handling.htm 58KB
dbms_sql.htm 57KB
dbms_wm.htm 54KB
dbms_advisor.htm 54KB
constraints.htm 52KB
database.htm 52KB
indexes.htm 48KB
dbms_utility.htm 48KB
utl_file.htm 44KB
startup_parms.htm 44KB
datatypes.htm 43KB
number_func.htm 43KB
hints.htm 43KB
presentations.htm 42KB
dbms_metadata.htm 42KB
type.htm 41KB
jul03.htm 39KB
sqlplus.htm 37KB
bulk_collect.htm 37KB
tablespaces.htm 35KB
dbms_sqltune.htm 35KB
dbms_lob.htm 34KB
dbms_profiler.htm 34KB
conditions.htm 34KB
dbms_rls.htm 33KB
procedures.htm 31KB
dbms_aqadm.htm 31KB
dbms_space.htm 30KB
dbms_expfil.htm 30KB
model_clause.htm 29KB
date_func.htm 29KB
oradebug.htm 28KB
sqlloader.htm 28KB
partitions.htm 27KB
regexp.htm 26KB
user.htm 26KB
intermedia_a.htm 26KB
dbms_session.htm 26KB
forms.htm 26KB
functions.htm 25KB
utl_raw.htm 25KB
dbms_crypto.htm 25KB
packages.htm 25KB
dbms_ext_tts_chks.htm 24KB
aq_demo2.htm 24KB
string_func.htm 23KB
init_dot_ora.htm 23KB
unix_vi.htm 23KB
dbms_repair.htm 23KB
clusters.htm 23KB
utl_smtp.htm 23KB
intermedia_v.htm 23KB
aq_demo1.htm 22KB
dbms_job.htm 22KB
dbms_res_mgr.htm 22KB
rman.htm 22KB
trace_tkprof.htm 22KB
listener.htm 21KB
dbms_mview.htm 21KB
system_privs.htm 21KB
loops.htm 21KB
materialized_views.htm 20KB
dbms_resumable.htm 20KB
utl_compress.htm 19KB
sequences.htm 19KB
timestamp.htm 19KB
joins.htm 19KB
table_trigger.htm 19KB
instead_of_trigger.htm 19KB
dbms_warning.htm 19KB
decode_case.htm 19KB
dbms_monitor.htm 19KB
pseudocols.htm 19KB
ddl_trigger.htm 18KB
utl_i18n.htm 18KB
dbms_rowid.htm 18KB
views.htm 18KB
dbms_xmlgen.htm 18KB
dbms_redefinition.htm 17KB
dbms_wrkld_repos.htm 17KB
system_events.htm 17KB
insert.htm 17KB
net_services.htm 16KB
dbms_describe.htm 16KB
sys_context.htm 16KB
operator.htm 16KB
profiles.htm 15KB
共 250 条
- 1
- 2
- 3
zeng_84_long
- 粉丝: 86
- 资源: 42
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 青岛大学人工智能实验二 利用α-β搜索的博弈树算法编写一字棋游戏
- ### 1、项目介绍 本项目Scrapy进行数据爬取,并使用Django框架+PyEcharts实现可视化大屏 效果如下:
- # 微信小程序-健康菜谱 基于微信小程序的一个查找检索菜谱的应用 ### 效果 !动态图(./res/gif/demo
- zabbix-get命令包资源
- 289ssm-mysql-jsp 计算机课程实验管理系统.zip(可运行源码+数据库文件+文档)
- 毕业设计,基于PyQt5实现的可视化界面的Python车牌自动识别系统源码
- 20-天天果园项目.rar
- 26-朴素贝叶斯分类.rar
- 没有安Matlab 也可以 生成FIR抽头系数工具.py
- 自助购药小程序源代码含文档
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0