Is producation database must??

I just completed the installation of OEBS with Vision Demo Database. I am installing EBS to learn EBS. I didn't installed Production database is it necessary for me? what is the use of production database? Do i get any situation or case in my learning process where i have to use the production database?
Another problem--
I got a big list of folders in my All Programs menu after installing the vision database. In those folders when i click an icon, Its asking me to browse the file.......there are many short cuts in those folders and every shortcut is asking me to find the file. what does this mean? Does my installation successful? How to check this?
Thanks,
Pratap

Hi,
I just completed the installation of OEBS with Vision Demo Database. I am installing EBS to learn EBS. I didn't installed Production database is it necessary for me? what is the use of production database? Do i get any situation or case in my learning process where i have to use the production database?Production and Vision Demo installation are alike except for the data. Production database is a clean database and requires functional setup to let you access the modules successfully while vision demo database comes with seeded data, and ready for use.
Another problem--
I got a big list of folders in my All Programs menu after installing the vision database. In those folders when i click an icon, Its asking me to browse the file.......there are many short cuts in those folders and every shortcut is asking me to find the file. what does this mean? Does my installation successful? How to check this?Did you have any previous failed installation and you forgot to clean those shortcuts? If the shortcuts point to directories which do not exist, it should be safe to delete it. Please note that each time you run AutoConfig those shortcuts under "All Programs" will be created for you.
To ensure that your installation was successful, you need to check the main functionality of the system (login to the application, query/save data, submit a concurrent request, ..etc).
You may also refer to this document for a health check list you can follow.
Note: 283976.1 - Applications 11i Health Check After Maintenance
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=283976.1
Regards,
Hussein

Similar Messages

  • ORA-10827: database must be opened with MIGRATE option

    Hi,
    We are trying to migrate an Oracle 8.1.7 database to an Oracle 9i(9.2) database. I moved all the database files to the appr folder and I created a new instance using:
    oradim -new -sid PROD -intpwd Oracle -startmode a -pfile C:\oracle\OraDb\Neuropace\initPROD.ORA.
    I checked the alter log file and I get the following error:
    ORA-10827: database must be opened with MIGRATE option.
    How should one go about migrating a database(different versions). I went ahead with the migration. I opened the database using
    alter database open resetlogs migrate.
    But when i log into the database, I get an internal code error.
    Any pointers?.

    You must not open normally your database after an upgrade, in short the method is
    1) startup migrate
    2) run the upgrade script (which one depends on your old database version)
    For step-by-step instructions see
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96530/upgrade.htm#1009200
    'alter database open resetlogs migrate' is only applicable to upgrades from version 7 to 9.2, hopefully your database is not corrupted now.

  • Database not found/Error: ORA-16621: database name for ADD DATABASE must be

    I am new to Data Guard and am trying to set up Data Guard Broker. I had created a configuration file with both my primary and standby databases and at one time I could show both databases. But now I can no longer show the standby database nor can I enable, disable or reinstate it. Here is what I have:
    Primary Database: orcl10g
    Standby Database: 10gSB
    DGMGRL> show configuration
    Configuration
    Name: orcl10g
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    orcl10g - Primary database
    10gSB - Physical standby database
    Current status for "orcl10g":
    SUCCESS
    DGMGRL> show database verbose orcl10g
    Database
    Name: orcl10g
    Role: PRIMARY
    Enabled: YES
    Intended State: ONLINE
    Instance(s):
    orcl10g
    Properties:
    InitialConnectIdentifier = 'orcl10g'
    LogXptMode = 'ASYNC'
    Dependency = ''
    DelayMins = '0'
    Binding = 'OPTIONAL'
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = '300'
    NetTimeout = '180'
    LogShipping = 'ON'
    PreferredApplyInstance = ''
    ApplyInstanceTimeout = '0'
    ApplyParallel = 'AUTO'
    StandbyFileManagement = 'AUTO'
    ArchiveLagTarget = '0'
    LogArchiveMaxProcesses = '30'
    LogArchiveMinSucceedDest = '1'
    DbFileNameConvert = '10gSB, orcl10g'
    LogFileNameConvert = '/oracle/oracle/product/10.2.0/oradata/orcl10g/redo01.log, /oracle/oracle/product/10.2.0/oradata/10gSB/redo01.log, /oracle/oracle/product/10.2.0/oradata/orcl10g/redo02.log, /oracle/oracle/product/10.2.0/oradata/10gSB/redo02.log, /oracle/oracle/product/10.2.0/oradata/orcl10g/redo03.log, /oracle/oracle/product/10.2.0/oradata/10gSB/redo03.log'
    FastStartFailoverTarget = ''
    StatusReport = '(monitor)'
    InconsistentProperties = '(monitor)'
    InconsistentLogXptProps = '(monitor)'
    SendQEntries = '(monitor)'
    LogXptStatus = '(monitor)'
    RecvQEntries = '(monitor)'
    HostName = 'remarkable.mammothnetworks.com'
    SidName = 'orcl10g'
    LocalListenerAddress = '(ADDRESS=(PROTOCOL=tcp)(HOST=remarkable.mammothnetworks.com)(PORT=1521))'
    StandbyArchiveLocation = '/oracle/flash_recovery_area/orcl10g/archivelog'
    AlternateLocation = ''
    LogArchiveTrace = '1024'
    LogArchiveFormat = '%t_%s_%r.arc'
    LatestLog = '(monitor)'
    TopWaitEvents = '(monitor)'
    Current status for "orcl10g":
    SUCCESS
    DGMGRL> show database verbose 10gSB
    Object "10gsb" was not found
    DGMGRL>
    DGMGRL> remove database 10gSB
    Object "10gsb" was not found
    DGMGRL>
    DGMGRL> reinstate database 10gSB
    Object "10gsb" was not found
    DGMGRL>
    DGMGRL> enable database 10gSB
    Object "10gsb" was not found
    DGMGRL>
    DGMGRL> add database '10gSB' as
    connect identifier is 10gSB
    maintained as physical;Error: ORA-16621: database name for ADD DATABASE must be unique
    Failed.
    How can I get Data Guard to see the standby database correctly again?

    Thank you for the constructive feedback. I have been able to make progress on this issue.
    I did check the Data Guard Log files as you suggested. I did not find anything when I checked them before but this time I found the following:
    DG 2011-06-16-17:23:18 0 2 0 RSM detected log transport problem: log transport for database '10gSB' has the following error.
    DG 2011-06-16-17:23:18 0 2 0 RSM0: HEALTH CHECK ERROR: ORA-16737: the redo transport service for standby database "10gSB" has an error
    DG 2011-06-16-17:23:18 0 2 0 NSV1: Failed to connect to remote database 10gSB. Error is ORA-12514
    DG 2011-06-16-17:23:18 0 2 0 RSM0: Failed to connect to remote database 10gSB. Error is ORA-12514
    DG 2011-06-16-17:23:18 0 2 753988034 Operation CTL_GET_STATUS cancelled during phase 2, error = ORA-16778
    DG 2011-06-16-17:23:18 0 2 753988034 Operation CTL_GET_STATUS cancelled during phase 2, error = ORA-16778
    I verified that I am able to connect to both the primary and standby databases via external connections:
    -bash-3.2$ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 17-JUN-2011 12:41:03
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 17-JUN-2011 01:40:30
    Uptime 0 days 11 hr. 0 min. 32 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Listener Log File /oracle/oracle/product/10.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=remarkable.mammothnetworks.com)(PORT=1521)))
    Services Summary...
    Service "10gSB" has 1 instance(s).
    Instance "10gSB", status READY, has 1 handler(s) for this service...
    Service "10gSB_DGB" has 1 instance(s).
    Instance "10gSB", status READY, has 1 handler(s) for this service...
    Service "10gSB_XPT" has 1 instance(s).
    Instance "10gSB", status READY, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl10g" has 1 instance(s).
    Instance "orcl10g", status READY, has 1 handler(s) for this service...
    Service "orcl10gXDB" has 1 instance(s).
    Instance "orcl10g", status READY, has 1 handler(s) for this service...
    Service "orcl10g_DGB" has 1 instance(s).
    Instance "orcl10g", status READY, has 1 handler(s) for this service...
    Service "orcl10g_XPT" has 1 instance(s).
    Instance "orcl10g", status READY, has 1 handler(s) for this service...
    The command completed successfully
    -bash-3.2$
    -bash-3.2$
    -bash-3.2$ sqlplus system/dbas4ever@orcl10g
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jun 17 12:43:41 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    -bash-3.2$ sqlplus system/dbas4ver@10gSB
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jun 17 12:43:59 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress <== I think this is normal since the database is in mount mode
    Enter user-name:
    I also checked the listener log file and did see and error associated with a known bug:
    WARNING: Subscription for node down event still pending
    So I added the following to the listener.ora file and bounced the listener:
    SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF
    That seems to have taken care of the error.
    The following is my listener.ora file:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc)
    (SID_DESC = ( GLOBAL_DBNAME = 10gsb_DGMGRL.remarkable.mammothnetworks.com )
    ( SERVICE_NAME = 10gsb.remarkable.mammothnetworks.com )
    ( SID_NAME = 10gsb )
    ( ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1 )
    (SID_DESC = ( GLOBAL_DBNAME = orcl10g_DGMGRL.remarkable.mammothnetworks.com )
    ( SERVICE_NAME = orcl10g.remarkable.mammothnetworks.com )
    ( SID_NAME = orcl10g )
    ( ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1 )
    (SID_DESC = ( GLOBAL_DBNAME = orcl10g.remarkable.mammothnetworks.com )
    ( SERVICE_NAME = orcl10g.remarkable.mammothnetworks.com )
    ( SID_NAME = orcl10g )
    ( ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1 )
    (SID_DESC = ( GLOBAL_DBNAME = 10gsb.remarkable.mammothnetworks.com )
    ( SERVICE_NAME = 10gsb.remarkable.mammothnetworks.com )
    ( SID_NAME = 10gsb )
    ( ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1 )
    SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF
    I again tried connecting externally to the standby database:
    -bash-3.2$ sqlplus system/dbas4ever@10gSB
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jun 17 13:09:00 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    Enter user-name:
    and see this in the listener.log file:
    17-JUN-2011 13:10:22 * (CONNECT_DATA=(SERVICE_NAME=10gSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=199.187.124.130)(PORT=11357)) * establish * 10gSB_XPT * 0
    17-JUN-2011 13:10:22 * (CONNECT_DATA=(SERVICE_NAME=10gSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=199.187.124.130)(PORT=11358)) * establish * 10gSB_XPT * 0
    17-JUN-2011 13:10:24 * service_update * 10gSB * 0
    17-JUN-2011 13:10:30 * (CONNECT_DATA=(SID=orcl10g)(CID=(PROGRAM=perl)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=25119)) * establish * orcl10g * 0
    17-JUN-2011 13:10:30 * (CONNECT_DATA=(SID=orcl10g)(CID=(PROGRAM=perl)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=25120)) * establish * orcl10g * 0
    17-JUN-2011 13:10:30 * (CONNECT_DATA=(SID=orcl10g)(CID=(PROGRAM=emagent)(HOST=localhost.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=25121)) * establish * orcl10g * 0
    17-JUN-2011 13:11:22 * (CONNECT_DATA=(SERVICE_NAME=10gSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=199.187.124.130)(PORT=11420)) * establish * 10gSB_XPT * 0
    17-JUN-2011 13:11:22 * (CONNECT_DATA=(SERVICE_NAME=10gSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=199.187.124.130)(PORT=11422)) * establish * 10gSB_XPT * 0
    17-JUN-2011 13:11:24 * service_update * 10gSB * 0
    I tried again to see the database in Data Guard Broker:
    DGMGRL> show database 10gSB
    Object "10gsb" was not found
    however, I then was able to add the database in Data Guard Broker:
    DGMGRL> add database 10gSB
    as connect identifier is 10gSB
    maintained as physical;Database "10gsb" added <== this is progress!!!
    However the configuration shows the following:
    DGMGRL> show database 10gSB
    Database
    Name: 10gsb
    Role: PHYSICAL STANDBY
    Enabled: NO
    Intended State: OFFLINE
    Instance(s):
    10gSB
    Current status for "10gsb":
    DISABLED <=====
    So I tried to enable the database:
    DGMGRL> enable database 10gSB
    Error: ORA-16626: failed to enable specified object
    Failed.
    and I tried to reinstate the database:
    DGMGRL> reinstate database 10gSB
    Reinstating database "10gsb", please wait...
    Error: ORA-16653: failed to reinstate database
    Failed.
    Reinstatement of database "10gsb" failed
    So I checked the configuration and now see two entries for the standby database but with case differences:
    DGMGRL> show configuration
    Configuration
    Name: orcl10g
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    orcl10g - Primary database
    10gSB - Physical standby database
    10gsb - Physical standby database (disabled)
    Current status for "orcl10g":
    SUCCESS
    Question: How do I get rid of 10gSB and enable 10gsb?

  • ORA-39700: database must be opened with UPGRADE option

    Dear buddies,
    I just opened my database : startup upgrade and it started up.
    But couldn't perform a backup.
    Should I be running pupbld?
    Could this problem be due to some opatch?
    Here is a part of my alert log:
    Thread 1 opened at log sequence 1050
    Current log# 3 seq# 1050 mem# 0: D:\ORACLE\DATA\MIG\LOG_03.DBF
    Successful open of redo thread 1
    Wed Aug 11 13:35:15 2010
    MTTR advisory is disabled because either FAST_START_IO_TARGET or LOG_CHECKPOINT_INTERVAL is set
    Wed Aug 11 13:35:15 2010
    SMON: enabling cache recovery
    Wed Aug 11 13:35:16 2010
    Errors in file d:\oracle\admin\mig\udump\mig_ora_1564.trc:
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Wed Aug 11 13:35:16 2010
    Error 704 happened during db open, shutting down database
    USER: terminating instance due to error 704
    Wed Aug 11 13:35:16 2010
    Errors in file d:\oracle\admin\mig\bdump\mig_pmon_3088.trc:
    ORA-00704: bootstrap process failure
    Wed Aug 11 13:35:16 2010
    Errors in file d:\oracle\admin\mig\bdump\mig_reco_1868.trc:
    ORA-00704: bootstrap process failure
    Wed Aug 11 13:35:16 2010
    Errors in file d:\oracle\admin\mig\bdump\mig_psp0_2624.trc:
    ORA-00704: bootstrap process failure
    Wed Aug 11 13:35:16 2010
    Errors in file d:\oracle\admin\mig\bdump\mig_mman_3312.trc:
    ORA-00704: bootstrap process failure
    Wed Aug 11 13:35:16 2010
    Errors in file d:\oracle\admin\mig\bdump\mig_dbw0_2304.trc:
    ORA-00704: bootstrap process failure
    Wed Aug 11 13:35:16 2010
    Errors in file d:\oracle\admin\mig\bdump\mig_lgwr_552.trc:
    ORA-00704: bootstrap process failure
    Wed Aug 11 13:35:16 2010
    Errors in file d:\oracle\admin\mig\bdump\mig_ckpt_2300.trc:
    ORA-00704: bootstrap process failure
    Wed Aug 11 13:35:17 2010
    Errors in file d:\oracle\admin\mig\bdump\mig_smon_2136.trc:
    ORA-00704: bootstrap process failure
    Instance terminated by USER, pid = 1564
    ORA-1092 signalled during: ALTER DATABASE OPEN...
    Please comment.
    Thanks.
    Nith

    I just opened my database : startup upgrade and it started up.
    But couldn't perform a backup.As you said you have started the DB in upgrade mode and trying to take the backup of database. I think you can't take the backup of DB in upgrade mode.Please shut it down first and start up it in normal mode and do the backup.
    Which backup strategy you are following?
    What you exactly want to do upgrade the database or trying to take a bcakup?

  • ABAP Database must be started on remote server

    Hi.
    I've installed a dialog instance on SuSe linux  with the central instance and db (Oracle 9.2.0.8) running on the same AIX server
    The installation was ok but from the DI it is not possible to connect to db. i've made a R3trans -x and below is the trans.log file
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 16.06.2010 - 14:09:27
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -x
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Wed Jun 16 14:09:27 2010                             126  0.000126
    4 ETW000  [dev trc     ,00000]  db_con_init called                                    13  0.000139
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                             56  0.000195
    4 ETW000  [dev trc     ,00000]  Loading DB library '/usr/sap/SBX/SYS/exe/run/dboraslib.so' ...
    4 ETW000                                                                              31  0.000226
    4 ETW000  [dev trc     ,00000]  DlLoadLib() success: dlopen("/usr/sap/SBX/SYS/exe/run/dboraslib.so"), hdl 0
    4 ETW000                                                                            6899  0.007125
    4 ETW000  [dev trc     ,00000]  Library '/usr/sap/SBX/SYS/exe/run/dboraslib.so' loaded
    4 ETW000                                                                              12  0.007137
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library /usr/sap/SBX/SYS/exe/run/dboraslib.so
    4 ETW000                                                                              13  0.007150
    4 ETW000  [dev trc     ,00000]  Version of '/usr/sap/SBX/SYS/exe/run/dboraslib.so' is "640.00", patchlevel (0.276)
    4 ETW000                                                                              77  0.007227
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library /usr/sap/SBX/SYS/exe/run/dboraslib.so
    4 ETW000                                                                               9  0.007236
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library /usr/sap/SBX/SYS/exe/run/dboraslib.so
    4 ETW000                                                                              22  0.007258
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              15  0.007273
    4 ETW000  [dev trc     ,00000]  000: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,
    4 ETW000                             reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              16  0.007289
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         16  0.007305
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              11  0.007316
    4 ETW000  [dev trc     ,00000]  000: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,
    4 ETW000                             reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              12  0.007328
    4 ETW000  [dev trc     ,00000]  Got ORACLE_HOME=/oracle/client/92x_64 from environment
    4 ETW000                                                                             216  0.007544
    4 ETW000  [dev trc     ,00000]  -->oci_initialize (con_hdl=0)                         20  0.007564
    4 ETW000  [dev trc     ,00000]  got NLS_LANG='AMERICAN_AMERICA.WE8DEC' from environment
    4 ETW000                                                                               9  0.007573
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIEnvCreate(mode=0)' failed: rc = -1
    4 ETW000                                                                             245  0.007818
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code -1           15  0.007833
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIErrorGet' failed: rc = -2
    4 ETW000                                                                              20  0.007853
    4 ETW000  [dblink      ,00430]  ***LOG BY2=>sql error -1     performing CON [dblink#6 @ 430]
    4 ETW000                                                                              65  0.007918
    4 ETW000  [dblink      ,00430]  ***LOG BY0=>Cannot get Oracle error text. [dblink#6 @ 430]
    4 ETW000                                                                               9  0.007927
    Any help would appreciated. Thx

    > 4 ETW000  [dev trc     ,00000]  Got ORACLE_HOME=/oracle/client/92x_64 from environment
    > 4 ETW000                                                                             216  0.007544
    > 4 ETW000  [dev trc     ,00000]  -->oci_initialize (con_hdl=0)                         20  0.007564
    > 4 ETW000  [dev trc     ,00000]  got NLS_LANG='AMERICAN_AMERICA.WE8DEC' from environment
    > 4 ETW000                                                                               9  0.007573
    > 4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIEnvCreate(mode=0)' failed: rc = -1
    > 4 ETW000                                                                             245  0.007818
    > 4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code -1           15  0.007833
    > 4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIErrorGet' failed: rc = -2
    > 4 ETW000                                                                              20  0.007853
    > 4 ETW000  [dblink      ,00430]  ***LOG BY2=>sql error -1     performing CON [dblink#6 @ 430]
    > 4 ETW000                                                                              65  0.007918
    > 4 ETW000  [dblink      ,00430]  ***LOG BY0=>Cannot get Oracle error text. [dblink#6 @ 430]
    > 4 ETW000                                                                               9  0.007927
    What Oracle client version do you use?
    Please post
    ls -l /oracle/client/92x_64
    Markus

  • Database producer consumer architecture

    Dear NI supporters,
    I am trying to devolope Producer/Consumer program to communicate with MS SQL database.
    The Producer loop select data from database1 and process them.The Consumer loop insert proccesed data to database2.
    The problem is, fast Producer loop must wait for slow Consumer loop and I have no idea why.
    I have attached really simplified VI. There are two parallel processes (while loops). First loop read large data and the execution time is high. The second loop read really small data, so execution time is low. So if I execute the VI, I would expect the fast while loop (FAST PROCESS) will get much more iterations then the slow one (SLOW PROCESS). But the reallity is, the FAST PROCESS will get the same number of iteration as SLOW PROCESS. It looks like the processes don´t run in parallel or did I just missed something?
    Could you explain me, why this occur, and how can I improve my code?
    Thanks in advance.

    vasicekv wrote:
    Thank you Jim, it really helps me!
    Do you also know any other library to communicate with database in labview which is reentrant?
    I mean I am focused on speed my labview-databse communcation up.
    Perhaps you should be considering why your consumer loop is so slow?  Is your database running on a dedicated server?  Is it getting bogged down?
    Please share a little of your real code so we can try to improve the performance of your consumer loop.

  • Moving a 32 bit Oracle 9i database to 64 bit on a different server

    Hello,
    We have a 24 GB database with Oracle 9.2.0.7 (32 bit). As the hardware of this server is getting obsolete, it is planned to move this instance to another server, which has 64 bit Oracle software of same version (9.2.0.7). In this scenario what is the best way to move the instance?
    Is it only the full export from 32 bit server and import into 64 bit server(after creating the instance there)?
    Since this is a 24 GB database, and target server is 8 gb of ram, any pointers on how long the import process can take?
    There is a documentation to change word size, I can run utlirp.sql as suggested here:
    http://www.orafaq.com/forum/?t=rview&goto=258668#msg_258668
    But I have some doubts as I mentioned in that post. Can you please share your suggestions?
    Thanks,
    Nirav

    Hi
    Is there some document or steps to follow when creating the instance on the new server The database move is easy, and here is one way to move the schema, fast:
    http://www.dba-oracle.com/oracle_tips_db_copy.htm
    And then, you just run the script to change the wordsize for 64-bit:
    Also, after your migration, watch out for common performance issues:
    http://www.dba-oracle.com/t_bad_poor_performance_upgrade_migration_32_64_bit.htm
    Also, note that Oracle has changed the optimizer costing model from "IO" to CPU" in 10g, and shops that combine an upgrade to 64-bit servers with a 10g migration may want to look at changing the new default for _optimizer_cost_model.
    Going 64-bit means that you can now allocate very large RAM data buffers and increase your shared_pool_size above two gigabytes. However, it is important to remember that there are downsides to having a super-large db_cache_size. While direct access to data is done with hashing, there are times when the database must examine all of the blocks in the RAM cache. These types of database may not always benefit from an upgrade to a 64 bit server:
    Systems with high Invalidations: Whenever a program issues a truncated table, uses temporary tables, or runs a large data purge, Oracle must sweep all of the blocks in the db_cache_size to remove dirty blocks. This can cause excessive overhead for system with a db_cache_size greater than 10 gigabytes.
    High Update Systems: The database writer (DBWR) process must sweep all of the blocks in db_cache_size when performing an asynchronous write. Having a huge db_cache_size can cause excessive work for the database writer. Some shops dedicate a separate, smaller data buffer (of a different blocksize) for high-update objects.
    RAC systems: Oracle RAC and Grid does not perform optimally with super-large data buffer RAM, as available in 64-bit systems. You may experience high cross-instance calls when using a large db_cache_size in multiple RAC instances. This inter-instance "pinging" can cause excessive overhead, and that is why RAC DBA's try to segregate RAC instances to access specific areas of the database. This is why Oracle 10g grid server blades generally contain only 4-gig RAM.
    Hope this helps. . .
    Don Burleson
    Oracle Press author
    Author of “Oracle Tuning: The Definitive Reference”
    http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm

  • Unable to open 11g R2 database now after trying an RMAN restore

    Hi my database is not opening now.
    What I was trying was to restore the database on my new server from latest database taken from my old live server and applying it on my new 11g DB (new server-database already created)
    old server-11.1.0.7.0-windows 2003 server 32 bit
    new server-11.2.0.3.0-windows 2008 64 bit server
    The steps i have done which caused this , (After everything was working fine, i did these foll.steps and now all messed up):
    The oracle database on this new server was already 11.2.3.0 -it was not upgrade, i directly installed 11.2.0.3.0 on it + applied latest patches etc.
    I took RMAN backup from old server 11.1.0.7.0 oracle database.
    Copied this backup to to the new server flash recovery area &every step of the restore  was working fine -
    in nomount mode, restored the control file from autobackup-fine
    in mount mode, catalogued the files-fine (Backup from old live,copied to new live)
    I restored&Recovered the database until the latest archivelogs.
    Until the above steps-all worked fine like a normal recovery steps.
    Then I gave "alter database open resetlogs" in RMAN prompt, it gave out error and from that point onwards I am unable to open the database now.
    Unfortunately, couldnt grab full screenshot of the error in RMAN but the error basically said that bootstrap failed and i have to open the database with the upgrade option?
    Please see in alert log as well
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Following is the last lines from alert log:
    [code]
    Starting up:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options.
    Windows NT Version V6.1 Service Pack 1
    CPU                 : 4 - type 8664, 4 Physical Cores
    Process Affinity    : 0x0x0000000000000000
    Memory (Avail/Total): Ph:3760M/8191M, Ph+PgF:9170M/16381M
    VM name             : VMWare Version (6)
    Using parameter settings in server-side spfile F:\APP\ORACLE\PRODUCT\11.2.0\DBHOME_1\DATABASE\SPFILEGEOP.ORA
    System parameters with non-default values:
      processes                = 150
      memory_target            = 3728M
      control_files            = "F:\ORACLE11G\ORADATA\GEOP\GEOP\CONTROL01.CTL"
      control_files            = "F:\ORACLE11G\ORADATA\GEOP\GEOP\CONTROL02.CTL"
      control_files            = "F:\ORACLE11G\ORADATA\GEOP\GEOP\CONTROL03.CTL"
      db_block_size            = 8192
      compatible               = "11.2.0.0.0"
      log_archive_format       = "ARC%S_%R.%T"
      db_recovery_file_dest    = "I:\oracle\flash_recovery_area"
      db_recovery_file_dest_size= 45G
      undo_tablespace          = "UNDOTBS1"
      sec_case_sensitive_logon = FALSE
      remote_login_passwordfile= "EXCLUSIVE"
      db_domain                = ""
      dispatchers              = "(PROTOCOL=TCP) (SERVICE=GEOPXDB)"
      audit_file_dest          = "F:\APP\ORACLE\ADMIN\GEOP\ADUMP"
      audit_trail              = "DB"
      db_name                  = "GEOP"
      open_cursors             = 300
      diagnostic_dest          = "F:\APP\ORACLE"
    Thu Dec 12 17:22:18 2013
    PMON started with pid=2, OS id=3440
    Thu Dec 12 17:22:18 2013
    PSP0 started with pid=3, OS id=10252
    Thu Dec 12 17:22:19 2013
    VKTM started with pid=4, OS id=11684 at elevated priority
    VKTM running at (10)millisec precision with DBRM quantum (100)ms
    Thu Dec 12 17:22:19 2013
    GEN0 started with pid=5, OS id=4528
    Thu Dec 12 17:22:19 2013
    DIAG started with pid=6, OS id=5652
    Thu Dec 12 17:22:19 2013
    DBRM started with pid=7, OS id=7676
    Thu Dec 12 17:22:19 2013
    DIA0 started with pid=8, OS id=5724
    Thu Dec 12 17:22:19 2013
    MMAN started with pid=9, OS id=6632
    Thu Dec 12 17:22:19 2013
    DBW0 started with pid=10, OS id=3572
    Thu Dec 12 17:22:19 2013
    LGWR started with pid=11, OS id=8876
    Thu Dec 12 17:22:19 2013
    CKPT started with pid=12, OS id=3748
    Thu Dec 12 17:22:20 2013
    SMON started with pid=13, OS id=8108
    Thu Dec 12 17:22:20 2013
    RECO started with pid=14, OS id=1932
    Thu Dec 12 17:22:20 2013
    MMON started with pid=15, OS id=7468
    Thu Dec 12 17:22:20 2013
    MMNL started with pid=16, OS id=8136
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    ORACLE_BASE from environment = F:\app\oracle
    Thu Dec 12 17:22:21 2013
    ALTER DATABASE   MOUNT
    Successful mount of redo thread 1, with mount id 3351347149
    Database mounted in Exclusive Mode
    Lost write protection disabled
    Completed: ALTER DATABASE   MOUNT
    Thu Dec 12 17:22:26 2013
    ALTER DATABASE OPEN
    Beginning crash recovery of 1 threads
    parallel recovery started with 3 processes
    Started redo scan
    Completed redo scan
    read 11 KB redo, 6 data blocks need recovery
    Started redo application at
    Thread 1: logseq 3, block 2, scn 59089613795
    Recovery of Online Redo Log: Thread 1 Group 6 Seq 3 Reading mem 0
      Mem# 0: F:\ORACLE11G\ORADATA\GEOP\GEOP\REDO06.LOG
    Completed redo application of 0.01MB
    Completed crash recovery at
    Thread 1: logseq 3, block 24, scn 59089633817
    6 data blocks read, 6 data blocks written, 11 redo k-bytes read
    Read of datafile 'F:\ORACLE11G\ORADATA\GEOP\GEOP\TEMP01.DBF' (fno 201) header failed with ORA-01203
    Rereading datafile 201 header failed with ORA-01203
    Errors in file F:\APP\ORACLE\diag\rdbms\geop\geop\trace\geop_dbw0_3572.trc:
    ORA-01186: file 201 failed verification tests
    ORA-01122: database file 201 failed verification check
    ORA-01110: data file 201: 'F:\ORACLE11G\ORADATA\GEOP\GEOP\TEMP01.DBF'
    ORA-01203: wrong incarnation of this file - wrong creation SCN
    File 201 not verified due to error ORA-01122
    LGWR: STARTING ARCH PROCESSES
    Thu Dec 12 17:22:27 2013
    ARC0 started with pid=19, OS id=10876
    ARC0: Archival started
    LGWR: STARTING ARCH PROCESSES COMPLETE
    ARC0: STARTING ARCH PROCESSES
    Thu Dec 12 17:22:28 2013
    ARC1 started with pid=24, OS id=10912
    Thu Dec 12 17:22:28 2013
    ARC2 started with pid=25, OS id=6652
    Thu Dec 12 17:22:28 2013
    ARC3 started with pid=26, OS id=9648
    ARC1: Archival started
    ARC2: Archival started
    ARC1: Becoming the 'no FAL' ARCH
    Thread 1 advanced to log sequence 4 (thread open)
    ARC1: Becoming the 'no SRL' ARCH
    ARC2: Becoming the heartbeat ARCH
    Thread 1 opened at log sequence 4
      Current log# 4 seq# 4 mem# 0: F:\ORACLE11G\ORADATA\GEOP\GEOP\REDO04.LOG
    Successful open of redo thread 1
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    SMON: enabling cache recovery
    Archived Log entry 64945 added for thread 1 sequence 3 ID 0xc7c27920 dest 1:
    Errors in file F:\APP\ORACLE\diag\rdbms\geop\geop\trace\geop_ora_12260.trc:
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Errors in file F:\APP\ORACLE\diag\rdbms\geop\geop\trace\geop_ora_12260.trc:
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Error 704 happened during db open, shutting down database
    USER (ospid: 12260): terminating the instance due to error 704
    Instance terminated by USER, pid = 12260
    ORA-1092 signalled during: ALTER DATABASE OPEN...
    opiodr aborting process unknown ospid (12260) as a result of ORA-1092
    Thu Dec 12 17:22:33 2013
    ORA-1092 : opitsk aborting process
    [/code]
    Please please please let me know what steps should I do now to get my 11g database operational again?
    Now when i am trying:
    (SQL prompt)
    [code]
    >sqlplus "/ as sysdba"
    SQL*Plus: Release 11.2.0.3.0 Production on Thu Dec 12 17:22:05 2013
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup open;
    ORACLE instance started.
    Total System Global Area 3891630080 bytes
    Fixed Size                  2261120 bytes
    Variable Size            2147487616 bytes
    Database Buffers         1728053248 bytes
    Redo Buffers               13828096 bytes
    Database mounted.
    ORA-01092: ORACLE instance terminated. Disconnection forced
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Process ID: 12260
    Session ID: 5 Serial number: 5
    SQL> startup open upgrade;
    SP2-0714: invalid combination of STARTUP options
    SQL> startup upgrade;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL> startup upgrade open;
    SP2-0714: invalid combination of STARTUP options
    SQL> alter database mount;
    ERROR:
    ORA-03114: not connected to ORACLE
    SQL> shutdown immediate;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL> startup nomount
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL>
    [/code]

    This is why you do backups both before and after doing other things.
    So one way to do something like this:
    Backup old db.
    expdp old db.
    Install new 11gR2, create database.
    Back it up.
    Turn off archivelog.
    impdp
    Turn on archivelog.
    Back it up.
    The general thought here is you would start over with the first new db backup if the imp didn't work, you turn off archiving to avoid generating lots of redo that would be for a recovery you would never do.
    There is more than one way to do it (TIMTOWTDI), best way depends on details, including volume of data and platform changes.  expdp/impdp has an over the network option if disk space is limited and network is fast.
    I usually allow for several tries when going to a new box, since the new box will require testing anyways.

  • PL/SQL :ORA-04052 with Database link

    i have created a database link in my producation database as following
    CREATE PUBLIC DATABASE LINK <NAME>
    CONNECT TO <USER>
    IDENTIFIED BY <P/W>
    USING <CONNECT STRING OF TARGET DATABASE
    oracle version 9.0.2.8
    OS : Windows 2003 EE R2 SP2
    Using oracle failsafe 3.3.4 with windows cluster
    Problem Description :
    whenever i run my pl/sql procecdure to pull the data from the target database i get the following error
    ERROR at line 3
    ORA-06550:line 3 column 2
    PL/SQL : ORA-04052: error occured when looking up remote object _<SCHEMA>.<TABLE>@<DATABASE LINKE NAME>_
    ORA-00604 : ERROR occured at recursive SQL level 1
    ORA-03106 : fatal tow-task communication protocol error
    ORA-02063: preceding line from <DATABASE LINK NAME>
    I have tested the same way in the test environment the same oracle version as well the OS but without oracle failsafe and windows cluster
    the script goes smoothly with out any errors.
    i have google and checked the OTN for all available solutions but still nothing its not getting throw
    i will be very thankful for your replys and solutions
    any farther clarification i am ready
    thanks in advance

    Hi,
    This forum is for issues connecting to non-Oracle databases. As the problem is using PL/SQL to connect to another Oracle database then it would be better to post a thread in the PL/SQL forum -
    PL/SQL
    If you are trying to connect to a non-Oracle database then please give us the details of which non-Oracle database and the software you are trying to use to connect.
    Regards,
    Mike

  • Can not open database after restore...

    Hi,
    I am doing a system copy from a online backup of our production system to our qas system. It is AIX and Oracle 10.2.0.2.0 on both systems.
    I have done the restore using the backup log file from the production system. I have run the control.sql script, applied 4 archive log files using "recover database using backup controlfile until cancel;". Last I run "alter database open resetlogs;", but here my problems start....
    Here is what happends...
    I apply the archive logs:
    ORA-00279: change 65129304 generated at 01/22/2008 19:50:35 needed for thread 1
    ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8210_632565567.dbf
    ORA-00280: change 65129304 for thread 1 is in sequence #8210
    ORA-00278: log file '/oracle/SRQ/oraarch/SRQarch1_8209_632565567.dbf' no longer
    needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    cancel
    Media recovery cancelled.
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    From the alert log:
    ALTER SYSTEM ARCHIVE LOG ALL USING BACKUP CONTROLFILE start
    Database is not in archivelog mode
    ALTER SYSTEM ARCHIVE LOG ALL USING BACKUP CONTROLFILE complete
    2008-02-23 01:00:23.810
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Have somebody had this problem? Hope you can help me :-).
    Best regards Henrik

    I entered cancel when the log files had been restored and then I did "alter database open resetlogs;"
    Here is what I did:
    orasrq>  sqlplus "/ as sysdba"
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Feb 22 13:01:38 2008
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected to an idle instance.
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area 4714397696 bytes
    Fixed Size                  2077560 bytes
    Variable Size            2365590664 bytes
    Database Buffers         2332033024 bytes
    Redo Buffers               14696448 bytes
    SQL> @controlSRQ.sql
    Control file created.
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01195: online backup of file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/oracle/SRQ/sapdata1/system_1/system.data1'
    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 65088663 generated at 01/22/2008 18:30:19 needed for thread 1
    ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8203_632565567.dbf
    ORA-00280: change 65088663 for thread 1 is in sequence #8203
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00279: change 65091816 generated at 01/22/2008 18:35:25 needed for thread 1
    ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8204_632565567.dbf
    ORA-00280: change 65091816 for thread 1 is in sequence #8204
    ORA-00278: log file '/oracle/SRQ/oraarch/SRQarch1_8203_632565567.dbf' no longer
    needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00279: change 65094835 generated at 01/22/2008 18:39:16 needed for thread 1
    ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8205_632565567.dbf
    ORA-00280: change 65094835 for thread 1 is in sequence #8205
    ORA-00278: log file '/oracle/SRQ/oraarch/SRQarch1_8204_632565567.dbf' no longer
    needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00279: change 65101797 generated at 01/22/2008 18:56:03 needed for thread 1
    ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8206_632565567.dbf
    ORA-00280: change 65101797 for thread 1 is in sequence #8206
    ORA-00278: log file '/oracle/SRQ/oraarch/SRQarch1_8205_632565567.dbf' no longer
    needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00279: change 65108888 generated at 01/22/2008 19:05:31 needed for thread 1
    ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8207_632565567.dbf
    ORA-00280: change 65108888 for thread 1 is in sequence #8207
    ORA-00278: log file '/oracle/SRQ/oraarch/SRQarch1_8206_632565567.dbf' no longer
    needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    cancel
    Media recovery cancelled.
    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 65108888 generated at 01/22/2008 19:05:31 needed for thread 1
    ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8207_632565567.dbf
    ORA-00280: change 65108888 for thread 1 is in sequence #8207
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00279: change 65115833 generated at 01/22/2008 19:20:32 needed for thread 1
    ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8208_632565567.dbf
    ORA-00280: change 65115833 for thread 1 is in sequence #8208
    ORA-00278: log file '/oracle/SRQ/oraarch/SRQarch1_8207_632565567.dbf' no longer
    needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    cancel
    Media recovery cancelled.
    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 65115833 generated at 01/22/2008 19:20:32 needed for thread 1
    ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8208_632565567.dbf
    ORA-00280: change 65115833 for thread 1 is in sequence #8208
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00279: change 65122618 generated at 01/22/2008 19:35:37 needed for thread 1
    ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8209_632565567.dbf
    ORA-00280: change 65122618 for thread 1 is in sequence #8209
    ORA-00278: log file '/oracle/SRQ/oraarch/SRQarch1_8208_632565567.dbf' no longer
    needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00279: change 65129304 generated at 01/22/2008 19:50:35 needed for thread 1
    ORA-00289: suggestion : /oracle/SRQ/oraarch/SRQarch1_8210_632565567.dbf
    ORA-00280: change 65129304 for thread 1 is in sequence #8210
    ORA-00278: log file '/oracle/SRQ/oraarch/SRQarch1_8209_632565567.dbf' no longer
    needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    cn
    ORA-00308: cannot open archived log 'cn'
    ORA-27037: unable to obtain file status
    IBM AIX RISC System/6000 Error: 2: No such file or directory
    Additional information: 3
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    cancel
    Media recovery cancelled.
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection force

  • How Performance can be improved at  Oracle Database level

    Hi Everyone,
    Need a suggestion ......
    I m managing SAP Landscape of Retail Sector Client.
    where SAP ERP PRD database size is : 2 TB.
    at SAP Application Layer .... we have setup five application system to distribute load because around 1200 users work concurrently.
    Out of these 1200 Users around 300 Users keeps on fetching
    reports from database which worsen database performance.
    We have changed parameters of Database to improve performance.
    What we have thought to setup replica of PRD system .
    On which Only Report Users will execute reports.
    & that System will work as Disaster Recovery Site of PRD System.
    In process of that We have restored the PRD Backup on another System. But How can we replicate daily changes of PRD System on Restored System.
    One which we have thought by applying offline archive files.
        daily . But somebody has told us that we can not apply
        offline archive files of PRD System to restored system
        because that Restored database is in Open stage & being
       used.
    (ii) Secondly, Incremental Backup which is very time-consuming action.
    Please suggest , If you have an idea & I want to know How
    offline archive log file application on DR Site .
    Thanks in advance !!!
    Points will be rewarded !!!
    Thanks
    Deepak !!!

    deepak  gosain wrote:>
    > Hi Everyone,
    Hi Deepak!
    > Need a suggestion ......
    I'll try my best
    > I m managing SAP Landscape of Retail Sector Client.
    > where SAP ERP PRD database size is : 2 TB.
    > at SAP Application Layer .... we have setup five application system to distribute load because around 1200 users work concurrently.
    >
    > Out of these 1200 Users around 300 Users keeps on fetching
    > reports from database which worsen database performance.
    Hmm.. might happen.
    > We have changed parameters of Database to improve performance.
    Oh - which ones? Why? Who told you to?
    > What we have thought to setup replica of PRD system .
    > On which Only Report Users will execute reports.
    > & that System will work as Disaster Recovery Site of PRD System.
    This setup does not work for SAP environments. To get reports out of a system with SAP the database must be open to writes.
    > In process of that We have restored the PRD Backup on another System. But How can we replicate daily changes of PRD System on Restored System.
    Such thing would be done via a Standby-DB.
    > One which we have thought by applying offline archive files.
    >     daily . But somebody has told us that we can not apply
    >     offline archive files of PRD System to restored system
    >     because that Restored database is in Open stage & being
    >    used.
    That person told you the truth.
    > (ii) Secondly, Incremental Backup which is very time-consuming action.
    Depends on your reference. Compared to what is it very time-consuming?
    Compared with a full DB-Backup this is likely to be the less time-consuming option.
    > Please suggest , If you have an idea & I want to know How
    > offline archive log file application on DR Site .
    For a how-to in Standby-Setup you may want to have a look into the Oracle documentation like here [Introduction to Oracle Data Guard |http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/concepts.htm#SBYDB00010]
    > Thanks in advance !!!
    You're welcome !!!
    > Points will be rewarded !!!
    Oh - nice !!!!!!!!!!
    Now get a bit earnest as well:
    From what you described it sounds like you're setup is a bit undersized.
    If your report users use BI for their reports, than it may pay off to setup a seperate BI system that gets it's data from the ERP system automatically and not whenever a user starts a report.
    Another option may be to consider using a RAC cluster  - but this would be a very expensive option.
    In any case the important first step has to be to find out, what the real cause for the performance degration is.
    Perhabs the I/O Subsystem is the problem, perhabs the network. Perhabs another CPU would do wonder.
    You'll never know - before you analyse this in depth.
    Reading hints would include these notes:
    618868     FAQ: Oracle performance
    72638     Performance problems with SQL*Net
    354080     Note collection for Oracle performance problems
    853576     Oracle 10g: Performance analysis w/ ASH and Oracle Advisors
    793113     FAQ: Oracle I/O configuration
    619188     FAQ: Oracle wait events
    805934     FAQ: Database time
    Best regards,
    Lars

  • How can I do a FULL Backup to Oracle 8i Database?

    Hi,
    We are using a product that uses Oracle 8i and we are trying to perform a FULL Backup to the database. I am not an oracle person and not sure how to do this.
    Please also inform me on how to perform a FULL Restor for the backed up database. I would really appreaciate it.
    null

    Before I can amply reply to your post, I need to know what tools you have.
    What is your O.S.?
    What do you want to backup to? (Tape Drive/Hard Disk)
    What time frame requirements do you have?
    Are you running in Archive Log Mode? <-- (in case you do not know, log in with svrmgrl, connect internal, run ARCHIVE LOG LIST; and tell me what is reported on the top line of output.)
    Do you have requirements that the database must be Online at all times?
    Are you using 3rd party Backup Software, if so, which one(s)?
    I know these are a lot of questions, but it helps me help you. :)
    Rgds,
    Mark Brown
    SAP Japan

  • Retrieve data from a synonym in oracle database through db connect

    Hi Everyone,
    I have created certain synonym for some tables in oracle. I want to retrieve data from it through db connect but where through source system and then selecting database tables, only tables and views are available.
    Synonyms are not available to create data sources and retrieve the data from it. Why is it so. Is this a limitation of db connect.
    Can anyone please let me know about it.
    Thanks,
    Joshua.

    Hi,
    You want to import data from an external Oracle database into your BW 3.X. To do this, you can connect the external database to the BW 3.X release as a source system using the external database connect. BW 3.X here represents BW 3.0, BW 3.1 and BW 3.5 because in other (DB relevant) parts, all 3 versions are based on the same source code.
    General information
    The above function allows you to load data from an external Oracle database (not a BW database) into your BW 3.0 system.
    There may also be constellations which cannot be used directly through the DB Connect access. However, it should be possible to find an adequate, customer-specific solution for most of these scenarios.
    In such situations, the resulting work falls into the area of Consulting and cannot be handled via Support.
    Successful implementation of a connection requires corresponding expertise and experience in the use of the source database in the areas:
                    - Tools
                    - SQL syntax
                    - DB-specific functions
    Corresponding knowledge of the source application is also required to ensure that semantically relevant data arrives in the BW system.
    Procedure
    You should execute the following steps to connect the source system (Q) to the BW system (BW):
    Installing the client software on an BW application server
                         Of course, you only need to install the client software if you are using BW with a non-Oracle database.
                         Use the Oracle setup program on the database CD (runInstaller on Unix) to start the OracleInstaller. Follow the program instructions and the DB installation instructions to install the Oracle Client software on BW.
    Testing connection setup from BW to Q
                         After you install the client software on BW, try to set up a connection from BW to the server on Q. You may need to adjust the tnsnames.ora or sqlnet.ora files for this, to introduce the Oracle systems (to which contact should be made) to BW. You can test the connection by executing the command "tnsping QDB" on BW to check whether the client has established contact to the QDB database on the Q system.
    Creating a separate U user in Q
                         We recommend that you create a separate U user in Q for connection to BW. This means that authorization and administration questions can be solved centrally.
    Displaying data sources in Q for the U user
                         To provide U data for users other than U, you can create views on other user tables as user U:
                         CREATE OR REPLACE VIEW viewname AS
                           SELECT * FROM QDB.tablename
                         You may have to grant SELECT privileges to user U in the QDB schema:
                            GRANT select ON QDB.tablename TO U
                         Of course, you can also restrict or reformat data in the view arrangement (for example, change from internal date format into the SAP date format). JOIN operations using several tables are also available.
                         !!! Synonyms do not yet work!!!
                         Synonyms that you can create as described below are another option for providing a complete table for the user U:
                           CREATE SYNONYM synoname FOR QDB.tablename
                         !!! Synonyms do not (yet) work!!!
                         After you have displayed the require data for user U, you can simply use
                           SELECT * FROM <view or table>
                         on the Q system to check which data is returned.
                         You can now open a link to Q as user U in the BW system with SQLPLUS and check, using the same SELECT, whether this data is also seen in the Oracle client. If this is not the case, there is probably a connection problem.
    Creating a connection from BW to Q in BW
    Including data sources of user U user in Q in BW.
    Solution
    Supported BW, Basis and BW 3.0B database versions, Basis 6.20 Support Package 2 (or higher)
          Oracle 8.1 (or higher, see below)
    Possible problems
    - Synonyms do not (yet) work!
    Up to now, only tables and views have been used as data sources for the DB Connect from the R3 Basis. As soon as synonyms are also used in the Basis, you will be able to convert created views (or even replicated tables) to synonyms as a workaround.
    With Basis 6.40 at the earliest, therefore as of BW 3.5, you will also be able to use synonyms. Until then, the following will help:
      CREATE VIEW <view_on_synonym> AS SELECT * FROM <synonym>
    - The source DB must have at least the release version of the BW DB.
    Oracle only ensures the support of client-server links if the version of the client is not higher than that of the server. So if BW has Oracle version 8.1 and, as in the case of Dbconnect, is run as a client against the server of the source database, the source database must have at least release Oracle 8.1 or higher.
    Of course, you have the option to install the Oracle client software of a lower version and then use this for the DB connect. This is also the procedure used to work with a DB connect on external databases of other vendors.
    Furthermore, the implementation of the DBconnect function in BW uses SAP Basis functions. Specifications of Oracle 8.1 database catalogs are used here. The source database must therefore have at least Version 8.1.
    - Oracle Client Software Version
    If you want to connect from an Oracle BW DB to an Oracle source DB, for the DB connect you naturally use the client software that you already installed on each application server.
    If you want to connect from a non-Oracle BW DB to an Oracle source DB, check item 3 of note 521230 to see which Oracle client software version is released with your BW R3 kernel and use this version.
    - Date and time fields in Oracle and their conversion into SAP-compatible column formats
    Example with a DATE field:
    Since a SAP table does not have a DATE field (date values are NUMC(8) and time specifications are NUMC(6)), we will use the Oracle DBA_TABLES system table as an example.
        SQL> desc dba_tables;
    The Oracle DBA_TABLES system table has a LAST_ANALYZED field. This is a DATE type field and is recognized as a date field of 7 characters by DBA_CONNECT. However, the import does not work because the DATE is a 7-byte conglomerate of "...century, year, month, date, hour, minute and second." (extract from the Oracle documentation).
    To make this DATE field legible for DB connect, you must use the TO_CHAR function in a VIEW. This should display the following examples:
    SQL> select LAST_ANALYZED from dba_tables
          where table_name like 'RS%' and rownum < 10 ;
    The formatting used here is the default used implicitly by SQLPLUS.
    SQL> select  to_char(LAST_ANALYZED,'YYYYMMDD') as dat from dba_tables where table_name like 'RS%' and rownum < 10 ;
    The result now has the SAP compatible format YYYYMMDD and should be loaded correctly by the DB connect as a date.
    SQL> select  to_char(LAST_ANALYZED,'HH24MISS') as tim from dba_tables where table_name like 'RS%' and rownum < 10 ;
    The result now has the SAP compatible format HHMMSS and should be loaded correctly by the DB connect as a time.
    You can use the following example for more detailed experiments:
    SQL> select  to_char(
           TO_DATE('03-FEB-2001 04:05:06','DD-MON-YYYY HH24:MI:SS'),
           'YY-MM-DD HH24-MI-SS') as datim from dual;
    with the result:
      DATIM
      01-02-03 04-05-06
    When you create a VIEW and use the TO_CHAR function (or other functions), you should easily be able to avoid problems with the interpretation of date/time specifications (and other reformatting).
    Details about the functions and the formats are contained in the Oracle documentation.
    - Special characters
    A words that contain special characters can only be imported correctly if the code pages in BW and in the source system are identical. If the code pages are not the same, DB Connect can be used if the characters to be imported appear under the first 127 characters of the character set.
    The use of multibyte code pages in the source system for saving data using character sets with more than 256 characters (Kanji, Katakana, Hiragana, Korean, Chinese, Tagalog, Khmer, Arabic, Cherokee, and so on) can cause the characters to become corrupt.
    For questions concerning the code pages, also refer to the FAQ note 606359 and question/answer 19 that appears there.

  • About spfile creating in oracle 10g while creating a new database

    hi everyone,
    i had this problem while i was creating a new database in oracle 10g.when running the database script, it gives an error about invalid option for create temporary tablespace. is it necessary to have an spfile created in 10g. when the script was not working,we tried to create spfile which gives error tht it does not match the parameter db_name. its taking the default db_name=orcl itself..tis not taking our new db name.
    im creating it manually through sql prompt not through DBCA.the problem is that its still accepting the default db name. please send me the solution with syntaxes.
    thanx

    first of all, thanx for giuding me as im a student doing a course in this
    what abt the creation of spfile.. in a documentation for steps in creating database, they have mentioned it as recommended in creating spfile.here are some notes regarding this ....for oracle 10g
    Step 5: Create a Server Parameter File (Recommended)
    Oracle recommends that you create a server parameter file as a dynamic means of maintaining initialization parameters. The server parameter file is discussed in "Managing Initialization Parameters Using a Server Parameter File".
    The following script creates a server parameter file from the text initialization parameter file and writes it to the default location. The script can be executed before or after instance startup, but after you connect as SYSDBA. The database must be restarted before the server parameter file takes effect.
    -- create the server parameter file
    CREATE SPFILE='/u01/oracle/dbs/spfilemynewdb.ora' FROM
    PFILE='/u01/oracle/admin/initmynewdb/scripts/init.ora';
    SHUTDOWN
    -- the next startup will use the server parameter file
    EXIT
    the error : db_name does not match with the parameter.
    its still taking the default orcl database name

  • Error When creating a database on a newly upgraded home to 11.1.0.7

    Here are the variables:
    OS: LInux RHEL 5.2 64bit
    Storage: ASM
    Clustered database
    This is a fresh install. We first installed 11.1.0.6. Only the software, no databases.
    We then applied the 11.1.0.7 patchset to the following homes in the following order
    1-CRS Home
    2-ASM Home
    3-ORACLE_HOME
    *Note at this time we only have the software and no actual databases installed.
    Once everything is upgraded to 11.1.0.7 (Confirmed by Opatch) we proceeded with installing a database using dbca.
    Specified the oracle home and path to the right ones.
    Once the install starts we get the following error message:
    ORA-01092: ORACLE instance terminated. Disconnection forced. (which really doesn't tell much!!)
    the alert log for it shows:
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    and points to another file that shows:
    Version: #1 SMP Tue Apr 29 13:16:15 EDT 2008
    Machine: x86_64
    Instance name: ORACLE_SID1
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 23
    Unix process pid: 10345, image: oracle@+hostname+ (TNS V1-V3)
    *** 2009-01-23 09:50:46.562
    *** SESSION ID:(170.3) 2009-01-23 09:50:46.562
    *** CLIENT ID:() 2009-01-23 09:50:46.562
    *** SERVICE NAME:() 2009-01-23 09:50:46.562
    *** MODULE NAME:(sqlplus@+hostname+ (TNS V1-V3)) 2009-01-23 09:50:46.562
    *** ACTION NAME:(0000002 FINISHED51) 2009-01-23 09:50:46.562
    Control file created with size 1128 blocks
    *** 2009-01-23 09:50:47.830
    Prior to RESETLOGS processing...
    ALTER SYSTEM ARCHIVE LOG ALL USING BACKUP CONTROLFILE start
    Database is not in archivelog mode
    ALTER SYSTEM ARCHIVE LOG ALL USING BACKUP CONTROLFILE complete
    *** 2009-01-23 09:50:47.847
    DDE rules only execution for: ORA 313
    ----- START Event Driven Actions Dump ----
    ---- END Event Driven Actions Dump ----
    ----- START DDE Actions Dump -----
    Executing SYNC actions
    ----- START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
    Successfully dispatched
    ----- END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (SUCCESS, 0 csec) -----
    Executing ASYNC actions
    ----- END DDE Actions Dump (total 0 csec) -----
    ORA-00313: open failed for members of log group 1 of thread 1
    *** 2009-01-23 09:50:48.528
    DDE: Problem Key 'ORA 313' was flood controlled (0x1) (no incident)
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00313: open failed for members of log group 2 of thread 1
    *** 2009-01-23 09:50:49.916
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    *** 2009-01-23 09:50:49.917
    USER (ospid: 10345): terminating the instance due to error 704
    Any thoughts on what the issue might be here??
    Thanks in advance.
    Edited by: user9538681 on Jan 23, 2009 7:35 AM

    Did you choose in DBCA a predefined (with seeded databases) or a customized (new database) installation? If it is a predefined installation there is something wrong with the delivered datafiles,although the patchset should include an already patched set of datafiles. The error messages say, you have patched software,but un-patched datafiles.
    Werner

Maybe you are looking for

  • Custom defined FM for purchase price determination

    Hi all,    can anybody help me with the problem below..   In IS-retail im assigning a custom defined function module for purchase price determination (MM42 -> sales view -> PP det. seq - 06). example FM for which is WV_EXAMPLE_01.   but in the import

  • Size of digital images for reproduction in iPhoto Books

    I have been reading comments in this forum and have become confused reading about image size in iphoto books. I have some very old scanned photos saved in tiff format files on an external hard-drive and want to make a book using them. I don't want to

  • PIVOT Function in isqlPlus ???  HELP please!

    I need to Pivot a column of Numeric data in a table. The data is as follows: (I generate this table in a VIEW): COL1 COL2 COL3 jdoe green -1 jdoe blue -1 jdoe yellow 0 jdoe red 0 jdoe orange -1 asmith blue 0 asmith green -1 asmith gold 0 asmith yello

  • Using the 2nd of a dual core processor

    I have a dual core processor laptop and currently it isn't using the 2nd one at the moment. The first one is full and I am getting messages saying I have no memory space. How can I use the 2nd processor?

  • Regarding Smartform Function module

    Hi, When i am executing the smartform function module via print program, Smart form output is displaying properly but it is not showing any OTF data in the importing parameter  JOB_OUTPUT_INFO . (JOB_OUTPUT_INFO-OTFDATA). Why it is happening? Could y