What is the DBMS_ADVISOR package?

Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.

What is the DBMS_ADVISOR package?

Rating:

The DBMS_ADVISOR package is new to Oracle 10g. It is used to provide the PL/SQL application programming interface (API), which manages all the advisors. The DBMS_ADVISOR package is also used to create and execute any advisor tasks, including SQL Access Advisor tasks. There are many procedures available for the package, as given below:

Procedure nameDescription
CREATE_TASKCreates a new advisor task in the repository.
SET_TASK_PARAMETERModifies a user parameter within a task (a task can only be modified if it is in the initial state).
EXECUTE_TASKExecutes the specified task (analysis task in the asked case).
GET_TASK_REPORTCreates and returns an XML report for the specified task.
DELETE_TASKDeletes the specified advisor task.
CANCEL_TASKCancels a currently executing task.
INTERRUPT_TASKStops the currently executing task, with normal exit.
RESUME_TASKResumes an interrupted task.
RESET_TASKResets a task to its original state.
UPDATE_TASK_ATTRIBUTESChanges various attributes of a task.
MARK_RECOMMENDATIONAccepts, rejects, or ignores a recommendation.
GET_TASK_SCRIPTCreates a SQL*Plus-compatible SQL script of all the recommendations that are accepted from a specified task.
CREATE_FILECreates an external file from a PL/SQL CLOB variable, used for creating scripts and reports.
QUICK_TIMEAnalyzes and generates recommendations for a single SQL statement.


Rating:



Other articles

Click here to Article home

MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD Cisco Certification: CCNA, CCENT, A+, Network+, Security+

Oracle Certification: OCP 9i, OCP 10g, OCA 9i, OCA 10g, 1Z0-040: Upgrade to OCA 10g Fundamentals I, Oracle Fundamentals II, Admin I, Oracle Admin II, PL/SQL CIW foundation    EC-212-32    CISSP    Photoshop ACE    Adobe Flash ACE
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.
 
HACKER SAFE certified sites prevent over 99.9% of hacker crime.