Alter database ... keep identity hangs

Does anyone know what could cause the "alter database recover to logical standby keep identity" statement to hang waiting on "MRP wait on archivelog arrival"? I have executed this exact statement in the past on another physical standby and it went through fine.
I ran "exec dbms_logstdby.build" on the primary db (Linux 11.1.0.7), did a couple of log switches and then canceled the recovery process on the physical standby and executed the alter database...keep identity statement but the alter statement hung indefinitely on the standby db. It was always waiting to receive the current log file from the primary db.
Thanks.

Ogan, thanks for your response.
All the archived logs appeared to have been applied so I'm not sure what "necessary archivelogs" are left to copy and apply. I could not find any archive gap. Any idea what may be the issue from the output (RAC primary -> physical standby) you requested? thanks.
From v$archived_log
THREAD# NAME           SEQUENCE# ARC APPLIED
1 /flashrecovery/DBSB1/archivelog/2010_07_11/1_9133_832673014.arc 9133 YES YES
1 /u01/logs/dbsb1/1_9133_832673014.arc      9133 YES YES
1 /flashrecovery/DBSB1/archivelog/2010_07_11/1_9134_832673014.arc 9134 YES YES
1 /u01/logs/dbsb1/1_9134_832673014.arc 9134 YES YES
1 /flashrecovery/DBSB1/archivelog/2010_07_11/1_9135_832673014.arc 9135 YES YES
1 /u01/logs/dbsb1/1_9135_832673014.arc 9135 YES YES
1 /flashrecovery/DBSB1/archivelog/2010_07_11/1_9136_832673014.arc 9136 YES YES
1 /u01/logs/dbsb1/1_9136_832673014.arc 9136 YES YES
1 /flashrecovery/DBSB1/archivelog/2010_07_11/1_9137_832673014.arc 9137 YES NO
1 /u01/logs/dbsb1/1_9137_832673014.arc 9137 YES YES
1 /flashrecovery/DBSB1/archivelog/2010_07_11/1_9138_832673014.arc 9138 YES NO
1 /u01/logs/dbsb1/1_9138_832673014.arc 9138 YES YES
1 /flashrecovery/DBSB1/archivelog/2010_07_11/1_9139_832673014.arc 9139 YES NO
1 /u01/logs/dbsb1/1_9139_832673014.arc 9139 YES YES
1 /flashrecovery/DBSB1/archivelog/2010_07_12/1_9140_832673014.arc 9140 YES NO
1 /u01/logs/dbsb1/1_9140_832673014.arc 9140 YES YES
2 /flashrecovery/DBSB1/archivelog/2010_07_11/2_8192_832673014.arc 8192 YES YES
2 /u01/logs/dbsb1/2_8192_832673014.arc 8192 YES YES
2 /flashrecovery/DBSB1/archivelog/2010_07_11/2_8193_832673014.arc 8193 YES YES
2 /u01/logs/dbsb1/2_8193_832673014.arc 8193 YES YES
2 /flashrecovery/DBSB1/archivelog/2010_07_11/2_8194_832673014.arc 8194 YES YES
2 /u01/logs/dbsb1/2_8194_832673014.arc 8194 YES YES
2 /flashrecovery/DBSB1/archivelog/2010_07_11/2_8195_832673014.arc 8195 YES YES
2 /u01/logs/dbsb1/2_8195_832673014.arc 8195 YES YES
2 /flashrecovery/DBSB1/archivelog/2010_07_11/2_8196_832673014.arc 8196 YES NO
2 /u01/logs/dbsb1/2_8196_832673014.arc 8196 YES YES
2 /flashrecovery/DBSB1/archivelog/2010_07_12/2_8197_832673014.arc 8197 YES NO
2 /u01/logs/dbsb1/2_8197_832673014.arc 8197 YES YES
2 /flashrecovery/DBSB1/archivelog/2010_07_12/2_8198_832673014.arc 8198 YES NO
2 /u01/logs/dbsb1/2_8198_832673014.arc 8198 YES YES
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 9140
Next log sequence to archive 0
Current log sequence 9141

Similar Messages

  • Database Hanging after Alter Database Suspend Command

    I issued the command for testing
    Alter database suspend
    Its hanging for more than 2 rhrs,I suspect there are some users connected to it...
    How to login and resume the DB for the USers
    Can i ask them to disconnect from the DB

    And your version number is?
    You suspect there are connected users?
    Is there some reason you can't query gv$session?
    Can you ask them to disconnect from the database?
    I don't know ... can you? <g>
    I know I certainly would.
    What is the business case that you are doing the suspend?

  • Alter database recover to logical standby is hanging

    Hi,
    when I try to convert my physical standby to logical standby using
    alter database recover to logical standby STANDBYL;
    the command just hangs
    I have seen the usual hit on this which is to create the Redo Dictionary on the Primary using
    execute dbms_logstdby.build;
    which I did but the alter database command still keeps hanging on my Standby
    Any ideas,
    thanks
    Jim

    Hello;
    Does your Standby alert log have any lines like this:
    RECOVER TO LOGICAL ...
    If yes look for the message ( after this )
    Starting datafile conversion
    and post any errors or warnings you have.
    Best Regards
    mseberg

  • Oracle 11gR2 alter database open hangs for a long time

    Hi,
    We are cloning oracle apps database with RAC to non-RAC. We did the ORACLE_HOME clone and then duplicated the database with rman.
    It completed successfully.
    While trying to bounce the database, the db startup option hangs at "alter database open" for a long time
    There are no errors in the alert log file. It just waits at "alter database open"
    Please help and thanks in advance.
    Regards
    Sasikala

    These are the lines in the trace file
    Instance name: stdby
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 9
    Unix process pid: 434204, image: oracle@developmentDR (MMAN)
    *** 2011-01-31 09:32:40.713
    *** SESSION ID:(208.1) 2011-01-31 09:32:40.713
    *** CLIENT ID:() 2011-01-31 09:32:40.713
    *** SERVICE NAME:() 2011-01-31 09:32:40.713
    *** MODULE NAME:() 2011-01-31 09:32:40.713
    *** ACTION NAME:() 2011-01-31 09:32:40.713
    def_comp: comp id 7 bp state 4
    And I din try opening the db with resetlogs. Do you want me to do that?
    thanks

  • Is there any way to activate the keep identity setting when using a Transfer SQL Server Object Task?

    Is there any way to add the "Keep Identity" option to the tables selected for transfer in a Transfer SQL Server Object Task?  It seems that would be very useful, yet I can't find an easily available setting for it.  I would prefer to
    accomplish this within the Transfer SQL Server Object Task since it can copy any new fields added to the source tables, as opposed to having to rebuild a custom Data Flow Task any time a table structure is altered.  I thought setting "CopyPrimaryKeys"
    to True would do the trick, but I found that only ensures that the column settings are transferred; when the transfer happens, the destination id column is populated based on the specified seed and increment value, not what's actually in the source table. 
    I'd like to point out that replication isn't really an option here. This is a package that runs a few times a day to keep some data on our website up to date with data in our protected corporate environment.

    IIRW there is FastLoadKeepIdentity specifies
    whether to keep an identity in OLEDB destination 
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Errors in alert log and listener log and "alter database mount exclusive"

    Hello!
    I need a help.
    Database 11R2 works under MS Windows Server.
    Whwn I start it using Services, according alert log it is started by command "alter database mount exclusive".
    Next - alter database open.
    After this, it seams that program, which should put data into database, can not work with it, because I see errors in alert log: ora-12537, 12560, 12535, 12570, 12547.
    What does itmean and what to do?
    This is extract from alert_log
    ORACLE_BASE from environment = C:\Oracle
    Mon Feb 04 14:54:53 2013
    alter database mount exclusive
    Successful mount of redo thread 1, with mount id 1458539517
    Database mounted in Exclusive Mode
    Lost write protection disabled
    Completed: alter database mount exclusive
    alter database open
    Thread 1 opened at log sequence 3105
    Current log# 3 seq# 3105 mem# 0: C:\ORACLE\ORADATA\xxx\REDO03.LOG
    Successful open of redo thread 1
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    SMON: enabling cache recovery
    Successfully onlined Undo Tablespace 2.
    Verifying file header compatibility for 11g tablespace encryption..
    Verifying 11g file header compatibility for tablespace encryption completed
    SMON: enabling tx recovery
    Database Characterset is AL32UTF8
    No Resource Manager plan active
    Mon Feb 04 14:55:04 2013
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    Mon Feb 04 14:55:06 2013
    QMNC started with pid=20, OS id=2860
    Completed: alter database open
    Mon Feb 04 14:55:11 2013
    Starting background process CJQ0
    Mon Feb 04 14:55:11 2013
    CJQ0 started with pid=25, OS id=2000
    Mon Feb 04 14:55:11 2013
    db_recovery_file_dest_size of 4977 MB is 0.00% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Mon Feb 04 15:00:29 2013
    Starting background process SMCO
    Mon Feb 04 15:00:29 2013
    SMCO started with pid=32, OS id=3212
    Edited by: kogotok1 on Feb 4, 2013 4:54 PM

    Thank you.
    But in the same time - when I see in alert log those error messages ora -12560, 12537,12535,12570 and so on - clients programs, whiie try to connect, hang up.
    For sql plus takes 20 minutes to connect.
    lsnrctl status gives the following
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 04-FEB-2013 16:01
    :46
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxx-BD.mosxxx
    .elektra.net)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 01-FEB-2013 10:22:48
    Uptime 3 days 5 hr. 39 min. 54 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\Oracle\listener.ora
    Listener Log File c:\oracle\diag\tnslsnr\xxx-BD\listener\alert\l
    og.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxx-BD.mosxxx.elektra.net)
    (PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XXX" has 2 instance(s).
    Instance "XXX", status UNKNOWN, has 1 handler(s) for this service...
    Instance "xxx", status READY, has 1 handler(s) for this service...
    Service "XXXDB" has 1 instance(s).
    Instance "xxx", status READY, has 1 handler(s) for this service...
    The command completed successfully
    To tell the truth I am confuse - I thought I have only 1 service "XXXDB" and 1 instance - "xxx".
    May be I have wrong entries in tnslsnr.ora?

  • 'alter database open resetlogs' didn't reset one of the datafiles

    I've spent the last three and a half weeks recovering an oracle database (11g 64-bit linux) because of a corrupt block in an online redo log (which I thought was being written to multiple locations). I restored the files, moving some of them around in the process; recovered to the latest possible point; moved files back to their proper location; ran 'alter database open resetlogs'; and one of the datafiles (from a bigfile tablespace) didn't get reset. I checked afterward, and it was marked offline. I do not remember placing the file offline, and cannot find such a statement in my last 300 sqlplus commands, which includes commands well before I renamed this file and the commands surrounding the rename.
    Restoring/recovering the database again will take too long, and is a remarkably poor option. Even if the database had opened correctly, the affected tablespace would not have been touched in the two or three minutes the database was open. Is there any way to force oracle to reset the logs again or otherwise fix this one file to mark it with the same date? Only allowing the resetlogs option after an incomplete recovery seems a poor restriction, especially, if files can slip through like this. I'm suspecting there is someway to just fix the checkpoint values for the tablespace, but I don't know where to begin. This particular file is <5% of the database, so if I have to do some sort of backup/restore with just it, that is probably doable.

    0: 11.1.0.6.0 on SUSE Linux Enterprise Server 10 SP2
    1: rman
    backup format '/opt/oracle/backup/mydatabase_%Y-%M-%D_%s_datafiles_%p' (database);
    backup format '/opt/oracle/backup/mydatabase_%Y-%M-%D_%s_archivelogs_%p' archivelog all delete input;
    backup format '/opt/oracle/backup/mydatabase_%Y-%M-%D_%s_control_%p' current controlfile spfile;
    2:
    restore database; --not sure what datafiles were restored with this
    restore datafile X; --several files were restored individually
    recover database until scn 1137554504; -- I verified that all datafiles were on the same checkpoint after this finished. Not having placed any files offline, I didn't bother checking that.
    3:
    SQL> alter database open resetlogs;
    Database altered.
    Elapsed: 00:04:20.34
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    4: Nothing in the tablespace has been touched since I ran 'alter database open resetlogs;'. It also appears that oracle placed the file offline (without me telling it to do so) and left it that way through the resetlogs, leaving the tablespace unusable during the time it was opened. The only things that would be out of date are the 'RESETLOGS_CHANGE#', the 'CHECKPOINT_CHANGE#', and associated values. It's still at the last scn before the resetlogs, and the system has been in archivelog mode the entire time. This is all information that Oracle could be tracking, and from a program logic standpoint there is no reason why Oracle cannot tie together the changes before the resetlogs, the resetlogs command and the changes after the resetlogs into a new, continuous string of changes. I assume there is some such feature in a high-caliber program because I'm actually a programmer (who would have included such advanced tracking features), and I've become a DBA out of necessity. I admit to not knowing all of the oracle DBA commands, hence me posting here before doing the work of submitting a request to metalink.
    5: I consider it a poor restriction because it doesn't always reset the logs on all files, and as far as my knowledge goes it has rendered my 3.5 week recovery process WORTHLESS. I suppose it could cause numerous errors, especially if the database wasn't cleanly shut down, but having the ability to do something equivalent to datafiles that oracle skipped the process on seems quite useful in my situation. I guess the more fundamental problem to complain about is that it would apply such changes to only some of the files, while leaving others unusable, instead of just giving me an error that some files weren't going to be reset, but I think I'm done venting my Oracle frustrations for now.
    Am I stuck with a tablespace that I cannot bring online with the database open, or is there some sort of 'alter database datafile' command (or anything else) that I know nothing of that will fix the straggling file?
    Edited by: jbo5112 on Oct 5, 2009 3:33 PM -- obfuscated some file names to secure identity.

  • (2008 R2) AD RMS Installation Failure: ALTER DATABASE failed because a lock could not be placed on database

    First-time install on a SBS 2011 server, name replaced as <SERVER> for this post. I had created a separate IIS site rather than using the Default Web Site and I am guessing this might be a permission issue on the folder...
    Installation failed with Event ID 110 and a repeating error that states, "<Error>: Attempt to configure Active Directory Rights Management Server failed. The provisioning process failed to create the Configuration database due to the following
    error from Sql Server: System.Data.SqlClient.SqlException: ALTER DATABASE failed because a lock could not be placed on database 'DRMS_Config_adrms_<SERVER>_local_443'. Try again later. ALTER DATABASE statement failed. ALTER DATABASE failed because a
    lock could not be placed on database ." Configuration as follows:
    <Informational>: This server might need to be restarted after the installation completes.
    Active Directory Rights Management Services
    Cluster Type
    Root cluster
    Trust Hierarchy
    Production
    Configuration Database Server
    Windows Internal Database
    Service Account
    <SERVER>\adrms
    Cluster Key Storage
    AD RMS centrally managed key storage
    Cluster Web Site
    Active Directory RMS
    Cluster Internal Address
    https://adrms.<SERVER>.local:443/
    SSL Certificate
    Create a self-signed certificate
    Licensor Certificate Name
    <SERVER>
    Register SCP
    Register now

    Hi Ahmad, I have the same problem, I have a server windows server 2008 R2 standard. While
    doing an Enterprise to Standard downgrade, I have removed enterprise edition of SQL Server 2008, rebooted and while installing standard edition, I get the below error saying "You SQL server 2008 installation completed with failures. Some or all identity
    references could not be translated"
    Bit of background. This server has another express instance of SQL Server 2008. I have
    used local system account, network service as well as our general SQL service account, but I get the error towards the end of the installation and it fails saying “Some or all identity references could not be translated.”
    I am installing a named instance with the same name as before but fails. I have tried
    creating a new test instance that fails too. Any ideas? I have uninstalled SQL enterprise edition from
    Add and Remore Programs/Programs and Features. I've also run the Windows Installer CleanUp Utility but no joy.
    Cheers

  • Alter database switch logfile

    Hi friends,
    Oracle DB 9i
    I am making a standby database backup (hi-brid), and keep updating every hour on top of the hour sked it with the archive logs generated.
    I am just confused a little. If I have 3 logfiles, and if I command "alter database switch log files", does the 3 logfiles
    be converted to the backup archive logs ? or only one of them only, and I have to issue the command 3x so that I will be able to get all the latest transaction inside the 3 redo logfiles to be applied at the standby server.
    Thanks a lot,
    Ms Inday

    crystal wrote:
    oh i see :D , so at any time there is one and only one redo log group that has data? all the other 2 are empty?not empty, but already archived. When an online redo log fills, there is an automatic switch to the next group. As soon as the switch is complete, the archiver will start archiving the group that was just filled. Archiving does not wait until all redo groups are filled.
    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.12.17 14:54:47 =~=~=~=~=~=~=~=~=~=~=~=
    login as: oracle
    oracle@vmlnx01's password:
    Last login: Fri Dec 17 14:49:39 2010 from 192.168.160.1
    [oracle@vmlnx01 ~]$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Dec 17 14:55:08 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> select group#, archived, status from v$log order by 1;
    alter system switch logfile;
        GROUP# ARC STATUS
    1 YES INACTIVE
    2 YES INACTIVE
    3 NO  CURRENT
    SQL>
    System altered.
    SQL> select group#, archived, status from v$log order by 1;
    alter system switch logfile;
        GROUP# ARC STATUS
    1 NO  CURRENT
    2 YES INACTIVE
    3 YES ACTIVE
    SQL>
    System altered.
    SQL> select group#, archived, status from v$log order by 1;
    alter system switch logfile;
        GROUP# ARC STATUS
    1 YES ACTIVE
    2 NO  CURRENT
    3 YES ACTIVE
    SQL>
    System altered.
    SQL> select group#, archived, status from v$log order by 1;
    alter system switch logfile;
        GROUP# ARC STATUS
    1 YES INACTIVE
    2 YES INACTIVE
    3 NO  CURRENT
    SQL>
    System altered.
    SQL> select group#, archived, status from v$log order by 1;
    alter system switch logfile;
        GROUP# ARC STATUS
    1 NO  CURRENT
    2 YES INACTIVE
    3 YES ACTIVE
    SQL>
    System altered.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@vmlnx01 ~]$ exit
    logout

  • KEEP IDENTITY questions

    Hi there,
    I'm trying to figure out something about rolling upgrades with a transient logical standby that seems to escape me.
    So, one of the first steps is to convert the standby database to a logical standby (with KEEP IDENTITY clause), startup for upgrade, and then run the catupgrd script. During this time the standby is not applying redo from the primary.
    I understand that the KEEP IDENTITY clause causes the logical standby to retain the same DBID and name as the primary database.
    Questions:
    1. Why is KEEP IDENTITY required? For example, what would happen if the KEEP IDENTITY clause was not used during the upgrade, and the standby retained it's own identity?
    2. Is KEEP IDENTITY a specific requirement for the upgrade process, or can this clause be used for other uses?
    3. This question is not specifically related to "KEEP IDENTITY". So, how is it possible that you can run catupgrd to upgrade the standby database and THEN begin to receive redo from the primary? I know in a physical standby, the system would balk because of different system SCNs after the catupgrd prevent it from doing managed recovery. So does a logical standby ignore SCNs? (Sorry, I know physical standbys well, but not enough about logical standbys to answer this question myself)
    Any answers would be appreciated...
    Thanks.
    Rob

    Questions:
    1. Why is KEEP IDENTITY required? For example, what would happen if the KEEP IDENTITY clause was not used during the upgrade, and the standby retained it's own identity?
    2. Is KEEP IDENTITY a specific requirement for the upgrade process, or can this clause be used for other uses?
    3. This question is not specifically related to "KEEP IDENTITY". So, how is it possible that you can run catupgrd to upgrade the standby database and THEN begin to receive redo from the primary? I know in a physical standby, the system would balk because of different system SCNs after the catupgrd prevent it from doing managed recovery. So does a logical standby ignore SCNs? (Sorry, I know physical standbys well, but not enough about logical standbys to answer this question myself)What is your version?
    For db_name, specify a database name to identify the new logical standby database. If you are using a server parameter file (spfile) at the time you issue this statement, then the database will update the file with appropriate information about the new logical standby database. If you are not using an spfile, then the database issues a message reminding you to set the name of the DB_NAME parameter after shutting down the database.
    a rolling upgrade from Oracle 11g Release 1 to Oracle 11g Release 2 using a Transient Logical Standby database. This approach will miminise the downtime required for an upgrade which can potentially run into several hours down to just the time required to perform a switchover which could be a few minutes in most cases.
    A rolling upgrade using a Transient Logical Standby database at a very high level will involve three main stages or steps:
    1) Temporarily convert a physical standby database to a logical standby database using the new KEEP IDENTITY clause
    2) Perform a database upgrade of the logical standby database
    3) Return the logical standby database back to its identity or original status as a physical standby database once the upgrade is completeHere some great links
    http://gavinsoorma.com/tag/keep-identity/
    http://docs.oracle.com/cd/B28359_01/server.111/b28294/create_ls.htm

  • Database gets into hanging position

    Hi All,
    I am using Oracle 10G R2 on windows.Size of all the dbf file gets increase suddenly due to insertion of huge data. But size on disk gets full and my database gets into hang position. So someone please suggest me the solution for this ? Or how can i compress the datafiles?

    This problem seems to be a fuzzy assumption. Oracle must have returned an error for any problem. What is your db's role for you and how much is it important. If you are using this for development purpose the I would suggest you to recreate db with more manageable design/options. eg keep autoextend off and purge unusable data regularly.

  • Oracle hands for 12 min during "alter database open"

    Dear all,
    After a disk failure/replacement in a SAN disk array that we are using for storage, we had to restore our Oracle database. After the restore the database does not start properly: It takes around 12 min to move from the state "Mount" to the state "Open". It finally opens but even after this, when I start SAP, only 5 workprocesses connect and logging into SAP is not possible, the gui just hangs
    There are no errors in the alert_RSP.log. I attach an extract here to show the time difference between the mount state and the open state
    Thu Apr 19 11:16:07 2007
    Starting ORACLE instance (normal)
    Thu Apr 19 11:16:29 2007
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SCN scheme 3
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 9.2.0.7.0.
    System parameters with non-default values:
      processes                = 240
      sessions                 = 288
      timed_statistics         = TRUE
      event                    = 38068 trace name context forever, level 100
      shared_pool_size         = 620756992
      sga_max_size             = 1159695232
      shared_pool_reserved_size= 20401094
      java_pool_size           = 167772160
      enqueue_resources        = 8000
      filesystemio_options     = SETALL
      control_files            = /oracle/RSP/sapdata1/cntrl/cntrlRSP.dbf, /oracle/RSP/origlogA/cntrl/cntrlRSP.dbf, /oracle/RSP/sa
    parch/cntrl/cntrlRSP.dbf
      db_block_checksum        = FALSE
      db_block_size            = 8192
      compatible               = 9.2.0
      log_archive_start        = TRUE
      log_archive_dest         = /oracle/RSP/saparch/RSParch
      log_buffer               = 1048576
      log_checkpoint_interval  = 0
      log_checkpoint_timeout   = 0
      db_files                 = 254
      db_file_multiblock_read_count= 8
      log_checkpoints_to_alert = TRUE
      control_file_record_keep_time= 30
      dml_locks                = 5000
      replication_dependency_tracking= FALSE
      transaction_auditing     = FALSE
      undo_management          = AUTO
    undo_tablespace          = PSAPUNDO
      undo_suppress_errors     = TRUE
      undo_retention           = 43200
      remote_os_authent        = TRUE
      db_domain                = WORLD
      session_cached_cursors   = 800
      hash_join_enabled        = FALSE
      background_dump_dest     = /oracle/RSP/saptrace/background
      user_dump_dest           = /oracle/RSP/saptrace/usertrace
      max_dump_file_size       = 20000
      core_dump_dest           = /oracle/RSP/saptrace/background
      optimizer_features_enable= 9.2.0
      sort_area_size           = 2097152
      sort_area_retained_size  = 0
      db_name                  = RSP
      open_cursors             = 800
      optimizer_mode           = choose
      sortelimination_cost_ratio= 10
      btree_bitmap_plans     = FALSE
      pushjoin_predicate     = FALSE
      optimizerjoin_sel_sanity_check= TRUE
      optimizer_index_cost_adj = 10
      optimpeek_user_binds   = FALSE
      optimizeror_expansion  = DEPTH
    PMON started with pid=2
    DBW0 started with pid=3
    DBW1 started with pid=4
    DBW2 started with pid=5
    DBW3 started with pid=6
    LGWR started with pid=7
    CKPT started with pid=8
    SMON started with pid=9
    RECO started with pid=10
    Thu Apr 19 11:16:31 2007
    ARCH: STARTING ARCH PROCESSES
    ARC0 started with pid=11
    ARC0: Archival started
    ARC1 started with pid=12
    ARC1: Archival started
    Thu Apr 19 11:16:31 2007
    ARCH: STARTING ARCH PROCESSES COMPLETE
    Thu Apr 19 11:16:31 2007
    ARC0: Becoming the 'no FAL' ARCH
    ARC0: Becoming the 'no FAL' ARCHARC0: Thread not mounted
    Thu Apr 19 11:16:31 2007
    ARC1: Becoming the heartbeat ARCH
    ARC1: Becoming the heartbeat ARCHARC1: Thread not mounted
    Thu Apr 19 11:16:31 2007
    ALTER DATABASE   MOUNT
    Thu Apr 19 11:16:36 2007
    Successful mount of redo thread 1, with mount id 1209727119
    Thu Apr 19 11:16:36 2007
    Database mounted in Exclusive Mode.
    Completed: ALTER DATABASE   MOUNT
    Thu Apr 19 11:16:36 2007
    ALTER DATABASE OPEN
    Thu Apr 19 11:16:37 2007
    LGWR: Primary database is in CLUSTER CONSISTENT mode
    Thread 1 opened at log sequence 6727
      Current log# 12 seq# 6727 mem# 0: /oracle/RSP/origlogB/log_g12m1.dbf
      Current log# 12 seq# 6727 mem# 1: /oracle/RSP/mirrlogB/log_g12m2.dbf
    Successful open of redo thread 1
    Thu Apr 19 11:16:37 2007
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Thu Apr 19 11:16:38 2007
    SMON: enabling cache recovery
    Thu Apr 19 11:16:49 2007
    Successfully onlined Undo Tablespace 27.
    Thu Apr 19 11:16:49 2007
    SMON: enabling tx recovery
    Thu Apr 19 11:16:50 2007
    Database Characterset is WE8DEC
    Thu Apr 19 11:29:09 2007
    Completed: ALTER DATABASE OPEN
    Please note the time difference between 11:16:50 and 11:29:09, when the database is mounted and we are just waiting for it to open
    I run dbverify, all ok
    I reviewed note 521264 and my issue is described in case 2c. However, after reviewing all 127 datafiles and online redologs, I do not have any files with an "S" in their permissions
    We run Solaris 10, Oracle 9.2.0.7 and WAS 6.40 SP16
    Any help will be very much appreciated
    Many thanks
    Andreas

    Hello,
    Here are the details:
    R3trans -d returns 0000 instantly. I am not including trans.log here as the connection to the database works . I have no space issues neither, have around 70GB left under /oracle
    The startup log is as follows
    Trace of system startup/check of SAP System RSP on Fri Apr 20 08:38:10 BST 2007
    Called command: /usr/sap/RSP/SYS/exe/run/startsap
    Starting SAP Instance DVEBMGS00
    SAP-R/3-Startup Program Rel 640 V1.8 (2003/04/24)
    Starting at 2007/04/20 08:38:10
    Startup Profile: "/usr/sap/RSP/SYS/profile/START_DVEBMGS00_rspda002"
    Execute Pre-Startup Commands
    (6285) Local: /usr/sap/RSP/SYS/exe/run/sapmscsa -n pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
    /usr/sap/RSP/SYS/exe/run/sapmscsa: SCSA is attached and useable.
    /usr/sap/RSP/SYS/exe/run/sapmscsa: finished.
    (6285) Local: rm -f ms.sapRSP_DVEBMGS00
    (6285) Local: ln -s -f /usr/sap/RSP/SYS/exe/run/msg_server ms.sapRSP_DVEBMGS00
    (6285) Local: rm -f dw.sapRSP_DVEBMGS00
    (6285) Local: ln -s -f /usr/sap/RSP/SYS/exe/run/disp+work dw.sapRSP_DVEBMGS00
    (6285) Local: rm -f co.sapRSP_DVEBMGS00
    (6285) Local: ln -s -f /usr/sap/RSP/SYS/exe/run/rslgcoll co.sapRSP_DVEBMGS00
    (6285) Local: rm -f se.sapRSP_DVEBMGS00
    (6285) Local: ln -s -f /usr/sap/RSP/SYS/exe/run/rslgsend se.sapRSP_DVEBMGS00
    Starting Programs
    (6304) Starting: local ms.sapRSP_DVEBMGS00 pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
    (6305) Starting: local dw.sapRSP_DVEBMGS00 pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
    (6306) Starting: local co.sapRSP_DVEBMGS00 -F pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
    (6307) Starting: local se.sapRSP_DVEBMGS00 -F pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
    (6285) Waiting for Child Processes to terminate.
    Instance on host rspda002 started
    ps -ef | grep dw is shown below: It only starts 5 -6 dialog processes. All the other processes are not started (normally I have around 40 )
    rspda002:rspadm 33% ps -ef | grep dw
      rspadm  6317  6305   0 08:38:17 ?           0:00 dw.sapRSP_DVEBMGS00 pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
      rspadm  6310  6305   0 08:38:16 ?           0:01 dw.sapRSP_DVEBMGS00 pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
      rspadm  6311  6305   0 08:38:16 ?           0:00 dw.sapRSP_DVEBMGS00 pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
      rspadm  6624  5523   0 08:43:35 pts/1       0:00 grep dw
      rspadm  6305  6285   0 08:38:11 ?           0:04 dw.sapRSP_DVEBMGS00 pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
      rspadm  6312  6305   0 08:38:17 ?           0:01 dw.sapRSP_DVEBMGS00 pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
      rspadm  6313  6305   0 08:38:17 ?           0:00 dw.sapRSP_DVEBMGS00 pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
    That is ps -ef | grep sap
    rspda002:rspadm 32% ps -ef | grep sap
      rspadm  6317  6305   0 08:38:17 ?           0:00 dw.sapRSP_DVEBMGS00 pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
      rspadm  6310  6305   0 08:38:16 ?           0:01 dw.sapRSP_DVEBMGS00 pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
        root 12375   650   0 11:15:58 ?           3:56 /usr/sap/RSP/SYS/exe/run/saposcol
      rspadm  6311  6305   0 08:38:16 ?           0:00 dw.sapRSP_DVEBMGS00 pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
      rspadm  6309  6305   0 08:38:16 ?           0:01 icman -attach pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
      rspadm  6306  6285   0 08:38:11 ?           0:00 co.sapRSP_DVEBMGS00 -F pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
      rspadm  6307  6285   0 08:38:11 ?           0:00 se.sapRSP_DVEBMGS00 -F pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
      rspadm  6304  6285   0 08:38:11 ?           0:00 ms.sapRSP_DVEBMGS00 pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
      rspadm  6308  6305   0 08:38:16 ?           0:02 gwrd -dp pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
      rspadm  6622  5523   0 08:43:29 pts/1       0:00 grep sap
      rspadm  6305  6285   0 08:38:11 ?           0:04 dw.sapRSP_DVEBMGS00 pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
      rspadm 20243   650   0 15:11:34 ?          13:11 sapccm4x -DCCMS pf==/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
      rspadm  6285   650   0 08:38:11 ?           0:00 /usr/sap/RSP/SYS/exe/run/sapstart pf=/usr/sap/RSP/SYS/profile/START_DVEBMGS00_r
      rspadm  6312  6305   0 08:38:17 ?           0:01 dw.sapRSP_DVEBMGS00 pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
      rspadm  6313  6305   0 08:38:17 ?           0:00 dw.sapRSP_DVEBMGS00 pf=/usr/sap/RSP/SYS/profile/RSP_DVEBMGS00_rspda002
    Many thanks
    Andreas

  • Alter java source compile hangs on cpu

    When trying to compile java on the database, the session hangs, and is consuming massive CPU.
    Statements executed:
    create or replace java source named "hw" as
    public class hw {public static String helloWho(String ename) {return "Hello "+ename;}}
    alter java source "hw" compile
    This worked before. Same problem occurs when using javaload. I tried this in a newly created schema aswell. Any ideas?
    Db is a 11.2.0.1.0
    Regards, Jan

    Jan Leers wrote:
    When trying to compile java on the database, the session hangs, and is consuming massive CPU.
    Statements executed:
    create or replace java source named "hw" as
    public class hw {public static String helloWho(String ename) {return "Hello "+ename;}}
    alter java source "hw" compile
    This worked before. Same problem occurs when using javaload. I tried this in a newly created schema aswell. Any ideas?
    Db is a 11.2.0.1.0
    Regards, Jandoes code do DML?
    does code do COMMIT?

  • What is the use of 'ALTER DATABASE CLOSE'?

    Hello Everybody,
    SQL*Plus: Release 10.1.0.2.0 - Production on Ma Aug 15 21:28:30 2005
    Copyright © 1982, 2004, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> conn / as sysdba
    Connected.
    SQL> startup force
    ORACLE instance started.
    Total System Global Area 171966464 bytes
    Fixed Size 787988 bytes
    Variable Size 145750508 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 262144 bytes
    Database mounted.
    Database opened.
    SQL> select status from v$instance;
    STATUS
    OPEN
    SQL> alter database close;
    Database altered.
    SQL> select status from v$instance;
    STATUS
    MOUNTED
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-16196: database has been previously opened and closed
    If i have to shutdown the instance and database then
    WHAT IS THE USE OF 'ALTER DATABASE CLOSE' ?
    I need explanation. Why should i shutdown?
    Dont give me this answer.
    ORA-16196: database has been previously opened and closed
    Cause: The instance has already opened and closed the database, which is allowed only once in its lifetime.
    Action: Shut down the instance.

    If you read the documentation you will see that there is no ALTER DATABASE CLOSE command.
    This is an undocumented Oracle command, which we are not supposed to use. Consequently we are not allowed to complain about the way that it works. Instead we're supposed to use SHUTDOWN IMMEDIATE.
    Cheers, APC

  • Alter database statement in anonymous pl/sql block

    Is it possible to include an alter database statement in an anonymous pl/sql block?
    When I execute this code to query user_tables for all table names, disable their constraints and drop the table, I got the following error:
    ***MY CODE
    -- DECLARE VARIABLE(S)
    DECLARE
         v_TABLE_NAME TABLE_NAME.USER_TABLE%TYPE;
    -- DECLARE AND DEFINE CURSOR
    CURSOR c_GETTABLES is
         SELECT TABLE_NAME from USER_TABLES;
    BEGIN
    OPEN c_GETTABLES;
    LOOP
    FETCH c_GETTABLES into v_TABLE_NAME;
    EXIT when c_GETTABLES%notfound;     
    ALTER TABLE v_TABLE_NAME DISABLE PRIMARY KEY CASCADE;
    DROP TABLE v_TABLE_NAME;
    END LOOP;
    CLOSE c_GETTABLES;
    END;
    ***RESPONSE FROM SERVER
    ALTER TABLE v_TABLE_NAME DISABLE PRIMARY KEY CASCADE;
    ERROR at line 15:
    ORA-06550: line 15, column 1:
    PLS-00103: Encountered the symbol "ALTER" when expecting one of the following:
    begin case declare exit for goto if loop mod null pragma
    raise return select update while with <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> <<
    close current delete fetch lock insert open rollback
    savepoint set sql execute commit forall merge
    <a single-quoted SQL string> pipe
    Thanks

    When you want to perform ddl statements in a (anonymous) PL/SQL block, you have to use dynamic SQL because ddl is not possible in pl/sql.
    Dynamic sql means that you sort of execute ddl statements in a sql manner. To use dynamic sql, two options exist:
    - dbms_sql package : for oracle before 8i. To use this package is not always easy. Read about it carefully first before using.
    - Native Dynamic SQL : implemented in 8i and very easy to use. An example would be :
    declare
    lv_statement varchar2(32676);
    begin
    lv_statement := 'ALTER TABLE MY_TABLE DISABLE CONSTRAINT MY_TABLE_CK1';
    execute immediate lv_statement;
    lv_statement := 'ALTER TABLE MY_TABLE ENABLE CONSTRAINT MY_TABLE_CK1';
    execute immediate lv_statement;
    end;
    Good luck.
    Edwin van Hattem

Maybe you are looking for

  • NAC and SSL - fails to import password protected private key

    I am attempting to import an SSL certificate on my CCA Manager and Server. I purchased a wild card SSL cert *.domain.com. The private key used to generate the certificate was created on an Cisco ACS 3.2 server and has a password. When attempting to i

  • Down Payment Report (SAP Std)

    Is there any SAP Standard Report available for viewing the different down payments paid and final payment by the customer in case of milestone billing? Plz help. Regards, Anbu

  • SWFTools using Alchemy

    Hi all, i'm trying to compile SWFTools (www.swftools.org) using Alchemy. The dependency's (jpeglib, zlib) compiled just like a charm, just the main project won't These errors accure: <!-- compile errors --> llvm-g++: GFXOutputDev.obj: linker input fi

  • [solved] pacman no longer shows download progress of packages

    Just in the last few days, download progress is no longer shown. Is this by design? It's kind of annoying in any case. Searched and didn't see other comments about it. Last edited by yodermk (2015-02-08 23:07:30)

  • Some pages not loading on Safari 7.0.1

    Yesterday, many pages (Youtube, Facebook, Google, apple.com) stopped loading on Safari 7.0.1. I followed one thread that recommended checking my proxies, and I deleted some comment from my proxies settings, but that provided temporarily relief for fa