重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 5669|回复: 0
打印 上一主题 下一主题

How to Benefit from Automatic Maintenance Tasks Following the Removal of the

[复制链接]
跳转到指定楼层
楼主
发表于 2012-6-29 17:23:25 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

In this Document
Goal
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

Applies to:

Oracle Server - Standard Edition - Version: 11.1.0.6 to 11.2.0.3 - Release: 11.1 to 11.2
Oracle Server - Enterprise Edition - Version: 11.1.0.6 to 11.2.0.3 [Release: 11.1 to 11.2]
Oracle Server - Personal Edition - Version: 11.1.0.6 to 11.2.0.3 [Release: 11.1 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 20-Oct-2011***

Goal

Question: Why Has the GATHER_STATS_JOB been removed in 11g?

Solution

Answer:

Oracle Database 10g introduced the concept automated maintenance task execution during maintenance windows implemented via a WEEKNIGHT_WINDOW and WEEKEND_WINDOW schedule. This included statistics collection by means of the GATHER_STATS_JOB.

In Oracle Database 11g, the WEEKNIGHT_WINDOW and WEEKEND_WINDOW schedules (defined in Oracle Database 10g) are replaced with daily maintenance windows (such as SUNDAY_WINDOW, MONDAY_WINDOW etc). These were replaced in order to add increased flexibility and manageability. One can query dba_scheduler_windows to check the window definitions.

Automatic Maintenance Tasks (including the automated Optimizer Statistics Gathering task) are defined to execute within these daily windows. Using Enterprise Manager is the preferred way to control Automatic Maintenance Tasks, although the DBMS_AUTO_TASK_ADMIN package can also be used.

'Automatic Maintenance Tasks Management ' is an 11g new feature and was implemented to increase the flexibility of statistics collection and to avoid potential resourcing issue when maintenance jobs run alongside user operations. Maintenance operations can potentially use a lot of resource which may, in extreme cases, affect other jobs. To address this, in 11g, maintenance operations are closely linked to resource manager to manage the resources that are used and share them more efficiently.

From the

Oracle Database New Features Guide
11g Release 1 (11.1)
Part Number B28279-03

"This feature ensures that work during maintenance operations is not affected and that user activity gets the necessary resources to complete."

By spreading the workload over multiple weeknights and managing the resource usage, this feature provides the flexibility to allow maintenance jobs to complete in a timely fashion and for user operations to be unaffected.

Users are still completely free to define other maintenance windows and change start times and durations for the daily maintenance windows.

References


显示相关信息 相关内容


产品
  • Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Standard Edition
  • Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition
  • Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Personal Edition
关键字
11G NEW FEATURES; DBA_SCHEDULER_WINDOWS; FEATURES; GATHER_STATS_JOB; NEW FEATURES; RESOURCE USAGE
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-28 14:57 , Processed in 0.076119 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表