Oracle Startup & SCN Concept in Depth

I have few questions about Oracle SCN.
I will taking few different scenario.
( Note- The following condtions true in all cases.
(a)- No Recovery Catalog
(b)- Backup and Recovery with RMAN) )
Different Cases
Case 1. Oracle Instance shutdown with command
SQL > Shutdown immediate
Case 2. Oracle Instance shutdown with command
SQL > SHUTDOWN ABORT
Case 3.Oracle Datafile (system.dbf) file deleted with operating System Command
# rm -rf system01.dbf
SQL > SHUTDOWN ABORT
The following conditions true in Case3.
(a) Database is running in ARCHIVELOG Mode.
(b) No loss on Control File and Online Redo Log Files.
Case 4. All the Oracle Control File deleted with Operating System Command.
# rm -rf *.ctl
SQL > SHUTDOWN ABORT
The following conditions true in Case4.
(a) Database is running in ARCHIVELOG Mode.
(b) No loss on datafile File and Online Redo Log Files.
Case 5. All the Oracle Control File & System dbf deleted with Operating System Command.
# rm -rf *.ctl
# rm -rf system01.dbf
SQL > SHUTDOWN ABORT
The following conditions true in Case5.
(a) Database is running in ARCHIVELOG Mode.
(b) No loss on Online Redo Log Files.
Case 6. All the Oracle Control File & Online Redo Log File deleted with Operating System Command.
# rm -rf *.ctl
# rm -rf *.log
SQL > SHUTDOWN ABORT
The following conditions true in Case5.
(a) Database is running in ARCHIVELOG Mode.
(b) No loss on datafile Files.
Question-
A> Let me know How Oracle SCN concept will work in above mentioned scenario ?
B> How SCN Synronization will happen ?
C> How Oracle Database will understand what file Needs Restoration and Recovery ?
D> What the meaning of SCN Synronization ? If Database synronize Control File SCN number with DBF File SCN then how it will work when we loose Control File.

Srinivas,
Thanks for Reply,
Actually, What i am feeling is till the time Control file is available, There is no issue in Backup and Recovery. Its very simple to understand Oracle will take all the information from Control File and Corresponding do all backup and Recovery.
My Main confusion start with rm -rf *.ctl (delete all existing Control File).
Most of the Control File documents discuss about major component for ex. Datafile Info, Redo File Info etc. The information which we can get from control file Dump.
But none discussed about Oracle Complete Control File Architecture.
I read following good documents about Control File architecture
a) http://esemrick.blogspot.com/2006/02/backup-control-files-are-they-special.html
b) http://www.ixora.com.au/notes/controlfile_structure.htm
But still not comfortable with Oracle Control File in depth architecture.
If you can share some Control file in depth documents, It will solve my problem.
Thanks in advance.
Sumit
Bangalore, India

Similar Messages

  • Running Oracle startup or shutdown bat file from Java code

    I have two bat files for the startup and shutdown of Oracle instance which works fine from the command prompt. But my requirement is to run it through a Java program. Please reply with full Java code. Also mention how I would get the status of the bat files that it is successfully executed or not and if not what is the error.

    Your program is working fine, but there is another problem. What's happening now is I have to open the Login screen after the startup of oracle server is complete, but the next line of my program after Runtime.exec is the LoginScreen.show which immediately shows the login screen after executing Runtime.exec and when I am giving the login name and password and press enter, it shows Oracle not available exception, because the startup process is still in progress. I want to stop the execution of my next line of code until and unless my process of Oracle startup is complete.

  • Here's a solution to Oracle Startup / Shutdown on RH6

    I had a hard time getting Red Hat 6.0 to startup and shutdown
    Oracle properly. Red Hat's slick rc scripts look cool, but hide
    the problem unless you do some serious reading.
    This script still isn't perfect, mainly because it can't
    shutdown if oracle users are still logged in. This is a problem
    with the dbshut scripts. I try to avoid hacking Oracle's bin
    directory, but if you really want to go down, change the
    shutdown lines to shutdown immediate. Oracle, please provide an
    option to dbshut to fix this! :-)
    My changes to the book version fix the following:
    1. It creates a file /var/log/dbora to log the startup output to
    give you some visibility after the fact.
    2. Creating the /var/lock/subsys/dbora file after startup makes
    the shutdown work. Otherwise rc won't even try. Deleting it
    makes changes between run levels work right.
    3. The startup is NOT backgrounded so that if you are watching
    it boot you can at least gauge the time it takes before the
    startup.
    4. It starts the listener too.
    5. It checks the log file for startup errors and makes the
    screen say FAILED in red if it sees any errors.
    5. It allows dbshut some time to finish before unmounting. My
    dual xenon machine goes down do fast dbshut wouldn't finish
    downing both of my sids.
    # dbora -start/stop Oracle
    #action
    ORA_HOME=/home/oracle;export ORA_HOME
    ORA_OWNER=oracle;export ORA_OWNER
    if [ ! -f $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME ]
    then
    echo "Oracle startup: cannot start"
    exit
    fi
    case "$1" in
    'start')
    su - $ORA_OWNER -c "$ORA_HOME/bin/dbstart" >
    /var/log/dbora.log
    su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl start" >>
    /var/log/dbora.log
    touch /var/lock/subsys/dbora
    'stop')
    su - $ORA_OWNER -c $ORA_HOME/bin/dbshut &
    sleep 15
    rm -f /var/lock/subsys/dbora
    esac
    if egrep -q "ORA-" /var/log/dbora.log; then
    exit -1
    else
    exit 0
    fi
    Note that the links prescribed by the book are also incorrect.
    Linux's rc levels do NOT run sequentially. Therefore, you need a
    start and stop on the same level. If you want to save some RAM
    on the serve by not running X, you'll want level 4 scripts and
    level 5 scripts. So, Create all these links (as ROOT).
    ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc4.d/K10dbora
    ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc4.d/S99dbora
    ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc5.d/K10dbora
    ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc5.d/S99dbora
    To be really safe also create these links. This way there is no
    escaping a proper oracle shutdown.
    ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc0.d/K10dbora
    ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc1.d/K10dbora
    ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc2.d/K10dbora
    ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc3.d/K10dbora
    ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc6.d/K10dbora
    Have fun!
    null

    It isn't necessary to create the symlinks for the rc scripts
    manually--that's what the "chkconfig" command is for.
    Mike Mitchell (guest) wrote:
    : I had a hard time getting Red Hat 6.0 to startup and shutdown
    : Oracle properly. Red Hat's slick rc scripts look cool, but hide
    : the problem unless you do some serious reading.
    : This script still isn't perfect, mainly because it can't
    : shutdown if oracle users are still logged in. This is a problem
    : with the dbshut scripts. I try to avoid hacking Oracle's bin
    : directory, but if you really want to go down, change the
    : shutdown lines to shutdown immediate. Oracle, please provide
    an
    : option to dbshut to fix this! :-)
    : My changes to the book version fix the following:
    : 1. It creates a file /var/log/dbora to log the startup output
    to
    : give you some visibility after the fact.
    : 2. Creating the /var/lock/subsys/dbora file after startup makes
    : the shutdown work. Otherwise rc won't even try. Deleting it
    : makes changes between run levels work right.
    : 3. The startup is NOT backgrounded so that if you are watching
    : it boot you can at least gauge the time it takes before the
    : startup.
    : 4. It starts the listener too.
    : 5. It checks the log file for startup errors and makes the
    : screen say FAILED in red if it sees any errors.
    : 5. It allows dbshut some time to finish before unmounting. My
    : dual xenon machine goes down do fast dbshut wouldn't finish
    : downing both of my sids.
    : # dbora -start/stop Oracle
    : #action
    : ORA_HOME=/home/oracle;export ORA_HOME
    : ORA_OWNER=oracle;export ORA_OWNER
    : if [ ! -f $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME ]
    : then
    : echo "Oracle startup: cannot start"
    : exit
    : fi
    : case "$1" in
    : 'start')
    : su - $ORA_OWNER -c "$ORA_HOME/bin/dbstart" >
    : /var/log/dbora.log
    : su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl start" >>
    : /var/log/dbora.log
    : touch /var/lock/subsys/dbora
    : 'stop')
    : su - $ORA_OWNER -c $ORA_HOME/bin/dbshut &
    : sleep 15
    : rm -f /var/lock/subsys/dbora
    : esac
    : if egrep -q "ORA-" /var/log/dbora.log; then
    : exit -1
    : else
    : exit 0
    : fi
    : Note that the links prescribed by the book are also incorrect.
    : Linux's rc levels do NOT run sequentially. Therefore, you need
    a
    : start and stop on the same level. If you want to save some RAM
    : on the serve by not running X, you'll want level 4 scripts and
    : level 5 scripts. So, Create all these links (as ROOT).
    : ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc4.d/K10dbora
    : ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc4.d/S99dbora
    : ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc5.d/K10dbora
    : ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc5.d/S99dbora
    : To be really safe also create these links. This way there is no
    : escaping a proper oracle shutdown.
    : ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc0.d/K10dbora
    : ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc1.d/K10dbora
    : ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc2.d/K10dbora
    : ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc3.d/K10dbora
    : ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc6.d/K10dbora
    : Have fun!
    null

  • Oracle startup issue

    Hi All,
    I have oracle 9i Enterprise Edition 9.2.0.8.0 installed on server.
    I have change large pool size and shared pool size parameters in init.ora file and i have shutdown the database using shutdown immediate.
    I have restarted the server and since then when i try to stratup the database i am getting the error as
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist.
    Can anyone help on this?
    Thanks,
    Ravi

    Don't cross post in many forum, check response from your Oracle startup issue

  • HA Oracle startup/shutdown question

    Environment:
    2 Sunfire V890's running solaris 2.9 and SC3.1U4
    Hello All,
    I am having a problem with oracle startup and shutdown in my cluster. In order to get oracle to startup after a failover, shutdown what have you, I need to implement the following procedure as a pre/post oracle startup operation/script. Can anyone tell me if there is a place or hook in the HAOracle agent where I can add my own operation? I would rather avoid having to write a GDS agent in order to do this, if it is at all possilble.
    Thanks,
    George Cebulka
    PS
    Please Note: (This is a DBA thing, not mine!)
    ************** Begin *********************
    After a failover or startup we need following to avoid the �authentication error�
    1. remove the sqlnet.ora soft link from $ORACLE_HOME/network/admin
    1. rm /global/oracle/oracledb/oraclev10201/network/admin/sqlnet.ora
    2. Create a new soft link to sqlnet.ora in $ORACLE_HOME/network/admin as following
    1. ln �s /global/pitt/dba/network/net8/sqlnet.ora /global/oracle/oracledb/oraclev10201/network/admin/sqlnet.ora
    3. startup the database and listeners (using cluster database).
    4. Now database is up and running and we need to turn on radius authentication for which we need this post stuff
    5. Remove the sqlnet.ora link
    1. rm /global/oracle/oracledb/oraclev10201/network/admin/sqlnet.ora
    6. Create a new soft link to replace sqlnet.ora with radius sqlnet.ora
    1. ln �s /global/pitt/dba/network/net8/sqlnet.ora.radius /global/oracle/oracledb/oraclev10201/network/admin/sqlnet.ora
    *************** End ******************

    You could also try the following:
    Create two GDS agents, where you need to include the steps to disable the pmf action script, which I describe in a blog at
    http://blogs.sun.com/TF/entry/disabling_pmf_action_script_with .
    This is needed since your scripts will not leave a process running for PMF.
    1. GDS resource (for this example I call it ora-prestart-rs):
    Start_command: It will do the steps to implement the original sqlnet.ora file + the steps from the blog
    Probe_command: /bin/true
    Stop_command: not needed
    2. GDS resource (for this example I call it ora-poststart-rs):
    Start_command: It will do the steps to setup the link for the radius sqlnet.ora file + the steps from the blog
    Probe_command: /bin/true
    Stop_command: It will do the steps to re-implement the original sqlnet.ora file
    Then you create the following resource dependencies (here I assume the name for the SUNW.oracle_server resource is ora-rs):
    scrgadm -c -j ora-rs -y Resource_dependencies=ora-prestart-rs
    scrgadm -c -j ora-poststart-rs -y Resource_dependencies=server-dwdd-rs
    Maybe you need to setup the same dependencies to include the SUNW.oracle_listerner resource. You did not mention which of those is facing problems.
    Of course, I never tried this. But this would enable you to use the HA Oracle agent unchanged.
    Greets
    Thorsten
    PS: I forgot to also mention that you need to set the Restart_type extension property for the SUNW.oracle_server resource to RESOURCE_GROUP_RESTART:
    scrgadm -c -j ora-rs -y Restart_type=RESOURCE_GROUP_RESTART
    That way a triggered restart by ora-rs will allways force the RG to go through stop/start - and only then the link will get set back to the sqlnet.ora the SUNW.oracle_server needs to work correctly.
    Note again - this is theory and needs proper testing.
    Message was edited by:
    Thorsten.Frueauf

  • Oracle eMail Server Concepts Guide Release 5.2

    Hi,
    Can anyone suggest me a source from where I can find the literature "Oracle eMail Server Concepts Guide Release 5.2".
    Thanks,
    Srini

    Hi,
    Hava look at this site
    http://otn.oracle.com/documentation/emailserver.html

  • Oracle Startup Scripts for AIX

    Does anyone have experience setting up automatic Oracle startup scripts for AIX?
    Any help would be greatly appreciated!
    Thanks,
    Mike

    Some recommandation here :
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b15658/strt_stp.htm#sthref255
    Nicolas.

  • Regarding Oracle Startup command

    Hello All,
    Whenever we execute the startup command in sqlplus ::
    SQL> startup
    ORACLE instance started.
    Total System Global Area 252776588 bytes
    Fixed Size 450700 bytes
    Variable Size 218103808 bytes
    Database Buffers 33554432 bytes
    Redo Buffers 667648 bytes
    Database mounted.
    Database opened.
    SQL>
    Please elaborate what Fixed Size and Variable size contains??
    I mean what components come under Fixed and Variable size?
    Thanks !!
    Regards,
    Avadhut

    Fixed portion
    The size of the fixed portion is constant for a release and a plattform of Oracle, that is, it cannot be changed through any means such as altering the initialization parameters
    Variable portion
    The variable portion is called variable because its size (measured in bytes) can be changed. The variable portion consists of:
    large pool (optional)
    Provides working space for rman (although rman will also work without large pool).
    Shared pool The shared pool is used for objects that are shared among all users. For example: table definitions, PL/SQL definitions, cursors and so on.
    reference:http://www.adp-gmbh.ch/ora/concepts/sga.html

  • Oracle forms Drafting concept

    Sir, In oracle forms can i use draft concept where as data goes to temporary table then after when i save it will go to more then one permanent table . any one can help me on this regards
    I am using oracle 10gforms.

    Hello,
    do you want to store the data across sessions? like: User edits data, saves them temporarily, can edit them when he comes back and they will be stored permanently sometimes later.
    If they are stored permanently or deleted in the same session, then there is IMHO no need for a temporary table. You post them to the db without commit and when the user decides what to do, then you simply commit or rollback.
    Regards
    Marcus

  • PerfMon reporting dramatic disk access time increase on Oracle startup

    Hi,
    My oracle 10g (10.2.0.4) database is hosted on a windows 2003 server.
    The datafiles are stored on a RAID1 disk array, on a dedicated partition : currently 30 gigs free out of 180, wich should not be a concern unless i'm wrong, because the datafiles were created as 10 Go files with no autogrowth. I add a new datafile whenever i need more room for my tables (alerts when 80% used).
    Since 2 days i experience a dramatic performance loss :
    The EM console reports nothing special (no alarms related to storage) apart from the need for more paginated memory.
    I issue a reorg when the segmentation advisor suggests it.
    My optimizer statistics are calculated by the default scheduled job.
    The weird thing I noticed is that as soon as I start the database, there's a huge increase in disk activity even though no query at all is submitted to the database.
    PerfMon reports Current Disk Queue Length > 1000 and disk access time > 3000 ms
    CPU is 2% activity on the 4-cpus server.
    I have plenty of spare memory (currently 3 Go used out of 16).
    This is only a dev server for ETL processes, it has very few concurrent connections.
    Any suggestions welcome.
    AWR report is available here
    http://min.us/mqnXQhd5Z
    Edited by: user10799939 on 22 mars 2012 09:30

    Cache Sizes
    ~~~~~~~~~~~                       Begin        End
                   Buffer Cache:     1,296M     1,296M  Std Block Size:         8K
               Shared Pool Size:       160M       160M      Log Buffer:    14,364K
    Load Profile
    ~~~~~~~~~~~~                            Per Second       Per Transaction
                      Redo size:            460,955.72 ;         2,477,358.63
                  Logical reads:              3,392.16 ;            18,230.80
                  Block changes:              6,451.93 ;            34,675.22
                 Physical reads:                  2.92 ;                15.67
                Physical writes:                394.52 ;             2,120.28
                     User calls:                  1.69 ;                 9.08
                         Parses:                  3.31 ;                17.81
                    Hard parses:                  0.17 ;                 0.90
                          Sorts:                  1.32 ;                 7.09
                         Logons:                  0.06 ;                 0.31
                       Executes:                  7.01 ;                37.68
                   Transactions:                  0.19
      % Blocks changed per Read:  190.20 ;   Recursive Call %:    96.23
    Rollback per transaction %:    0.30 ;      Rows per Sort:    14.41
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Buffer Nowait %:   99.98 ;      Redo NoWait %:   99.86
                Buffer  Hit   %:   99.92 ;   In-memory Sort %:  100.00
                Library Hit   %:   96.30 ;       Soft Parse %:   94.96
             Execute to Parse %:   52.74 ;        Latch Hit %:   99.07
    Parse CPU to Parse Elapsd %:    0.35 ;    % Non-Parse CPU:   99.30
    Shared Pool Statistics        Begin    End
                 Memory Usage %:   75.48 ;  75.51
        % SQL with executions>1:   79.92 ;  85.03
      % Memory for SQL w/exec>1:   77.07 ;  70.09
    Top 5 Timed Events                                         Avg %Total
    ~~~~~~~~~~~~~~~~~~                                        wait   Call
    Event                                 Waits    Time (s)   (ms)   Time Wait Class
    db file sequential read               9,052      17,688   1954   51.3 ;  User I/O
    log file switch (checkpoint in        5,303       4,649    877   13.5 Configurat
    log file switch completion            4,245       4,023    948   11.7 Configurat
    wait for a undo record               32,393       3,531    109   10.3 ;     Other
    db file parallel write               18,771       3,437    183   10.0 System I/O Havent seen this much wait on average. For example 877ms for "log file switch" is over threshold. And other wait events too..
    Time Model Statistics                DB/Inst: MDMPRJ/MDMPRJ  Snaps: 2840-2841
    -> Total time in database user-calls (DB Time): 34446.5s
    -> Statistics including the word "background" measure background process
       time, and so do not contribute to the DB time statistic
    -> Ordered by % or DB time desc, Statistic name
    Statistic Name                                       Time (s) % of DB Time
    sql execute elapsed time                              4,008.5 ;        11.6
    parse time elapsed                                      352.9 ;         1.0
    hard parse elapsed time                                 352.7 ;         1.0
    PL/SQL compilation elapsed time                         120.1 ;          .3
    DB CPU                                                   61.8 ;          .2
    failed parse elapsed time                                21.3 ;          .1
    PL/SQL execution elapsed time                             8.0 ;          .0
    connection management call elapsed time                   0.0 ;          .0
    hard parse (sharing criteria) elapsed time                0.0 ;          .0
    repeated bind elapsed time                                0.0 ;          .0
    hard parse (bind mismatch) elapsed time                   0.0 ;          .0
    DB time                                              34,446.5 ;         N/A
    background elapsed time                              14,889.7 ;         N/A
    background cpu time                                      39.0 ;         N/A
    Wait Class                            DB/Inst: MDMPRJ/MDMPRJ  Snaps: 2840-2841
    -> s  - second
    -> cs - centisecond -     100th of a second
    -> ms - millisecond -    1000th of a second
    -> us - microsecond - 1000000th of a second
    -> ordered by wait time desc, waits desc
                                                                      Avg
                                           %Time       Total Wait    wait     Waits
    Wait Class                      Waits  -outs         Time (s)    (ms)      /txn
    User I/O                       10,515     .1           17,785    1691      15.8
    Configuration                  10,186   79.5 ;           8,865     870      15.3
    System I/O                     27,619     .0            8,774     318      41.6
    Other                          57,768   98.3 ;           6,915     120      87.0
    Commit                          2,634   88.6 ;           2,481     942       4.0
    Concurrency                     2,847   75.4 ;           2,240     787       4.3
    Application                       219    2.3 ;              23     105       0.3
    Network                         4,790     .0                0       0       7.2
              ------------------------------------------------------------- again seen, there is very high wait on User IO
    Wait Events                          DB/Inst: MDMPRJ/MDMPRJ  Snaps: 2840-2841
    -> s  - second
    -> cs - centisecond -     100th of a second
    -> ms - millisecond -    1000th of a second
    -> us - microsecond - 1000000th of a second
    -> ordered by wait time desc, waits desc (idle events last)
                                                                       Avg
                                                 %Time  Total Wait    wait     Waits
    Event                                 Waits  -outs    Time (s)    (ms)      /txn
    db file sequential read               9,052     .0      17,688    1954      13.6
    log file switch (checkpoint           5,303   78.0 ;      4,649     877       8.0
    log file switch completion            4,245   89.2 ;      4,023     948       6.4
    wait for a undo record               32,393   99.8 ;      3,531     109      48.8
    db file parallel write               18,771     .0       3,437     183      28.3
    wait for stopper event to be         24,203   99.8 ;      2,634     109      36.5
    log file sync                         2,634   88.6 ;      2,481     942       4.0
    control file sequential read          7,356     .0       2,431     330      11.1
    buffer busy waits                     2,513   83.1 ;      2,173     865       3.8
    log file parallel write                 520     .0       1,566    3012       0.8
    control file parallel write             840     .0       1,334    1588       1.3
    rdbms ipc reply                         172   91.3 ;        330    1916       0.3
    enq: CF - contention                    309   23.0 ;        268     867       0.5
    log buffer space                        638   28.5 ;        192     301       1.0
    enq: PS - contention                     52   23.1 ;         71    1362       0.1
    db file scattered read                  113     .0          67     590       0.2
    os thread startup                        76   77.6 ;         63     834       0.1
    reliable message                         57   78.9 ;         50     878       0.1
    enq: RO - fast object reuse              22   22.7 ;         23    1038       0.0
    latch free                              537     .0          16      30       0.8
    Streams AQ: qmn coordinator               3  100.0 ;         15    5005       0.0 Overstepping
    Background Wait Events               DB/Inst: MDMPRJ/MDMPRJ  Snaps: 2840-2841
    -> ordered by wait time desc, waits desc (idle events last)
                                                                       Avg
                                                 %Time  Total Wait    wait     Waits
    Event                                 Waits  -outs    Time (s)    (ms)      /txn
    db file parallel write               18,772     .0       3,437     183      28.3
    events in waitclass Other            24,367   99.5 ;      3,010     124      36.7
    control file sequential read          6,654     .0       2,333     351      10.0
    log file parallel write                 520     .0       1,566    3012       0.8
    control file parallel write             840     .0       1,334    1588       1.3
    buffer busy waits                       899   94.2 ;        884     984       1.4
    log file switch (checkpoint             206   82.0 ;        185     898       0.3
    os thread startup                        76   77.6 ;         63     834       0.1
    log file switch completion               46   93.5 ;         45     982       0.1
    log buffer space                        158   31.0 ;         12      77       0.2
    db file sequential read                  62     .0           7     111       0.1
    db file scattered read                   20     .0           6     318       0.0
    direct path read                        660     .0           5       7       1.0
    log file sequential read                 66     .0           4      65       0.1
    log file single write                    66     .0           1      16       0.1
    enq: RO - fast object reuse               2     .0           0      38       0.0
    latch: cache buffers chains               3     .0           0       6       0.0
    direct path write                       660     .0          -5      -8       1.0
    rdbms ipc message                     9,052   87.5 ;     21,399    2364      13.6
    pmon timer                            1,318   90.4 ;      3,562    2703       2.0
    Streams AQ: qmn coordinator             633   97.6 ;      3,546    5602       1.0
    Streams AQ: waiting for time             77   61.0 ;      3,449   44795       0.1
    PX Deq: Join ACK                         21     .0           0       0       0.0 Again overshooting
    Tablespace IO Stats                  DB/Inst: MDMPRJ/MDMPRJ  Snaps: 2840-2841
    -> ordered by IOs (Reads + Writes) desc
    Tablespace
                     Av      Av     Av                       Av     Buffer Av Buf
             Reads Reads/s Rd(ms) Blks/Rd       Writes Writes/s      Waits Wt(ms)
    UNDOTBS1
               914       0 ######     1.0 ;   1,368,515      383      2,534  863.2
    MDMREF_INDICES
             6,918       2 ######     1.0 ;      11,086        3          0    0.0
    SYSAUX
               626       0 ######     1.1 ;       1,804        1          0    0.0
    SYSTEM
               850       0 ######     1.7 ;         296        0          0    0.0
    MDMREF_DATA
               293       0  712.3 ;    1.0 ;         274        0          0    0.0
    MDMPRJ_ODS
               198       0   72.1 ;    1.0 ;         198        0          0    0.0
    FEU_VERT
                33       0   61.5 ;    1.0 ;          33        0          0    0.0
    USERS
                33       0   31.5 ;    1.0 ;          33        0          0    0.0
              ------------------------------------------------------------- Now have a serious look at it. Av Rd(ms). Now for some tablespace value cannot event fit in window thats why its showing ##
    According to oracle recommendation Av Rd(ms) shouldn't be greater then 20, if its goes over 20 then its considered to be an issue with IO subsystem. But as its seen that in your case its overshooting.
    Now the question from my side
    Have done any configuration changes?
    I would suggest you to revert these changes asap and contact storage admin guys...
    Hope this helps

  • Automated Oracle Startup & Shutdown

    I am trying to get make my Oracle database shutdown and startup
    automatically at boot, but am having a hard time getting this to
    work properly. I have created a file in /etc/rc.d/init.d called
    dbora:
    case "$1" in
    'start')
    su - oracle -c $ORACLE_BASE/admin/bin/dbstart.sh &
    'stop')
    su - oracle -c $ORACLE_BASE/admin/bin/dbshut.sh &
    esac
    I also created the following links in EVERY (out of frustration)
    /etc/rc.d/rc#.d directory:
    lrwxrwxrwx 1 root root 22 Jul 1 10:12 S99dbora -
    /etc/rc.d/init.d/dboralrwxrwxrwx 1 root root 22 Jul 1 10:12 K30dbora -
    /etc/rc.d/init.d/dboraThe problem does not really appear to be linked to the actual
    database shutdown or startup, but rather with LINUX. I have
    replaced the contents of dbstart.sh & dbshut.sh with a simple
    echo redirect to file to prove this out. Specifically, here is
    what is happening:
    * Running "dbora start" or "dbora stop" manually always works.
    * Neither "dbora start" or "dbora stop" work when booting or
    switching runlevels, although the message STARTING DBORA does
    scroll past the console.
    I have several people look at this here and no one can figure
    out why this isn't working. Can you assist?
    null

    Peter,
    Normally the problem here is that the environment is not set, or
    is not being set correctly OR that things that Oracle needs to be
    available have already been killed (lower run level) or have not
    been started (higher run level).
    Check that the environment is OK when the dbora script is run and
    check that your scripts are called in the right order of things
    when moving between run levels.
    Regards,
    Mark
    Pete Petersen (guest) wrote:
    : I am trying to get make my Oracle database shutdown and startup
    : automatically at boot, but am having a hard time getting this
    to
    : work properly. I have created a file in /etc/rc.d/init.d called
    : dbora:
    : case "$1" in
    : 'start')
    : su - oracle -c $ORACLE_BASE/admin/bin/dbstart.sh &
    : 'stop')
    : su - oracle -c $ORACLE_BASE/admin/bin/dbshut.sh &
    : esac
    : I also created the following links in EVERY (out of
    frustration)
    : /etc/rc.d/rc#.d directory:
    : lrwxrwxrwx 1 root root 22 Jul 1 10:12 S99dbora
    : > /etc/rc.d/init.d/dbora
    : lrwxrwxrwx 1 root root 22 Jul 1 10:12 K30dbora
    : > /etc/rc.d/init.d/dbora
    : The problem does not really appear to be linked to the actual
    : database shutdown or startup, but rather with LINUX. I have
    : replaced the contents of dbstart.sh & dbshut.sh with a simple
    : echo redirect to file to prove this out. Specifically, here is
    : what is happening:
    : * Running "dbora start" or "dbora stop" manually always works.
    : * Neither "dbora start" or "dbora stop" work when booting or
    : switching runlevels, although the message STARTING DBORA does
    : scroll past the console.
    : I have several people look at this here and no one can figure
    : out why this isn't working. Can you assist?
    null

  • Oracle startup/shutdown triggers

    Hi,
    I have a scenerion appreciated the inputs/suggestions.
    We have 750 db's from oracle 8i to 11g .
    i will take one db as test db and i will create a table in this db and from all db's a trigger has to fire whenever database is down or up and update this test table in test db.
    may be test table structure contains hostname, db name , db status(1 for down, 0 for up), timestamp
    Thanks in advance .
    Prakash

    Hi thanks for all the inputs.
    We use OEM grid still we want this project to execute.
    The steps we need to do is .
    1.     Determine how/if we can create a system-level trigger on all of our Oracle databases (we currently have versions as low as 8.1.7 and up to 11.2).
    2.     The trigger will update a remote table before a shutdown or after a startup.
    3.     The remote database (which we will use for testing) is test.
    4.     The table to be updated is test.DB_STATUS
    SQL> desc p201710.db_status
    Name Null? Type
    SERVER_NAME VARCHAR2(50)
    DB_NAME VARCHAR2(50)
    DB_STATUS CHAR(1)  '1' = down, '0' = up
    STATUS_TS DATE
    5.     Create a dynamic link at the time the trigger fires to connect to this database. Do not use a TNS alias in the connector.
    6.     Query the table first to see if a record already exists with that servername+dbname combination.
    7.     If not, add a record and record the status and the sysdate. If so, just update that record. (We do not want more than 1 record for each database.)
    8.     Determine risks involved with this activity and devise a strategy to mitigate them.
    apprecited the inputs.
    Thanks
    Prakash
    Edited by: user9356823 on Jun 17, 2010 3:07 AM

  • Oracle Startup/Shutdown with SQLPLUS and ORADIM in Windows...

    I am a newbie to the Windows platform. SQLPLUS will not allow me to issue a STARTUP command. This is what I get when I attempt to SHUTDOWN IMMEDIATE and subsequently issue a STARTUP MOUNT/NOMOUNT or any STARTUP command for that matter. The SHUTDOWN command works successfully but the subsequent startup fails with an ORA-12514: TNS:listener does not currently know of service requested in connect descriptor message.
    D:\>set ORACLE_SID=NMPC00
    D:\>set ORACLE_HOSTNAME=TAX-DEV-ORA-01
    D:\>set ORACLE_HOME=D:\app\oracle\product\11.2.0\dbhome_1
    D:\>sqlplus sys@NMPC00 as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Oct 23 11:41:56 2010
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    SQL>
    When I look at the Windows service, it still reports 'Started' despite the fact that I shutdown the instance. What is the proper protocol for shutting down and starting up an Oracle instance in Windows. Do I have to coordinate these activities with the ORADIM -STARTUP / -SHUTDOWN commands?

    I am also newbie to oracle and running into the similar problem when trying to start oracle database using windows command prompt and getting the below error:
    Command prompt is being run as administrator on windows7 O/S
    C:\ORACLE\product\11.2.0\dbhome_1\BIN>oradim -SHUTDOWN -SID O22BVGI -SHUTTYPE srvc,inst -SHUTMODE nornal
    ORA-01031: insufficient privileges
    The reason behind this to do it is , I need a batch script for stopping and restarting the oracle database instance using a Pfile which will contain the initialization parameters.
    Please can someone help!
    sqlnet.ora is:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    Kind Regards
    Sam
    Edited by: 808116 on Nov 7, 2010 4:21 PM

  • Oracle Startup/Shutdown

    Having trouble with EM in a windows server environment running 10G
    When i startup/shutdown my server do i need to stop the listener, dbconsole and agent?
    Everytime i reboot my TEST server EM stops working. I have checked the windows services start ok - all do with no errors. but i get the listeneer starting sometimes and sometime not. The agent and DB instance connection instances show failed on the http://myserver:1158/em page.
    I have checked tnsnames and listener.ora.
    Is there a process of things to start/stop when rebooting my server?
    Also whe i try to start them manually a page is displayed saying enter logon credential but the credentials i enter .e.g. sys-password123 are not accepted. Does anyone have any idea what the credential i should be inputting here is it oracle-oralce or something?
    Please note i have done loads of reading but can't find a solution to my problem thanks to all who take time to read/reply to what may seem a very basic question

    By default the Oracle services are set to automatically start. When you reboot your server the services start and you should be able to connect. However if you try to connect right after the reboot, most probably this error will show up since the Enterprise Manager requires the database to be already registered against the listener, which may take a while (not more than 60 sec),
    Verify this checklist:
    1. The listener is up and running. LSNRCTL STATUS
    2. The database is registered against the listener. You may issue the command LSNRCTL SERVICES.
    3. You may force the database to be registered against the listener by issuing the ALTER SYSTEM REGISTER; command from a sqlplus prompt.
    One more things you should take care of is the IP assignment method, if you have a dynamic IP address assignment you should configure a loopback adapter and and have the Loopback Adapter's IP address registered at the hosts file along with the hostname. If you fail to do so you may find EM will be requesting you for the logon credentials when you attempt to access the Performance tab or any other administrative task.
    You may read this reference for further Enterprise Manager troubleshooting --> Enterprise Manager DB Control Console.
    ~ Madrid

  • Does Oracle support OOPS concept?if it is YES , in what ways...Please ..

    My question is . The Oracle Database 9i does it support ALL OOPS concepts.? How it can be implemented in pl/sql
    or sql plus..

    Information on OOPS support can be found in the Oracle9i Application Developer's Guide - Object-Relational Features
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96594/toc.htm

Maybe you are looking for

  • Flickr doesn't work in this version - How can I Downgrade to a version that flikr works?

    Many of the buttons on the Site Flickr don't work in this version - How do is Downgrade Firefox to an earlier version so I can use flickr. - The buttons work fine with the same account on other browsers. They worked fine in the earlier version. I tra

  • Having issues with OX Mavericks 10.9.5 update.

    After installing the update yesterday on my iMac and Mac Book Pro, I cannot get the computers to work with my company's VPN.  I can log on to the VPN, but I can't type in my e-mail, web browser or company software.  The VPN allows me to get into the

  • What to do when an entity starts using EURO instead of Local Currency (not

    What do you do when an entity which is using one of the local currencies out there (not EURO) is going to use EURO as their Local Currency soon? For example: what do you do when you have an entity in a non EURO country but will soon start using EURO?

  • Re: "Contains unsupported data types" error

    Hi, I am new to R and oracle. I am having a problem hope you could help me with the same. I explictly gave the ore.sync(table = c("TAB1", "TAB2")). But i get the following Error Error in .oci.GetQuery(conn, statement, ...) : ORA-02289: sequence does

  • Dreamweaver messed up today

    Today I opened dreamweaver CS3 and my pages do not show up correctly. I am not sure what has changed. The white background behind the images doesn't show in the actual application. BUT, they show when uploaded to the site. As you can see: Before: Bef