Home » RDBMS Server » Server Administration » Crawling Database (merged 2) (Windows 2003 R2, Oracle 9i)
Crawling Database (merged 2) [message #522238] Wed, 07 September 2011 10:02 Go to next message
kjit
Messages: 8
Registered: May 2010
Location: India
Junior Member
Hi ,

I am working in a Web-based Environment on Windows 2003 R2 and Oracle 9.1. For the past some time, I have been experiencing a crawling Oracle database. The reports which used to take a few seconds are now taking minutes. The users are not able to connect to the database and complain of very slow database. Since, I am new Database Administration, Can any of the expert help me in tuning the database for maximum throughput. For assistance, I am providing with the Health Check of my Database extracted through TOAD.

********************************************************************
*** BEQ-LOCAL                             07/09/2011 6:31:50 PM  ***
********************************************************************
 
~Time to Connect             : 0 seconds.
 
~Database Version            : Oracle9i Enterprise Edition Release 9.0.1.1.1 
~Database Up Since           : 01:01:09 PM, September 7 2011
!Buffer Cache Hit Ratio      : 77.8311   <------- (in red colour)
~Library Cache Miss Ratio    : 0.2612
~Dictionary Cache Miss Ratio : 2.7429
 
[Shared Pool Usage] Exec Time 0 seconds
~ Total Mb Unused : 23.97
~ Total Mb Used   : 24.03
~ Total Mb        : 48
~ Shared Pool Percent Used : 50.06
 
[Archive Log Mode Info] Exec Time 0 seconds
! Archiver : STOPPED   <------- (in red colour)
! Log Mode : NOARCHIVELOG <------- (in red colour)
! log_archive_start (init.ora param) = FALSE <------- (in red colour)
 
[Archive Log Info] Exec Time 0 seconds
~ Average Log Switches Per Day                          : 12.58
~ Hard Drive Storage (in Mb) for this many archive logs : 1257.92
 
!  Error using UTL_FILE to examine alert log! <------- (in red colour)
!  Error using UTL_FILE  <------- (in red colour)
!  Possible causes:  <------- (in red colour)
!  1)  You don't have privileges to execute the UTL_FILE package.  <------- (in red colour)
!  2)  UTL_FILE_DIR initialization parameter does not include one of these lines:   <------- (in red colour)
!      utl_file_dir=D:\oracle\admin\orcl90\bdump   <------- (in red colour)
!      utl_file_dir=*    <------- (in red colour)
!  3)  alert.log file name is not among the following:    <------- (in red colour)
!      (if this is the case please inform Quest support)   <------- (in red colour)
!      alert_orcl90.log  <------- (in red colour)
!      orcl90alrt.log   <------- (in red colour)
!  4)  No directory has been created for D:\oracle\admin\orcl90\bdump,   <------- (in red colour)
!      or directory exists but privileges have not been granted for it.    <------- (in red colour)
 
[Redo Log Group Sizes and Quantities] Exec Time 0 seconds
~ Number of Log Groups : 3
! Number of Members per Log Group: 1    <------- (in red colour)
~ All redo log members are 100M in size. 
 
[Rollback Segments with wait ratios > 1 %] Exec Time 1 seconds
~ None
 
[Objects with Mixed-Case Names] Exec Time 1 seconds
! Synonym            PUBLIC.NameFromLastDDL   <------- (in red colour)
 
[Tables with > 5 % chained rows and > 500 total rows] Exec Time 0 seconds
~ None
 
[Table Partitions with > 5 % chained rows and > 500 total rows] Exec Time 0 seconds
~ None
 
[Segments with < 10% of extents remaining and (maxextents > 1)] Exec Time 11 seconds
~ None
 
[Segments with > 100 extents] Exec Time 4 seconds
~ None
 
[Objects which can't extend because there is not
enough room in the tablespace] Exec Time 3 seconds
~ None
 
[Jobs] Exec Time 0 seconds
~ None
 
[redundant object privs with conflicting grant option] Exec Time 2 seconds
~ None
 
[Profiles that are not granted to any user] Exec Time 0 seconds
~ None
 
[Tablespace Fragmentation] Exec Time 0 seconds
~ None
 
[Tablespaces with less than 10% free space] Exec Time 1 seconds
! EXAMPLE                   : 0.1% Free Space,  MB Free / Total : 0 / 153    <------- (in red colour)


Thanks



CM: fixed code tags

[Updated on: Wed, 07 September 2011 10:08] by Moderator

Report message to a moderator

Re: Crawling Database (merged 2) [message #522242 is a reply to message #522238] Wed, 07 September 2011 10:07 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
It would be helpful if you followed Posting Guidelines - http://www.orafaq.com/forum/t/88153/0/

is V9.1 DB using RBO or CBO?
Re: Crawling Database (merged 2) [message #522247 is a reply to message #522238] Wed, 07 September 2011 10:38 Go to previous messageGo to next message
Michel Cadot
Messages: 68648
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Quote:
I am providing with the Health Check of my Database extracted through TOAD.


Quote:
Those who live by the GUI, die by the GUI.


Throw that away and start to learn Oracle administration:
Database Concepts
Administrator's Guide

Regards
Michel
Re: Crawling Database (merged 2) [message #522250 is a reply to message #522247] Wed, 07 September 2011 11:49 Go to previous messageGo to next message
Flyby
Messages: 188
Registered: March 2011
Location: Belgium
Senior Member
The good thing Toad mentioned is:
Archiver : STOPPED <------- (in red colour)
! Log Mode : NOARCHIVELOG <------- (in red colour) -> Do you stop the database for a backup?
! Number of Members per Log Group: 1 ->Usually 2 on different controllers
That won't help the slowdown problem. Have a look at the following post
Starting performance tuning
If you have the query of the report, you can look at its query plan (toad is handy for this).
Any plans for a database upgrade in the near future? (End of Error Correction Support: 31-Dec-2003
9.0.1 to 9.2.0.8 (takeoff for upgrade)
Re: Crawling Database (merged 2) [message #522254 is a reply to message #522238] Wed, 07 September 2011 12:21 Go to previous messageGo to next message
John Watson
Messages: 8931
Registered: January 2010
Location: Global Village
Senior Member
Hi - you say you are new to DB Admin, do you know how to check whether statspack is installed with snapshots running? The DBA who created your database will have done this, if he was any good. The statpack reports from when the database was running well compared with the reports now will provide the information you need (including the answer to BlackSwan's rather important question.)
Re: Crawling Database (merged 2) [message #522255 is a reply to message #522250] Wed, 07 September 2011 12:26 Go to previous message
Michel Cadot
Messages: 68648
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
It is good things if you know they mean otherwise it useless.
And if you know what they mean you do not need TOAD and you do not make these obvious errors.

Other things are silly.

In short, just s...

Quote:
Any plans for a database upgrade in the near future? (End of Error Correction Support: 31-Dec-2003
9.0.1 to 9.2.0.8 (takeoff for upgrade)

9.2 is no more supported (July, 2007), upgrade to 11.2.

Regards
Michel
Previous Topic: PSU patch
Next Topic: Added lots of space to a tablespace
Goto Forum:
  


Current Time: Thu May 02 08:50:36 CDT 2024