tailieunhanh - OCA /OCP Oracle Database 11g A ll-in-One Exam Guide- P96

OCA /OCP Oracle Database 11g A ll-in-One Exam Guide- P96:There is an ever increasing demand for staff with IT industry certification. The benefits to employers are significant—they can be certain that staff have a certain level of competence—and the benefits to the individuals, in terms of demand for their services, are equally great. Many employers are now requiring technical staff to have certifications, and many IT purchasers will not buy from firms that do not have certified staff. | OCA OCP Oracle Database 11g All-in-One Exam Guide 906 Figure 25-7 Advisor Central task results Clicking the SQL Tuning Advisor task name or selecting the radio button next to the task and clicking view result you see the results of the analysis in Figure 25-8. Note that the results include recommendations for user SQL . RJB and for system accounts . SYSMAN and DBSNMP . Each SQL statement has one or more types of recommendation including statistics gathering creating a SQL Profile creating an index or revising the SQL statement itself. You can implement the SQL Profile recommendation by clicking implement all profiles. Chapter 25 Performance Tuning 907 Figure 25-8 SQL Tuning Advisor recommendations summary PART III Selecting the radio button for the fourth SQL statement in Figure 25-8 you can see a detailed explanation of all recommendations for this SQL statement in Figure 25-9. In Figure 25-9 you are advised to implement one of the recommendations such as saving a SQL Profile for future executions or creating an index on one of the tables in the SQL query. OCA OCP Oracle Database 11g All-in-One Exam Guide 908 Figure 25-9 SQL Tuning Advisor detailed recommendations The SQL Tuning Advisor API the DBMS_SQLTUNE Package If you need to have more control over your tuning tasks or want to run a specific set of tuning tasks repeatedly you can use the DBMS_SQLTUNE PL SQL package to create run and monitor a SQL Tuning Advisor job. For a basic analysis of a SQL statement you will use the following procedures within DBMS_SQLTUNE CREATE_TUNING_TASK Create a tuning task for a SQL statement or a SQL Tuning Set. EXECUTE_TUNING_TASK Execute a tuning task created with CREATE_ TUNING_TASK. REPORT_TUNING_TASK Show the results and recommendations from the SQL Tuning Advisor. In addition you can use the following data dictionary views to query the name and status of tuning jobs DBA_ADVISOR_LOG Task names status and execution statistics for all .

TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.