11.07.2015 Views

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>11</strong>0 CHAPTER 3 ■ DATABASE ADMINISTRATIONSQL> select client_name,job_name,job_start_timefrom dba_autotask_job_history;CLIENT_NAME JOB_NAME JOB_START_TIME------------------ -------------------- ---------------------------auto optimizer ORA$AT_OS_OPT_SY_1 15-MAR-07 10.00 PM -05:00stats collectionauto space advisor ORA$AT_SA_SPC_SY_22 19-MAR-07 10.00 PM -05:00sql tuning advisor ORA$AT_SQ_SQL_SW_103 28-MAR-07 10.00 PM -05:00SQL>Notice that all three database maintenance jobs run daily at 10 p.m. by default.You can use the following procedures from the DBMS_AUTO_TASK_ADMIN package to performvarious management tasks relating to the automatic maintenance tasks:• get_p1_resources: This procedure returns the percentage of resources allocated to eachof the four high-priority resource groups relating to the maintenance tasks.• set_pi_resources: Use this procedure to modify the resource allocation to each of theresource groups used by the automatic maintenance task (AUTOTASK) clients.• set_attribute: This procedure lets you set attributes for a task, a client, or an operation.• override_priority: You can use this procedure to override task priorities at the client,operation, and task level. For example, you can set the priority of a task to urgent, therebymaking it jump to the top of the maintenance window the next time the database executesthat task.■Note There are some important additions to <strong>Oracle</strong> Scheduler’s capabilities, which we will discusstowards the end of this chapter.Flashback-Related New Features<strong>Oracle</strong>9i <strong>Database</strong> and <strong>Oracle</strong> <strong>Database</strong> 10g introduced and developed several flashback-relatedfeatures that enhanced the ability of DBAs and developers to perform the logical repair of data,besides providing means to produce “as-if” reports using historical data. In <strong>Oracle</strong> <strong>Database</strong> <strong>11</strong>g,<strong>Oracle</strong> takes the flashback concept further by giving you two very useful features. The flashbackdata archive, which is the underlying technology behind the new <strong>Oracle</strong> Total Recall option,lets you track, store, and manage historical changes in data (that is, all versions of a table’s rowsover time) and lets you easily query the historical data. The flashback transaction backout featurelets you back out unwanted transactions effortlessly with a one-step transaction backout operation.We’ll review the flashback data archive feature in the following section, followed by adiscussion of the flashback transaction backout feature.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!