Things to monitor on a Database

What is Logical I/O, Physical I/O, Events waits, Call rates, Miss rates, Sessions and what is their importance.
Thanx.

You may want to also check out the tuning guide when you understand the basic concepts.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14211.pdf
Regards
Tim

Similar Messages

  • PI 7.1 - Message Monitoring - Adapter Engine (Database Overview)

    Hi Friends,
    In Message Monitoring --> Adapter Engine --> Database (Overview) is not working. It throws the following error message.
    no_connection Exception Message: RemoteException in Method: CentralViewManager: getIProfiles( IApplication, boolean ). Communication-related failure. Message: java.rmi.RemoteException: Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.wsdl2java.ClientProtocolException: An error occured while reading data from the destination sap.com/com.sap.aii.af.service.profile.proxy/com.sap.aii.af.service.statistic.proxy.ProfileProcessor/basicPort_Document. The error was: com.sap.security.core.server.destinations.api.DestinationException An error occurred while reading the destination sap.com/com.sap.aii.af.service.profile.proxy/com.sap.aii.af.service.statistic.proxy.ProfileProcessor/basicPort_Document, type WebService. The error was Internal error during the decryption process...
    But, Adapter Engine --> Database option is working. What could be the problem ?
    Kindly clarify, friends.
    Kind regards,
    Jegathees P.

    Hello friend,
    May be it is related with connection problem check with your basis people .
    Regards,
    Ravi.

  • Monitoring Physical standby database through OEM

    HI ,
    We are monitoring Physical standby database through OEM and we monitor from console using SYS user
    As per our company policy we change our sys password every month so after change it we need to change SYS password from console also
    so is any way we can change SYS password on console using command line utility? if yes then please give us the command
    Thanks

    we monitor from console using SYS userYou have to monitor it using a SYSDBA user not necessarily SYS. So you can create a user e.g. SYS_MONITOR which has different policy than SYS. Although it is best to change that password on regular bases too, maybe every 3 months.
    so is any way we can change SYS password on console using command line utility?I don't get your question. Are you asking if it is possible to change the monitoring username/password using some command line utility? If so, I haven't heard of such tool. But there could be a package like MGMT_TARGET which you can manipulate the credentials if you know how to use it.

  • Can Grid control 11g monitor Oracle 9i database

    Can Grid control 11g monitor Oracle 9i database? This is on Linux5.7
    Thanks for the help
    s.

    Yes but Enterprise Manager 11.1 Grid Control requires the 11.1 Agent.
    Then go to the Targets tab, then Databases. It should self-discover the 9i database.
    Also see Advanced Uses of Oracle Enterprise Manager 11g
    http://www.oracle.com/us/products/enterprise-manager/advanced-uses-em11g-wp-170683.pdf
    >
    Oracle Secure Backup protects not only Oracle Database 9i, 10g and 11g,
    Grid Control supplies a common, standard interface to set up and manage Oracle Data Guard for Oracle Database 9i, 10g and 11g databases

  • Solution manager and CCMS monitoring of remote database

    I have Solution Manager 7 SP Basis 6 installed. I have oracle remote databases connected successfully. Under DBCockpit I see the instances I want to monitor. I can see the backup, tablespaces, etc. These remote instances are SAP Portal JAVA only version 7 but under the dbcockpit alerts only shows alert monitor. The database check and check conditions are in white. Is there a way to see these and be able to report on them? The CCMS tree under the local solution manager also shows these connected remote instances but they are also white in color as if inactive. All CCMS agents and saposcol are running perfectly on the remote systems. The stats tables have been built, the synonyms for the solution manager are in place. What am I missing?

    Hi,
    Please download that attachment "scripts_1139623.sar" provided in SAP Note 1139623 - Using transaction RZ20 to monitor remote Oracle databases.
    Upon extraction of scripts_1139623.sar the following files you will get.
    rz20_nonabap.sql
    dbcheckora10_oltp.sql
    dbcheckora.sql
    Then Perform the below mentioned Steps to resolve your issue.
    Step 1: Create tables DBCHECKORA and DBMSGORA:
      sqlplus SAPSR3DB/<pwd>
      SQL> @rz20_nonabap.sql
    Step 2: Fill the table DBCHECKORA:
      sqlplus SAPSR3DB/<pwd>
      SQL> @dbcheckora10_oltp   
    Step 3: Create the synonyms (as user ora<sid>):
    brconnect -u / -c -f crsyn -o SAPSR3DB
    sqlplus "/as sysdba"
    CREATE PUBLIC SYNONYM SAP_DBSTATC FOR SAPSR3DB.DBSTATC;
    CREATE PUBLIC SYNONYM SAP_DBCHECKORA FOR SAPSR3DB.DBCHECKORA;
    CREATE PUBLIC SYNONYM SAP_DBMSGORA FOR SAPSR3DB.DBMSGORA;
    Step 4: Grant Privileges for OPS$<SID>ADM User for the above created Tables
    sqlplus "/as sysdba"
    grant all on SAPSR3DB.DBSTATC to OPS$<SID>ADM;
    grant all on SAPSR3DB.DBCHECKORA to OPS$<SID>ADM;
    grant all on SAPSR3DB.DBMSGORA to OPS$<SID>ADM;
    grant all on SAPSR3DB.DBSTAIHORA to OPS$<SID>ADM;
    grant all on SAPSR3DB.DBSTATHORA to OPS$<SID>ADM;
    grant all on SAPSR3DB.DBSTATIORA to OPS$<SID>ADM;
    grant all on SAPSR3DB.DBSTATTORA to OPS$<SID>ADM;
    commit;
    Step 5:
    Now after successful execution of above mentioned Steps , in DBACOCKPIT (system configuration), try to save the Remote DB entry with "Collect Alert Data".  It will be saved without any error.
    If you find any errors, post the error contents as a reply of this thread message.
    Regards,
    Bhavik G. Shroff

  • How to monitor Amazon RDS databases

    Hi All,
    We are trying to monitor Amazon RDS databases with Oracle Enterprise Manager Cloud Control. We have installed the Amazon Plug in, and now trying to follow the document http://download.oracle.com/otn/java/oem/emaws.pdf?AuthParam=1370564532_780559001200353ecd9e646d78bafa9a but we are stuck with configuring the SSL component.
    Does anyone know how/where to get the information to complete the following command, in particular StoreLocation?
    ./emcli set_monitoring_credential \
    -set_name="SSLTrustStoreCredentialSet" \
    -target_name="demodb" \
    -target_type="AmazonRDSService" \
    -cred_type="StoreCredential" \
    -attributes="StoreLocation:<truststore location>;
    StoreType:JKS;StorePassword:<password>"
    Any help would be appreciated.
    Thanks
    Les

    Well, remember you are trying to connect to it with a
    database user to monitor it. So, whether manage or
    monitor, you need to create a Data Guard entry for
    it. This I have done and it works for me.i did that too but get
    a) metric collection errors if connecting as sydba or
    b) instance down if connection as non-sysdba
    targets->database shows both databases, primary and standby as primary and standby.
    targets->database->primary->dataguard shows the standby under "standby databases".
    i didn't create these entries, that was done by GridControl during discovery.
    it seems that GridControl tries to collect all metrics even if the database is running as standby.
    which user do you use to connect to the standby, sysdba or non-sysdba?
    thanks & regards,
    -ap

  • Interesting things to monitor via syslog/snmp etc on 5508?

    Hi all,
    We don't use Cisco prime for network monitoring. I'm interesting and monitoring and alerting on any potential wireless performance or security issues.
    Has anyone got any suggestions for interesting things to monitor on a 5508 WLC? We have a range of AP's some of them CleanAir and some older.
    We can monitor or alert on specific syslog messages, snmp traps, or snmp gets.
    Has anyone got any favorite things the like to monitor?

    This is a tough one, specially if you do not have cisco wireless management system (like WCS or Prime)
    Here is WLC system message guide, you may need to go through it & find what to look at depend on your interest (there are so many)
    http://www.cisco.com/c/en/us/td/docs/wireless/controller/7-6/message/guide/sysmsg76.html
    HTH
    Rasika
    **** Pls rate all useful responses. Each time you rate a response Cisco will donate $1 to Kiva ****

  • Monitoring/debug the database connection process

    Hi,
    I am trying to define a new database connection using the JDBC-ODBC Bridge (trying to connect to a legacy apps), and keep getting an error message from the ODBC driver manager, which work perfectly fine outside the JDev environment.
    Is there a way for me to monitor/debug the database connection process, prior to a successful test connection, in order for me to find out exactly where/what the problem is?
    Thanks for the help,
    Arie.

    Repost

  • Monitoring an Oracle Database Appliance w/Ops Center?

    Is anyone using Ops Center to monitor an Oracle Database Appliance?:
    http://www.oracle.com/us/products/database/database-appliance/overview/index.html
    I'm looking for a monitoring solution that won't require a lot of 'expect' gathering/parsing work.

    A stack trace for the exception would be very useful!
    Anyway, perhaps you should check that the username/password specified in the code correspond to those required to access the database (username = "Kotzwinkle", password = "whatever"). Sometimes you can get away with specifying these in the ODBC data source, in which case you shouldn't pass them to the getConnection method.
    Hope this helps.

  • Sharepoint databases are not getting monitored including config database

     Hi,
    I've imported the MP for Sharepoint server 2010 and i have also imported IIS and SQL server 2008 MP before importing SP MP. I am able to successfully discover the farm and the web applications
    and the services are being monitored. Somehow the sharepoint Databases (both content and Config) are not monitored.
    We are also monitoring one more database server which is not related to the sharepoint and the databases in this external server are monitored. I am not sure what i am missing for the sharepoint
    databases alone.
    Can somebody please help to figure this out? Thanks!
    OS: Windows 2008 R2
    SQL server: 2008 R2
     Thanks,
    Jegu

    The guide also suggests importing IIS and SQL server management pack. And it's also talking about duplicate alerts for some specific components but not exactly with the databases. I suppose Config
    and content databases are part of SharePoint 2010 and that's why there are sections called ConfigDatabases and ContentDatabases within SharePoint Management Pack and also a in a diagram view. It's clearly shows it's in "not monitored" state and I believe something
    is missing somewhere. The Guide is not designed for troubleshooting any of these issues.
    Jegatheesh Rengasamy

  • How to monitor oracle 11g database sessions on Windows 2008 server?

    Hi Experts
    How to monitor the Oracle 11g database sessions on Windows 2008 server (other than SQL Developer tool), which procedure or query is taking more time with Java application.

    Recently i found this tool- myorasql on the net to monitor the performence of database, easy to setup and check the performence.  i never tested it but seems impresive.  It is free and i think it would be use ful to you.
    http://myorasql.com/
    You can also use Quest - Toad or sqlplus if you are very good at sql commands and all dictionary tables or OEM/EM grid if it is configured .

  • Publication is not listed in reolication monitor after manual database failover

    Hi All,
    I have three servers using which I have configured database mirroring and  transactional replication with pull  subscription.
    ServerA--Publisher/Distributor/principal
    ServerB--Subscriber
    ServerC--Mirror
    After failover now ServerB pulls the data from ServerC which is the new Principal andI have set the -PublishfailoverPartner as ServerC .
    After the failover is performed I see subscriber is pulling transactions from ServerC and transactions are getting replicated but I cannot see the publication listed under new publisher(ServerC) nor under old publisher ServerA  from replication
    monitor.
    What is the reason I cannot see the publications from replication Monitor. How will distributor know that ServerC is now the publisher.
    Also I got the error when I executed below command for distribution agent. But still transactions are getting replicated after failover.
    exec
    sp_add_agent_parameter@profile_id
    = 4,
    @parameter_name =
    N'-PublisherFailoverPartner',
    @parameter_value =
    N'ServerC
    Msg 21806, Level 16, State 1, Procedure sp_MSvalidate_agent_parameter, Line 63
    parameter -PublisherFailoverPartner. The value must be an integer. Verify that replication is installed properly and that sp_add_agent_parameter is invoked with a valid value.The agent profile creation process cannot validate the specified agent parameter
    value: the profile_id 4 does not exist or it does not support the
    Any inputs will be of great help.
    Regards,
    Raj
    Raj

    Refer to this: http://msdn.microsoft.com/en-us/library/ms151799.aspx

  • Best Way to monitor standby, primary databases, including alert logs, etc.

    Hi, Guys, I finally cutover the new environment to the new linux redhat and everything working great so far (the primary/standby).
    Now I would like to setup monitoring scripts to monitor it automatically so I can let it run by itself.
    What is the best way?
    I talked to another dba friend outside of the company and he told me his shop not use any cron jobs to monitor, they use grid control.
    We have no grid control. I would like to see what is the best option here? should we setup grid control?
    And also for the meantime, I would appreciate any good ideas of any cronjob scripts.
    Thanks

    Hello;
    I came up with this which I run on the Primary daily, Since its SQL you can add any extras you need.
    SPOOL OFF
    CLEAR SCREEN
    SPOOL /tmp/quickaudit.lst
    PROMPT
    PROMPT -----------------------------------------------------------------------|
    PROMPT
    SET TERMOUT ON
    SET VERIFY OFF
    SET FEEDBACK ON
    PROMPT
    PROMPT Checking database name and archive mode
    PROMPT
    column NAME format A9
    column LOG_MODE format A12
    SELECT NAME,CREATED, LOG_MODE FROM V$DATABASE;
    PROMPT
    PROMPT -----------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT Checking Tablespace name and status
    PROMPT
    column TABLESPACE_NAME format a30
    column STATUS format a10
    set pagesize 400
    SELECT TABLESPACE_NAME, STATUS FROM DBA_TABLESPACES;
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT Checking free space in tablespaces
    PROMPT
    column tablespace_name format a30
    SELECT tablespace_name ,sum(bytes)/1024/1024 "MB Free" FROM dba_free_space WHERE
    tablespace_name <>'TEMP' GROUP BY tablespace_name;
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT Checking freespace by tablespace
    PROMPT
    column dummy noprint
    column  pct_used format 999.9       heading "%|Used"
    column  name    format a16      heading "Tablespace Name"
    column  bytes   format 9,999,999,999,999    heading "Total Bytes"
    column  used    format 99,999,999,999   heading "Used"
    column  free    format 999,999,999,999  heading "Free"
    break   on report
    compute sum of bytes on report
    compute sum of free on report
    compute sum of used on report
    set linesize 132
    set termout off
    select a.tablespace_name                                              name,
           b.tablespace_name                                              dummy,
           sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id )      bytes,
           sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id ) -
           sum(a.bytes)/count( distinct b.file_id )              used,
           sum(a.bytes)/count( distinct b.file_id )                       free,
           100 * ( (sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id )) -
                   (sum(a.bytes)/count( distinct b.file_id ) )) /
           (sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id )) pct_used
    from sys.dba_free_space a, sys.dba_data_files b
    where a.tablespace_name = b.tablespace_name
    group by a.tablespace_name, b.tablespace_name;
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT Checking Size and usage in GB of Flash Recovery Area
    PROMPT
    SELECT
      ROUND((A.SPACE_LIMIT / 1024 / 1024 / 1024), 2) AS FLASH_IN_GB,
      ROUND((A.SPACE_USED / 1024 / 1024 / 1024), 2) AS FLASH_USED_IN_GB,
      ROUND((A.SPACE_RECLAIMABLE / 1024 / 1024 / 1024), 2) AS FLASH_RECLAIMABLE_GB,
      SUM(B.PERCENT_SPACE_USED)  AS PERCENT_OF_SPACE_USED
    FROM
      V$RECOVERY_FILE_DEST A,
      V$FLASH_RECOVERY_AREA_USAGE B
    GROUP BY
      SPACE_LIMIT,
      SPACE_USED ,
      SPACE_RECLAIMABLE ;
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT Checking free space In Flash Recovery Area
    PROMPT
    column FILE_TYPE format a20
    select * from v$flash_recovery_area_usage;
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT Checking last sequence in v$archived_log
    PROMPT
    clear screen
    set linesize 100
    column STANDBY format a20
    column applied format a10
    --select max(sequence#), applied from v$archived_log where applied = 'YES' group by applied;
    SELECT  name as STANDBY, SEQUENCE#, applied, completion_time from v$archived_log WHERE  DEST_ID = 2 AND NEXT_TIME > SYSDATE -1;
    prompt
    prompt----------------Last log on Primary--------------------------------------|
    prompt
    select max(sequence#) from v$archived_log where NEXT_TIME > sysdate -1;
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    PROMPT
    PROMPT Checking switchover status
    PROMPT
    select switchover_status from v$database;I run it from a shell script and email myself quickaudit.lst
    Alert logs are great source of information when you have an issue or just want to check something.
    Best Regards
    mseberg

  • System Monitoring setup: missing database

    I would like to set up System monitoring functionality for satellite system in SOLMAN.
    The following problems occurred:
    1) Missing database component of the system in System Monitoring set up
    Usually the system has the following components in System Monitoring set up:
    a) SAP Application Server
    b) Server <servername>
    c) Database <SID>-Database
    For my satellite system the Database component c) is missed.
    How can this component be activated? The satellite system has MaXDB
    2) Missing system entries in tcode RZ20
    I miss the entries of the system e.g. Shortdumps Frequency, AbapErrorInUpdate, Shortdumps in tcode RZ20.
    How will the system values added into the RZ20?
    Thank you very much!
    regards
    Thom

    Solved!
    You just need to maintain the DB in SMSY

  • Monitoring Standard Edition Databases

    Hello,
    We are currently an all 9i on Solaris shop that is beginning to work on upgrading to 10g and moving to linux 64 bit where possible. As a part of cutting costs, we are moving several production databases from Enterprise Edition to Standard Edition and likely dropping the Database Diagnostics Pack.
    From what I can tell from initial testing with 10gR3 Grid Control and Database Control, I am unable to set Notification Rules, blackouts, etc so that I can manage email notifications.
    So, is it true that if using Standard Edition databases or Enterprise Edition databases without the Database Diagnostic Pack, I can't email alert and job notifications? Do these same rules apply if I were to do all my monitoring from Database Control instead of Grid Control?
    Thanks for any and all feedback.
    Terry

    So, is it true that if using Standard Edition databases or Enterprise Edition databases without >> the Database Diagnostic Pack, I can't email alert and job notifications?That is true. If you go to Setup --> management Pack Access, at the bottom there is a link to a licencing page which gives you details on all the packs and what they allow you to do.
    I've never used database control, so I'm afraid I cannot help you on that one.

Maybe you are looking for

  • Error when mapping drive with read only permissions - unc path works fine

    Hello, we have user shares that we map to drive H:. the shares are in the form \\server\user\<loginname>. The shares have full permission and the files and folders have full permission for the user. To be clear, the shared folder is \\server\user. <l

  • Casting dataVector

    Hello, how can the following code be made generics compatible? import java.util.*; import javax.swing.*; import javax.swing.table.*; public class TableExample extends JFrame {   TableExample() {     DefaultTableModel dm = new DefaultTableModel() {   

  • Using Superdrive on iMac with dead disply

    Is there any way that I can use the Superdrive on myiMac FP until I can afford to get the display fixed? I just installed a new superdrive and would like to make sure it works, but since I have no display, I am not sure how to do this. I can connect

  • MenuBar -submenu color

    Hi I've some problem with setting style of menubar. I've two question: I can change the color of menubar, but may I change the background color of submenu ?( I see them still white). May I change the orientation of submenu? (for example from vertical

  • ICal failing to notify sometimes.

    iCal sometimes does not notify me of events. It happened infrequently in the past, but now it seems like the odds are about 50/50 that I will get the popup notification. These are regularly scheduled events (like bill payments) that have been working