Oracle 10g Database Health Check!

Can anyone guide me the best way to perform a complete database health check?
Thanks

Metalink note:
How to Perform a Healthcheck on the Database - 122669.1

Similar Messages

  • Database Health Check Enquiry

    Hi all,
    Some enquires regarding database health check. I did some research regarding health check, got overwhelmed by the information available out there.
    Currently I don't have any report on hand, but currently working and starting on one. This report serves as a report for reference, to understand if there's any database performance issue, and as a report for management.
    Wish to check with you folks, what are the typical things that I can look at on a daily basis to understand my database health status, eg. Buffer Hitrate, database I/O etc, especially those that may/will contribute to impact on the database performance. Or is there any good reference link whereby I can do some readup regarding such a health check?
    Thanks in advance for any input.
    Eugene

    Hi Eugene,
    Well that's a pretty open question and I guess you will get a lot of replies which I look forward to monitoring as there should be some very interesting ones there.
    Anyway, let me just open with one point that I have found very useful in the past. As regards Database Performance , you can look as much as you like at the statistics and a great deal of discretion is required in interpreting them but the real test for me of how well a database is performing is in terms of the user (or application) perception. Are the responses from the database good enough to meet the users expectations. Check the average response time for example and set guidellines for what is acceptable, very good response , very bad response etc.
    I use this as a guideline so then once the database is perfoming in the sense that the user is satisfied (or better still happy with the performance) we can gather the statistics (from Oracle 10g onwards there are lots of tools built in like ADDM and AWR for gathering and storing the database statistics) and create baselines. Once we have baselines for a normally performing system, as soon as problems are reported we can run off a diagnostic tool like ADDM for that period , compare it against the baseline and look for the striking differences. From there we can start an analysis of individual numbers, buffer hit ratios etc. to delve further.
    Hope this helps , I am sure lots of other people will chip in to this
    Regards

  • Graphical Reports for Database Health Check or Database Statictics

    Hello
    we are using oracle 10g on Solaris.
    Is there a way I can get the Database health check or database statictics report in graphical form like to represent the growth of database (in a week or month), log size etc..
    Thanks

    You'll have to develop your own method/application/script as per your requirement. To some extent Enterprise manager may help you but I think this is not your requirement.

  • Problem in installation of Oracle 10g database on RHEL 6

    I am facing the problem when I am trying to install Oracle 10g database on Red Hat 6. When ./runinstaller is run, the message seems to be if I remember correctly is like ‘……………bad ELF interpreter’. But, the same source seems to be installing correctly in Red Hat 5.
    Please, help in solving the doubt.
    Regards

    Hi;
    1. Please make search before posting your issue here. Similar issue mention here million time
    2. Please use certified platform such as *nix 5.x .
    3. For can check certification from metalink or from below note:
    Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2) [ID 169706.1]
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • Exporting of files in oracle 10g database

    hey friends,
    I installed Oracle 10g Database server on Windows XP,when i tried to take the backup through "Export to Files".I got this error.
    I have added Administrator in "Login as Batch JOb" and has given administrator along with the password in host credentials.
    I explain the procedure.I Login as Sys as SysOper as Oracle does not allow to take backup as sysdba.
    I created the job and also given the right path for the backup but some how it fails then i check the log and i find the following output.
    Output Log
    Export: Release 10.1.0.2.0 - Production on Fri Mar 4 16:39:23 2005
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Username:
    EXP-00004: invalid username or password
    Username: Password:
    EXP-00004: invalid username or password
    Username:
    EXP-00030: Unexpected End-Of-File encountered while reading input
    EXP-00000: Export terminated unsuccessfully
    The output log says i am giving invalid username and password but i don't know where i am giving the invalid username and password.
    Please guide me as I am new to Oracle and want to learn Oracle Administration.
    Thanks & Regards
    Ankush

    Give me output of following on standby server
    SQL>select name from v$datafile;
    SQL>show parameter log_archive_dest

  • How the media files are stored in Oracle 10g database

    I guess they have introduced new datatypes to handle multimedia objects( audio file, video file, images, etc etc). Can anyone tell which is the data type which is used to handle the media files in Oracle 10g database.
    thanks,
    shekar.

    Check this out.
    http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10840/mm_uses.htm#sthref433

  • Export and import Oracle 10G database

    Hello all
    Can anyone tell me once for all how can i backup oracle 10G database and restore it in other computer (export and import)
    thanks alot
    Ron

    Do you can access to metalink?
    If not, I copy an paste this doc's....
    Doc ID: Note:10767.1
    Subject: How to perform FULL System Export/Imports
    Type: BULLETIN
    Status: PUBLISHED
    Content Type: TEXT/X-HTML
    Creation Date: 18-APR-1994
    Last Revision Date: 30-AUG-2002
    Purpose
    This article highlights some important points to consider when performing
    a Full System Export and Import.
    Scope and Application
    It is intended to assist users performing FULL System Exports and Imports.
    A Full System Export and Import is a useful way to replicate or clean up
    a database. Please note the following guidelines when performing a Full
    System Export and Import:
    1. When performing the import, ensure you are pointing at the correct
    instance. Always check values for the SID and two task driver before
    proceeding.
    *Note:   On Unix systems, just entering a sub-shell, such as using
    C-shell, can change the database that the import would work
    against.
    2. When possible, it is advisable to take a physical copy of the
    exported database and the database you intend to import into before
    starting the import. This ensures any mistakes are reversible.
    3. NEVER run a FULL SYSTEM IMPORT on a machine that has more than one
    database UNLESS you are 100% sure all tablespaces have been
    pre-created. A full import will create any undefined tablespaces
    using the same datafile names as the exported database. There are
    situations where this is very dangerous:
    -> If the datafiles belong to ANY other database, they will be
    CORRUPTED. This is especially true if the exported database is
    on the same machine, because its datafiles will be re-used by
    the database you are importing into.
    -> If the datafiles have names that clash with existing operating
    system files.
    4. When exporting, it is advisable to also produce a report showing
    information you may need before / after the import:
    -> List the tablespaces and datafiles
    -> List the rollback segments
    -> List a count, by user, of each object type such as tables,
    indexes, etc.
    This enables you to ensure that tablespaces have been pre-created
    and to check the success of the import after it is complete.
    5. If you are creating a completely new database from an export, remember
    to create an extra rollback segment in SYSTEM, and make this available
    in the init.ora file before proceeding with the import.
    6. There are some versions of export that do not retain sequence numbers
    correctly. It is advisable to select next_value for each sequence
    after the export so that these can be checked after import.
    Following these guidelines will help you to avoid major problems.
    Doc ID: Note:174226.1
    Subject: How To Copy an Oracle Database To Another Machine
    Type: HOWTO
    Status: PUBLISHED
    Content Type: TEXT/X-HTML
    Creation Date: 12-OCT-2001
    Last Revision Date: 01-OCT-2003
    goal: How to copy an Oracle database to another machine
    fact: Oracle Server - Enterprise Edition
    fix:
    Pre-requisites: The copy is between 2 machines, both have to be on the same OS
    and have to have exactly the same database version installed.
    1. Make sure the database you want to copy was closed with a SHUTDOWN IMMEDIATE,
    SHUTDOWN NORMAL or SHUTDOWN TRANSACTIONAL.
    2. Copy init.ora and control files to create instance and be able to go in
    mount mode. Check the init.ora for the locations where the controlfiles have
    to be, if those locations are not valid on the machine put the control files on
    different places and adjust the init.ora accordingly.
    3.a. Copy the datafiles (all of them).
    b. Copy the redo-logfiles (all of them).
    4.a. (Unix only) Set the environment variables:
    ORACLE_SID - set to the database name you wish to create
    ORACLE_HOME - set to full pathname of the Oracle system home directory
    PATH - needs to include $ORACLE_HOME/bin
    b. (NT/2000 only) Do 'set ORACLE_SID=<SID>'
    Use oradim to create the service for the instance. For more information
    on oradim please refer to (the part that refers to creating a new instance):
    Note:68720.1 Creating a new 7.3, 8.0, 8.1 Instance/Database
    5. Use servermanager (check the name to use for your version of oracle) or
    sqlplus (version 9i and above) to startup the database in mount mode.
    Do
    CONNECT INTERNAL/<PASSWORD>
    then
    STARTUP MOUNT
    Then do a rename of the copied datafiles if they are not in the same path as on
    the other machine. For all the files that are in the result of the query:
    SELECT NAME FROM V$DATAFILE;
    do
    ALTER DATABASE RENAME FILE '<oldfullpath>\<filename>' to <
    newfullpath>\<filename>';
    6. Query the datadictionary for the old location of the redolog files using:
    SELECT MEMBER FROM V$LOGFILE;
    If the new place is not the same as the old do:
    ALTER DATABASE RENAME FILE '<oldfullpath>\<redologfilename>' to &
    lt;newfullpath>\<redologfilename>';
    7. Now open the database:
    ALTER DATBASE OPEN;
    ******************************************************************

  • Auditing in oracle 10g database and oracle 10g application server

    Dear friends,
    We have oracle 10g application server and oracle 10g database server in place.My criteria is to audit users connected using oracle application user credentials to the database.
    Can you please tell me how can i do it.
    Thanks & regards,

    Its the database connection you want to track. The session audit will show where it came from.
    Auditing is turned using this command:
    alter system set audit_trail = DB scope=spfile;
    Note: The use of spfile will require a DB bounce before audit starts
    To audit Sessions:
    audit create session;
    Query by Audit Type:
    SELECT A.USERNAME,
    OS_USERNAME,
    A.TIMESTAMP,
    A.RETURNCODE,
    TERMINAL,
    USERHOST
    FROM DBA_AUDIT_SESSION A
    WHERE USERHOST = <replace with iAS servername> ;
    By User
    SELECT USERNAME,OBJ_NAME,ACTION_NAME , TIMESTAMP
    FROM DBA_AUDIT_TRAIL WHERE USERNAME = 'SCOTT';
    Check for users sharing database accounts
    select count(distinct(terminal)),username
    from dba_audit_session
    having count(distinct(terminal))>1
    group by username;
    Attempts to access the database at unusual hours
    SELECT username, terminal, action_name, returncode,
    TO_CHAR (TIMESTAMP, 'DD-MON-YYYY HH24:MI:SS'),
    TO_CHAR (logoff_time, 'DD-MON-YYYY HH24:MI:SS')
    FROM dba_audit_session
    WHERE TO_DATE (TO_CHAR (TIMESTAMP, 'HH24:MI:SS'), 'HH24:MI:SS') <
    TO_DATE ('08:00:00', 'HH24:MI:SS')
    OR TO_DATE (TO_CHAR (TIMESTAMP, 'HH24:MI:SS'), 'HH24:MI:SS') >
    TO_DATE ('19:30:00', 'HH24:MI:SS');
    Attempts to access the database with non-existent users
    SELECT username, terminal, TO_CHAR (TIMESTAMP, 'DD-MON-YYYY HH24:MI:SS')
    FROM dba_audit_session
    WHERE returncode <> 0
    AND NOT EXISTS (SELECT 'x'
    FROM dba_users
    WHERE dba_users.username = dba_audit_session.username);
    Other audits you might consider:
    audit grant any object privilege;
    audit alter user;
    audit create user;
    audit drop user;
    audit drop tablespace;
    audit grant any role;
    audit grant any privilege;
    audit alter system;
    audit alter session;
    audit delete on AUD$ by access;
    audit insert on AUD$ by access;
    audit update on AUD$ by access;
    audit delete table;
    audit create tablespace;
    audit alter database;
    audit create role;
    audit create table;
    audit alter any procedure;
    audit create view;
    audit drop any procedure;
    audit drop profile;
    audit alter profile;
    audit alter any table;
    audit create public database link;
    Best Regards
    mseberg

  • Oracle 10g database installation in red hat 5

    what are the packages needed for oracle 10g database installation in red hat 5?
    what do you mean by yum way of installation?

    Check on the release notes for your platform
    This is for x86-64 Linux.. read it all, then you'll find the "6 Documentation Corrections and Additions" section you'll find the RPMs that you need
    http://download.oracle.com/docs/cd/B19306_01/relnotes.102/b15666/toc.htm
    then go to the official doc installation of 10gR2 on x86-64 Linux
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15667/toc.htm
    Yum is a package management tool. This is what you'll be using to install the RPMs. But first you'll have to setup the Yum repository, usually what I do is stage the DVD media on the server then make it as a repository. If ever there's a specific (higher) version that I need then I just pull it on the RedHat Network.
    There are a lot of HOWTOs about Yum. You may read on this link http://docs.fedoraproject.org/yum/en/
    - Karl Arao
    http://karlarao.wordpress.com/

  • What is the function of _xdb and _xpt services in oracle 10g database.

    what is the function of xdb and xpt services in oracle 10g database.?

    Hi,
    If you are troubleshooting check the below link too:
    Issues installing.  Listener not working
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com/

  • ERROR: Install cannot verify the oracle 10g Database

    I just completed installation of the SES 10.1.8.2 version and am now trying to apply the 10.1.8.4 Service Pack. After the OUI screen asks for my sys password, I click on Next and receive a popup error message that reads,
    Install cannot verify the oracle 10g Database. Please ensure that the database and its listener are running and please verify that the information you entered is correct.
    The installer log file (installActions2010-04-15_08-56-19PM.log) shows this:
    *** Specify the SYS Password Page***
    Calling Query EmQueries4.2.2 checkUserExists
    schemaName = SYS
    schemaPassword = Protected value, not to be logged
    connectString = (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=HostNodeName_1)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=Ses01.HostNodeName_1)))
    userName = EQSYS
    Query Returned: ERROR:Exception occured while connecting to database. Please check the connection details of the database you specified and retry.
    Io exception: Got minus one from a read call
    Error:*** Alert: Install cannot verify the Oracle10g Database. Please ensure that the database and its listener are running and please verify that the information you entered is correct. ***
    User Selected: Yes/OK
    ===
    I've verified that I can login as EQSYS using sqlplus. Also tested that I can login as sys, too. I've also tested the login using the Admin console and that is fine, too.
    Any ideas on what is causing this or how to fix it is most welcome as I've not encountered this error before when installing SES or a service pack. I've even tried the OUI for Service pack 10.1.8.3 but also get the same error.
    I've checked the listener.ora and tnsnames and they are OK. I've checked and the listener is running and so is the DB.
    Right now, I have the Oracle SES instance up and running at 10.1.8.2 but need to upgrade this to the same level as the other SES search nodes.
    Edited by: user8655787 on Apr 15, 2010 2:18 PM
    My listener.log file is showing this message each time, I run the OUI and enter the sys password and click "Next"
    15-APR-2010 23:17:05 * 12502
    TNS-12502: TNS:listener received no CONNECT_DATA from client

    A couple of other things that I have tried but have had no affect. I'm still getting the same error:
    1. Tried recreating the orapwd file
    orapwd file=orapwprdses01 password=prdses01
    And make sure that the pfile or spfile has:
    remote_login_passwordfile='EXCLUSIVE'
    another OTN posting said to try this:
    1. Go to directory $ORACLE_HOME/network/admin
    2. Modify sqlnet.ora file with following parameter:
    tcp.validnode_checking = no
    3. If you don't want to disable this, you can put the machine names as follows:
    tcp.invited_nodes=(machine1, machine2)
    3. Bounce the listener.
    .... but, I'm still getting the same error when trying to run the .runInstaller OUI for the service pack for 10.1.8.4.

  • I had migrated Oracle 10g database from Windows to Oracle 11g Linux

    I had migrated Oracle 10g database from Windows to Oracle 11g Linux.  The database is performing very slow.
    Please guide me where I have to begin (starting point) looking into it.
    Some document stated gather system statistics.  How to check system statistics is up to date
    What are the crucial initialization parameter ?

    Hi,
    Let me just point you out to the documentation, which may concern you:
    I had migrated Oracle 10g database from Windows to Oracle 11g Linux.  The database is performing very slow.
    Managing Optimizer Statistics
    How to check system statistics is up to date
    Managing Optimizer Statistics
    What are the crucial initialization parameter ?
    Configuring a Database for Performance
    Thanks &
    Best Regards,

  • Oracle 11g RAC health check

    Hi All,
    oracle 11g R2
    RHEL5
    can anyone please suggest how to do oracle 11g RAC database health check?suggest any link or metalink notes if any?
    thanks,
    Mike.

    Hi,
    You can use RACcheck tool for monitoring can download from here :RACcheck - RAC Configuration Audit Tool (Doc ID 1268927.1)
    HTH

  • Database health check

    Hello Gurus,
    I have got an opportunity to do database health check in a concern.
    Is there any tool or script to do health check commonly in an organization?
    Is there any procedure to follow?
    Kindly help in this issue.
    Best,
    Balu.

    Database health check or Sanity check covers following topics (learnt from Niall Litchfield) :
    1 Space Management
    2 Backup Management
    3 Security
    4 Transaction Management
    5 Statistics Management
    6 Errors
    7 Performance Management
    8 CONCLUSIONS
    Please check below documentation link also :
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/diag007.htm
    Database health check is nothing other than organizing all your monitoring scripts to display at the same time such as (buffer cache hit, library, dictionary, parse, soft parse, hard parse, iostats etc etc.) If you have OEM with performance pack, there is a module there that is captioned database health check. You can use it to get a bird's eye view of your instance.
    Source:http://www.lazydba.com/oracle/0__99797.html
    Hth
    Girish Sharma

  • Connection to Oracle 10g database failing

    Not sure if I should post this here or on another newsgroup, but I am having a problem trying to connect, using WebLogic Server 9.2, to an Oracle 10g database (10.2.0.2), that has been upgraded from Oracle 9i.
    I can connect to the same database using WebLogic 7.0.2, and I can also connect using WebLogic Server 9.2 to an Oracle 9i database.
    I keep getting the 'Authentication denied: Boot identity is not valid' error, but I know that the username/password I am using in the boot.properties file is valid, because I have connected to the same database using WebLogic Server 7.0.2.
    I suspect that the error could be with the drivers I am using, but I have checked and I have the latest oracle jar file in the WL_HOME/server/lib directory.
    I did previously have a version of WebLogic 7.0.2 on the machine but this was deleted.
    On the database in question the listener logs show that a connection was established, but that's it.
    Any help would be greatly appreciated.

    Simon Kearn wrote:
    Not sure if I should post this here or on another newsgroup, but I am having a problem trying to connect, using WebLogic Server 9.2, to an Oracle 10g database (10.2.0.2), that has been upgraded from Oracle 9i.
    I can connect to the same database using WebLogic 7.0.2, and I can also connect using WebLogic Server 9.2 to an Oracle 9i database.
    I keep getting the 'Authentication denied: Boot identity is not valid' error, but I know that the username/password I am using in the boot.properties file is valid, because I have connected to the same database using WebLogic Server 7.0.2.
    I suspect that the error could be with the drivers I am using, but I have checked and I have the latest oracle jar file in the WL_HOME/server/lib directory.
    I did previously have a version of WebLogic 7.0.2 on the machine but this was deleted.
    On the database in question the listener logs show that a connection was established, but that's it.
    Any help would be greatly appreciated.Can you show me the pool definition, and the whole stack trace of the
    exception?
    Joe

Maybe you are looking for

  • Unable to connect to istore via laptop, can anyone help?

    Been to apple support prior and done everything they have asked. Not been able to connect to istore since april. Istore tries to connect then connection just falls away, no error messages etc.

  • JCO Client Pool

    Hi All,         I have a situation where I'm supposed to initialize JCO Client pool at server startup(Weblogic 8.1). Could someone please let me know how to achieve this.        Any pointers to documentation or sample startup servlet code would also

  • Unable to locate specified base class 'resources.style1.HelpButtonIcon' for component class

    Hi, I have a Flex (4.1.0) project, which has many skinnable custom components. The application allows a user to choose another style which changes these skins via loading a new compiled CSS. These non-default skins are in a separate Flex project.  I'

  • Comparing schema using OEM 10g

    Hi, IS there any way to compare schema from 2 different schema for Prod and test environments using OEM 10g. I have a comparison script which will work for mr but the report generated is not easily readeble. Please point out the steps if there is any

  • BADI  HRBAS00INFTY in transaction PV15

    Hello, I am implementing the badi HRBAS00INFTY method BEFORE_UPDATE to control the creation of the relation A032 between person (object p) and qualifiquation (object Q) from transaction PV15. The issue I have is how to change the content of tables pa