Presentation is loading. Please wait.

Presentation is loading. Please wait.

Administration and Monitoring the Database Oracle 10g.

Similar presentations


Presentation on theme: "Administration and Monitoring the Database Oracle 10g."— Presentation transcript:

1 Administration and Monitoring the Database Oracle 10g

2 Monitoring the Database When problems occur with a system, it is important to perform accurate and timely diagnosis of the problems before making any changes to the system. Often a database administrator simply looks at the symptoms and immediately starts changing the system to fix those symptoms. 2

3 Monitoring Performance Issues Oracle Database XE enables you to monitor the following performance statistics. 1)- Session information: A session is the connection of a user to an Oracle database instance. A session lasts from the time the user connects until the time the user disconnects or exits the database application. 2) System Statistics page displays statistics for: Physical I/O Logical I/O Memory Time SQL cursor Transaction 3

4 2)- Top SQL: The "top" SQL statements represent the SQL statements that are executed most often, that use more system resources than other SQL statements, or that use system resources more frequently than other SQL statements. 3)- Long operations: The Long Operations page displays the status of various operations that run for longer than six seconds (in absolute time). These operations currently include many backup and recovery functions, statistics gathering, and query execution. More operations are added for every Oracle release. 4

5 Viewing Top SQL Management has been complaining about slow-running reports. Sheila wants to see which SQL statements are using the most resources and then view their execution plans. She uses the Top SQL page under Monitor to do this. 5

6 6

7 7 =Monitor

8 8

9 9

10 10

11 11

12 12

13 13

14 Monitoring Sessions Sheila is unable to make changes to the data in the EMPLOYEES table because of a lock placed by another session. She waits a reasonable amount of time for the lock to be released. However, when the data continues to be locked, she decides to terminate the blocking session so that she can proceed. 14

15 15

16 16 =Monitor

17 17

18 18

19 19

20 20

21 21

22 22

23 Viewing System Statistics System statistics describe the system's hardware characteristics (such as I/O and CPU performance and utilization) to the query optimizer. When choosing an execution plan, the optimizer estimates the I/O and CPU resources required for each query. System statistics enable the query optimizer to more accurately estimate I/O and CPU costs, enabling the query optimizer to choose a better execution plan. 23

24 Sheila wants to periodically save the system statistics for analysis.When she does this, she deletes older statistics and saves the current statistics. 24

25 25

26 26 =Monitor

27 27

28 28

29 The End 29


Download ppt "Administration and Monitoring the Database Oracle 10g."

Similar presentations


Ads by Google