Question Bank Unit 5

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Database Administration Question Bank Unit 5

Short Question

1. What is reactive monitoring?


2. What is proactive monitoring?
3. Differentiate between reactive and proactive monitoring.
4. What does proactive monitoring allow?
5. List four proactive database maintenance tools provided in Oracle 12c.
6. Where the alert log and trace information are kept in the Oracle database?
7. Which tool is used for reactive database maintenance?
8. What is optimizer statistics? For what purpose it is used?
9. List any two task for which query optimizer uses optimizer statistics?
10. What is cost based optimizer?
11. List the system statistic collected for cost based optimizer.
12. List the table and index statistic collected for cost based optimizer.
13. List the column statistic collected for cost based optimizer.
14. When does Oracle database consider statistics as stale statistics?
15. In which scenario statistics need to be collected manually?
16. What is the purpose of following DBMS_STATS statistic gathering procedures?
a. GATHER_TABLE_STATS
b. GATHER_INDES_STATS
c. GATHER_SCHEMA_STATS
d. GATHER_DATABASE_STATS
e. GATHER_DICTIONARY_STATS
f. GATHER_FIXED_OBJECTS_STATS
g. GATHER_SYSTEM_STATS
17. List the constants used with the GATHER_*_STATS procedure stating their purpose.
18. What is auto_cascade constant of GATHER_*_STATS procedure indicates?
19. What is auto_degree constant of GATHER_*_STATS procedure indicates?
20. What is the purpose of auto_Invalidate constant of GATHER_*_STATS procedure indicates?
21. What does auto_sample_size constant of GATHER_*_STATS procedure indicate?
22. Which statement display the status of auto task job?
23. Is the statistics are available to all user as soon as it is collected? 1
24. For what purpose DBA choose not to make statistics available as soon as they are selected?
25. How does the DBA make statistics on EMPLOYEE table not available for user “HR”?
26. How does the DBA make statistics on EMPLOYEE table available for user “HR”?
27. How many tasks are available in oracle to keep the database healthy?
28. What is use of maximum availability architecture advisor?
29. Which database performance information provided by source of tuning?
30. Which information display by alter log?
31. What is automatic shared memory management?
32. What does specified by PGA_AGGREGATE_TARGET?
33. Which two parameters configure automatic PGA memory management?
34. Which two parameters is used to enable automatic memory management?
35. Which SGA component cannot be dynamically changed after instance startup?

Long Question

1. Write code to enable automatic statistics gathering for ‘sql tuning advisor’.
2. Write code to disable automatic statistics gathering for ‘sql tuning advisor’.
3. Write a code to view table and locks statistics.
4. Which procedure is used to set table parameter publish to false?
5. How do we verify the pending statistics?
6. Write down all steps to create multicolumn statistics.
7. Explain any two tasks that keep the database healthy.
8. What is use of automatic workload repository?
9. What is active session history?
10. Which information are contained in AWR baselines?
11. Mention use of SQL repair advisor.
12. What is use of SQL performance analyser?
13. Write a statement to view and configuring alter thresholds.
14. Which areas are more useful to enhance the performance of the database?
15. Write a brief note on automatic memory management.
16. What are the problems identified by ADDM?
17. Write a code to create baseline template.

You might also like