How to check if statspack is installed?

Hi all

How to check if the statspack is already installed or not... ?

Hello

to generate a statspack you need one perfstat user, just check

Select username from dba_users
where username = 'PERFSTAT % % ';

If the user exists, then you can create the snap and generate the statspack report, if the user is not that you need to create one with script

spcreate. SQL

Located on ORACLE_HOME/rdbms/admin/spcreate.sql, when you run this script, it will ask to tablespace and password, then connect to the perfstat user and run snaps and you're done... then run spreport.sql to generate the statspack report

Thanks and greetings
VD

Published by: vikrant dixit on August 11, 2009 22:26

Published by: vikrant dixit on August 11, 2009 22:29

Tags: Database

Similar Questions

  • How to check if you have installed Oracle Wallet

    Hi all

    11.2.0.3.8

    I inherited this database.

    I check the sqlnet.ora and I see the oracle wallet folder path here.

    But I do not know if the portfolio has been installed and configured or installation. And I don't know the password to open the database of portfolio with it.

    Can you help me how to check if the portfolio is installed? Is there a data dict views for her?

    Thank you

    pK

    As you can check sqlnet.ora, I guess you can also consult other parts of the file system, if you see if there is a portfolio at the location given (by the sqlnet.ora)?

    A more graphical approach could use owm (Oracle Wallet Manager).

    However we need the password in the portfolio, if you want to do something with this portfolio.

  • How to check when the software installed on the unix machine

    Team,

    I need to check when the s/w is installed on the unix machine, can someone tell me

    Thank you

    PMP

    Prakash_dba wrote:

    Team,

    I need to check when the s/w is installed on the unix machine, can someone tell me

    Thank you

    PMP

    Find /-name oracle - ls 2 >/dev/null

  • How to check all the hotfixes installed on the ESX 4.0 host so far

    Hello

    I tried with the command vmware - v

    VMware-l

    esxupdate query

    but can only updates and patches which has been updated later after the update, can someone please tellme how to get all the patches previously installed as well, I mean all the hotfixes installed until updates

    How abt 'esxupdate query - a '?

  • How to check which application I installed?

    I installed Oracle enterprise edition 12 c with basic application / default on 8.1 64-bit windows.
    I need Oracle Enterprise Manager Cloud Control application. I have this app or want to download from the oracle site?

    It is a separate download and install it.

    In general, you need to install 12 c control of cloud that would require it of own repository database and then install the agent on all servers where you have databases running.

    http://www.Oracle.com/technetwork/OEM/grid-control/downloads/index.html

  • How can I do I check Windows Update after installing Windows 7 if my internet interface does not work?

    My only internet connection is done by an AT & T USB Connect 881U (mfg Serra wireless). Windows 7 update Advisor indicates that

    I need to check Windows Update after installing Windows 7 to make sure that I have the latest driver for this device, otherwise it can not work.
    If this does not work I have no way of checking Windows Update. Any suggestions of how I could get out of this situation if it happens.

    When all else fails RTFM:

    Install the Windows updates:
    http://Windows.Microsoft.com/en-us/Windows7/install-Windows-updates

    Update your computer:
    http://Windows.Microsoft.com/en-us/Windows7/updating-your-computer

    Understand the Windows automatic update:
    http://Windows.Microsoft.com/en-us/Windows7/Understanding-Windows-automatic-updating

    Updates: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows7/updates-frequently-asked-questions

    Change how Windows installs or notifies you of updates:
    http://Windows.Microsoft.com/en-us/Windows7/change-how-Windows-installs-or-notifies-you-about-updates

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • I found an old vista home basic dvd with a key, how can check whether key works but not install it?

    I found an old vista home basic dvd with a key, how can check whether key works, but not install it? some dvd install can be live boot from themselves too [password required for a direct start?]?

    Hello

    You must install it to see if it is legal to do so.

    There is no public database of product keys.

    See you soon.

  • How to check and install the drivers for the card

    I wanted to play the game with my HP Compaq 8710p (Windows 7) and said that my video card driver and probably (other drivers noticed yet) are now uninstalled in my
    System. Could you please send me
    links on how to check the
    uninstalled the drivers and how to
    Download and install. Thank you
    in anticipation of the command prompt
    response.

    Zubyjoe

    Your uninstall information

    http://Windows.Microsoft.com/en-us/Windows/uninstall-change-program#uninstall-change-program=Windows-7

    or use Revo Uninstaller

    http://www.revouninstaller.com/

    New Nvidia driver

    FTP://ftp.HP.com/pub/SoftPaq/sp61001-61500/sp61072.exe

    Other drivers

    http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdHome/?sp4ts.oid=3355688&spf_p.tpst=swdMain&spf_p.prp_swdMain=wsrp-navigationalState%3DswEnvOID%253D4059%257CswLang%253D%257Caction%253DlistDriver&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken

  • How to check the type of memory installed (ECC or not)?

    all!

    I have some servers Dell PowerEdge R420 and I want to upgrade memory, install more...

    How to check the type of memory installed (ECC or not)?

    Dmidecode output here:

    Drive.google.com/.../View

    Hello.

    Unfortunately, we are not able to open the link you have provided. You can display information about your memory on the web iDRAC under hardware and memory interface. You see the type of error correction (ECC or Non ECC) within the information memory page. You can also view the same information on OpenManage Server Administrator and even make use of the memory part number to find out more information.

  • I need to know how to check the serial number of the product on the installed machine?

    I need to know how to check the serial number of the product on the installed machine?

    You can go to Adobe.com and connect to the Adobe ID used to register the program.

    The serial number would be listed under Manage account > Products & Plans

  • How to check for optional Oracle 10 g 2 installed components?

    Hello

    How can I get a list of oracle all optional components/functions installed database (some of them may require additional license)? I was going through a list of the directory objects in a database and I spotted "ORACLE_OCM_CONFIG_DIR" in one of the databases (others don't have it). When I checked, it turned out to be a directory required for Oracle Configuration Manager (it's maybe even a completely separate installation).

    I have to configure a new oracle database server where I have to install everything that is installed on an existing one.

    Oracle 10 g 2 - RHEL 5.8

    Please advise!

    Best regards

    Hello

    http://docs.Oracle.com/CD/E11882_01/server.112/e24448/statviews_4208.htm

    DBA_REGISTRY displays information about all of the components in the database that are loaded in the registry of the component.

    If this view lists the components loaded into the database... Well according to the docs of Oracle anyway.

    How to check to see if the CMO is installed must:

    http://docs.Oracle.com/CD/E12482_01/doc.103/e12481/ccrqs.htm

    Navigate to the ccr/bin directory and locate the emCCR file. If emCCR exists, the CMO has been configured.

    Don't think that you can get this information from a view.

  • How to check if the database for DRDA gateway is installed and configured.

    Hi all

    How can we check if the database for DRDA gateway is installed and configured.

    Our operating system is AIX 5 L 64 bit OS.
    RDBMS: 11.2.0.3

    Kind regards

    Duplicated
    How to check if the database for DRDA gateway is installed and configured.

    + - locked thread-+.

    Nicolas.

  • How to check if XML Editor is installed

    Hello
    on 8.49 (FSCM 9) how quickly check if the XML Editor is installed?


    Thank you.

    XML editor belongs to PeopleTools, so it is always installed.

    If you mean Office XML Editor, which can be found via the windows start menu.

  • How to check that I have the fax service installed in my computer, such as claimed by the manufacturer?

    the fax console icon is on the computer, but I'm never able to send a fax.

    How to check that the fax program is intact in the computer?

    My outgoing faxes are never sent.

    Cannot find a SEND BUTTON for outgoing faxes.

    y t

    Hi mavis,.

    You can read the following article that should help you to check the same.

    HOW to: Solve common fax problems in Microsoft Windows XP

  • How to check if his stats pack is running

    Dear friends,

    I have to check if his stats pack is running in an Oracle server... How can I check?

    Please guide me.

    Thanks in advance.

    Nith

    user645399 wrote:
    Dear friends,

    I have to check if his stats pack is running in an Oracle server... How can I check?

    Please guide me.

    Thanks in advance.

    Nith

    You can check in views (or) check spreport script as below

    If not installed Statspack: -.

    sys@ORCL>
    sys@ORCL>
    sys@ORCL> execute statspack.snap
    BEGIN statspack.snap; END;
    
          *
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'STATSPACK.SNAP' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    
    sys@ORCL>
    

    If statspack is installed: -.

    sys@ORCL> select * from stats$snapshot;
    
    no rows selected
    
    sys@ORCL> execute statspack.snap
    
    PL/SQL procedure successfully completed.
    
    sys@ORCL>  select * from stats$snapshot;
    
       SNAP_ID       DBID INSTANCE_NUMBER SNAP_TIME STARTUP_T SESSION_ID    SERIAL# SNAP_LEVEL
    ---------- ---------- --------------- --------- --------- ---------- ---------- ----------
    UCOMMENT
    ----------------------------------------------------------------------------------------------------
    EXECUTIONS_TH PARSE_CALLS_TH DISK_READS_TH BUFFER_GETS_TH SHARABLE_MEM_TH VERSION_COUNT_TH
    ------------- -------------- ------------- -------------- --------------- ----------------
    SEG_PHY_READS_TH SEG_LOG_READS_TH SEG_BUFF_BUSY_TH SEG_ROWLOCK_W_TH SEG_ITL_WAITS_TH
    ---------------- ---------------- ---------------- ---------------- ----------------
    SEG_CR_BKS_RC_TH SEG_CU_BKS_RC_TH SEG_CR_BKS_SD_TH SEG_CU_BKS_SD_TH SNAPSHOT_EXEC_TIME_S ALL_I B
    ---------------- ---------------- ---------------- ---------------- -------------------- ----- -
             1 1303021375               1 24-FEB-12 24-FEB-12          0          0          5
    
              100           1000          1000          10000         1048576               20
                1000            10000              100              100              100
                1000             1000                                                  14.24 FALSE
    
    sys@ORCL> conn perfstat/perfstat
    Connected.
    
    GLOBAL_NAME
    ----------------------------------------------------------------------------------------------------
    perfstat@ORCL
    
    perfstat@ORCL> @?/rdbms/admin/spreport
    
    Current Instance
    ~~~~~~~~~~~~~~~~
    
       DB Id    DB Name      Inst Num Instance
    ----------- ------------ -------- ------------
     1303021375 ORCL                1 orcl
    
    Instances in this Statspack schema
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
       DB Id    Inst Num DB Name      Instance     Host
    ----------- -------- ------------ ------------ ------------
     1303021375        1 ORCL         orcl         INHYIBN2676
    
    Using 1303021375 for database Id
    Using          1 for instance number
    
    Specify the number of days of snapshots to choose from
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Entering the number of days (n) will result in the most recent
    (n) days of snapshots being listed.  Pressing  without
    specifying a number lists all completed snapshots.
    
    Listing all Completed Snapshots
    
                                                           Snap
    Instance     DB Name        Snap Id   Snap Started    Level Comment
    ------------ ------------ --------- ----------------- ----- --------------------
    orcl         ORCL                 1 24 Feb 2012 14:54     5
    
    Specify the Begin and End Snapshot Ids
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Enter value for begin_snap:
    

    Published by: CKPT on February 24, 2012 14:59

Maybe you are looking for