Download Installing Oracle Software and Creating a Database

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Relational algebra wikipedia , lookup

Entity–attribute–value model wikipedia , lookup

Microsoft Access wikipedia , lookup

Extensible Storage Engine wikipedia , lookup

Serializability wikipedia , lookup

Tandem Computers wikipedia , lookup

Ingres (database) wikipedia , lookup

Concurrency control wikipedia , lookup

Database wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

Oracle Database wikipedia , lookup

Database model wikipedia , lookup

Clusterpoint wikipedia , lookup

Relational model wikipedia , lookup

Open Database Connectivity wikipedia , lookup

Microsoft SQL Server wikipedia , lookup

SQL wikipedia , lookup

PL/SQL wikipedia , lookup

Transcript
Administration and
Monitoring the Database
Oracle 10g
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
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
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
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
=Monitor
7
8
9
10
11
12
13
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
=Monitor
16
17
18
19
20
21
22
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

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
=Monitor
26
27
28
The End
29