......................

更新于& 00:14
......................[ 本帖最后由 520gl 于
21:18 编辑 ]
TA共获得:
评分共:1 条
代购德国爱他美、喜宝、雀巢、特福芬奶粉,holle羊奶粉
发表于 09:01
.............................[ 本帖最后由 520gl 于
21:20 编辑 ]
TA共获得:
评分共:0 条
代购德国爱他美、喜宝、雀巢、特福芬奶粉,holle羊奶粉
发表于 10:25
楼主,我感觉你写的靠谱啊! 出了这是大家都很伤心 ,
我是学生, 我学的就是城轨控制。 很支持楼主, 也希望我国的城轨方面能更加成熟,我们交个朋友吧 我Q
TA共获得:
评分共:0 条
发表于 10:38
虽然看的有些迷糊,但还是要顶,19楼这次都没有爆料,有点失望
TA共获得:
评分共:0 条
发表于 11:08
意思就是基本确认是决策、系统、设备的问题。主要是决策。
TA共获得:
评分共:0 条
代购德国爱他美、喜宝、雀巢、特福芬奶粉,holle羊奶粉
发表于 12:00
楼主说的很专业。我看不大懂。但是还是得支持楼主的言论
TA共获得:
评分共:0 条
我做事非常的不磨叽磨叽。。。
发表于 12:44
分析过程让人觉得很理性,这就是传说中的“说理”吧
TA共获得:
评分共:0 条
发表于 20:48
TA共获得:
评分共:0 条
代购德国爱他美、喜宝、雀巢、特福芬奶粉,holle羊奶粉
发表于 21:27
作为一个外行人看了LZ精辟的分析~偶是否能简单地理解成:不是调度有问题就是司机有问题~
TA共获得:
评分共:0 条
吕逸晨同学来地球报到
发表于 09:13
司机没问题
TA共获得:
评分共:0 条
代购德国爱他美、喜宝、雀巢、特福芬奶粉,holle羊奶粉
发表于 09:37
原来前天我老公分析的都是对的,你们真是人才
TA共获得:
评分共:0 条
发表于 13:06
安全比正点更重要,媒体是否也要反思一下
TA共获得:
评分共:0 条
使用(可批量传图、插入视频等)
下载19楼客户端回帖双倍威望
Ctrl + Enter 快速发布
&&&&新浪微博&
热门推荐:
SBS社区平台技术由提供 ICP证:浙B2-推荐到广播
358107 人聚集在这个小组
(别叫我师父)
(别怪自己太介意)
手机扫描二维码,把小组装进口袋
第三方登录:1622人阅读
转载请注明出处:
正确答案:D
Oracle 11g新特性之统计信息收集
&& 在以前的数据库版本中,当收集到新的优化器统计信息时会自动发布。在11g中,这仍然是默认的动作,但你多了一个选择,
你可以将最新的统计信息挂起,直到人为地发布它们。DBMS_STATS.GET_PREFS函数运行你检查“PUBLISH”属性,查看统计信息
是否已经自动发布。默认返回的值为TRUE,意味着已经自动发布了,而FALSE表示它还处于挂起状态,等待发布。
& 检查当前数据库的PUBLISH”属性:
gyj@OCM& col get_prefs for a50
gyj@OCM& SELECT DBMS_STATS.get_prefs('PUBLISH','SH','CUSTOMERS') get_prefs FROM
--------------------------------------------------
使用存储过程DBMS_STATS.SET_TABLE_PREFS可以重新设置“PUBLISH”属性,设为FALSE表示它还处于挂起状态,等待发布:
gyj@OCM& BEGIN
DBMS_STATS.SET_TABLE_PREFS('SH', 'CUSTOMERS', 'PUBLISH', 'false');
PL/SQL procedure successfully completed.
gyj@OCM& SELECT DBMS_STATS.get_prefs('PUBLISH','SH','CUSTOMERS') get_prefs FROM
--------------------------------------------------
参考官方文档:
SET_TABLE_PREFS Procedure
This procedure isused to set the statistics preferences of the specified table in the specifiedschema.
DBMS_STATS.SET_TABLE_PREFS (
&&& ownname&&& IN& VARCHAR2,
&&& tabname&&& IN& VARCHAR2,
&&& pname&&&&& IN& VARCHAR2,
& &&pvalue&&&& IN& VARCHAR2);
Parameters
Table 141-93SET_TABLE_PREFS Procedure Parameters
Description
Owner name
Table name
Preference name. The default value for following preferences can be set:
·&&&&&&&& CASCADE
·&&&&&&&& DEGREE
·&&&&&&&& ESTIMATE_PERCENT
·&&&&&&&& METHOD_OPT
·&&&&&&&& NO_INVALIDATE
·&&&&&&&& GRANULARITY
·&&&&&&&& PUBLISH
·&&&&&&&& INCREMENTAL
·&&&&&&&& STALE_PERCENT
CASCADE&- Determines whether or not index statistics are collected as part of gathering table statistics.
DEGREE&- Determines degree of parallelism used for gathering statistics.
ESTIMATE_PERCENT&- Determines the percentage of rows to estimate. The valid range is [0.]. Use the constantDBMS_STATS.AUTO_SAMPLE_SIZE&to have Oracle determine the appropriate sample size for good statistics.
This is the default.
METHOD_OPT&- Controls column statistics collection and histogram creation. It accepts either of the following options, or both in combination:
·&&&&&&&& FOR ALL [INDEXED | HIDDEN] COLUMNS&[size_clause]
·&&&&&&&& FOR COLUMNS [size clause] column [size_clause] [,column [size_clause]...]
size_clause&is defined as&size_clause := SIZE {integer | REPEAT | AUTO | SKEWONLY}
column&is defined as&column := column_name | extension name | extension
- integer&: Number of histogram buckets. Must be in the range [1,254].
- REPEAT&: Collects histograms only on the columns that already have histograms
- AUTO&: Oracle determines the columns to collect histograms based on data distribution and the workload of the columns.
- SKEWONLY&: Oracle determines the columns to collect histograms based on the data distribution of the columns.
-&column_name&: Name of a column
-&extension :&Can be either a column group in the format of&(column_name, colume_name [, ...])&or an expression
The default is&FOR ALL COLUMNS SIZE AUTO.
NO_INVALIDATE&- The value controls the invalidation of dependent cursors of the tables for which statistics are being gathered. Does not invalidate the dependent cursors if set to&TRUE. The procedure invalidates the dependent cursors
immediately if set to&FALSE. Use&DBMS_STATS.AUTO_INVALIDATE&to have Oracle decide when to invalidate dependent cursors. This is the default.
GRANULARITY&- Determines granularity of statistics to collect (only pertinent if the table is partitioned).
'ALL'&- Gathers all (subpartition, partition, and global) statistics
'AUTO'- Determines the granularity based on the partitioning type. This is the default value.
'DEFAULT'&- Gathers global and partition-level statistics. This option is obsolete, and while currently supported, it is included in the documentation for legacy reasons only. You should use the 'GLOBAL AND PARTITION' for this functionality.
Note that the default value is now 'AUTO'.
'GLOBAL'&- Gathers global statistics
'GLOBAL AND PARTITION' - Gathers the global and partition level statistics. No subpartition level statistics are gathered even if it is a composite partitioned object.
'PARTITION&'- Gathers partition-level statistics
'SUBPARTITION'&- Gathers subpartition-level statistics.
PUBLISH&- Determines whether or not newly gathered statistics will be published once the gather job has completed. Prior to Oracle Database 11g, Release 1 (11.1), once a statistic gathering job completed the new statistics were automatically
published into the dictionary tables. The user now has the ability to gather statistics but not publish them immediately. This allows the DBA to test the new statistics before publishing them.
INCREMENTAL&- Determines whether or not the global statistics of a partitioned table will be maintained without doing a full table scan. With partitioned tables it is very common to load new data into a new partition. As new partitions are added
and data loaded, the global table statistics need to be kept up to date. Oracle will update the global table statistics by scanning only the partitions that have been changed instead of the entire table if the following conditions hold:
·&&&&&&&& INCREMENTAL&value for the partitioned table is set to&TRUE;
·&&&&&&&& PUBLISH&value for the partitioned table is set to&TRUE;
·&&&&&&&& User specifies&AUTO_SAMPLE_SIZE&for&ESTIMATE_PERCENT&and&AUTO&for&GRANULARITY&when gathering statistics on the table.
If the&INCREMENTAL&value for the partitioned table was set to&FALSE&(default value), a full table scan is used to maintain the global statistics which is a much more resource intensive and time-consuming operation for large tables.
STALE_PERCENT&- Determines the percentage of rows in a table that have to change before the statistics on that table are deemed stale and should be regathered. The default value is 10%.
Preference value. If&NULL&is specified, it will set the Oracle default value.
Exceptions
: Object doesnot exist or insufficient privileges
: Invalid orillegal input values
Usage Notes
·&&&&&&&&To run this procedure, you need to connect as owner of the tableor should have the&ANALYZE&ANY&systemprivilege.
·&&&&&&&&All arguments are of type&VARCHAR2&and values are enclosed in quotes, even when they representnumbers.
DBMS_STATS.SET_TABLE_PREFS('SH', 'SALES', 'CASCADE', 'DBMS_STATS.AUTO_CASCADE');
DBMS_STATS.SET_TABLE_PREFS('SH', 'SALES','ESTIMATE_PERCENT','9');
DBMS_STATS.SET_TABLE_PREFS('SH', 'SALES', 'DEGREE','99');
&QQ:技术交流QQ群:
DSI&Core Search &Ⅰ 群:(2000人技术群:未满)
DSI&Core Search &Ⅱ 群:(1000人技术群:未满)
DSI&Core Search &Ⅲ 群:(500人技术群:未满)
DSI&Core Search &Ⅳ 群:(500人技术群:未满)
DSI&Core Search &Ⅴ 群:(500人闲聊群:未满)
MAIL:dbathink@BLOG:&WEIBO:ITPUB:&OCM: &&
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:279312次
积分:5773
积分:5773
排名:第1369名
原创:239篇
转载:15篇
译文:10篇
评论:90条
OCP认证群:
OCM认证群:
SQL优化群:
JAVA实战群:
Hadoop群:
技术分享群:
文章:97篇
阅读:104970
(1)(1)(2)(2)(10)(6)(1)(1)(5)(5)(1)(3)(24)(30)(31)(23)(5)(5)(10)(20)(78)}

我要回帖

更多关于 变形计 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信