How to create standby database

Hi,
How to create standby database, in other server.

Mariappan wrote:
Hi,
How to create standby database, in other server.There are lots of docs available on net.
Try the below link...
http://neeraj-dba.blogspot.com/2011/06/standby-database-in-oracle-11g.html
--neeraj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • How to create standby database by using duplicate

    Dear all,
    How to create standby database by using duplicate,is there some doc to read?

    Hi;
    You can use
    Step-By-Step Guide To Create Physical Standby On Normal File System For ASM Primary using RMAN [ID 838828.1]
    Creating Physical Standby using RMAN Duplicate Without Shutting down The Primary [ID 789370.1]
    Also use goole, there are many blog-site-dogs mention that topic. From googling:
    Creating a Standby Database with Recovery Manager
    http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmdupdb.htm
    http://www.pythian.com/news/248/recipes-for-creating-a-managed-standby-with-rman/
    http://docs.oracle.com/cd/B19306_01/server.102/b14239/rcmbackp.htm
    Regard
    Helios

  • How to create Standby database in Oracle 9i

    Is anybody guide,
    How to create a standby database in Oracle 9i(9.2.0.1) ?
    Where we get the proper documentation about this article ?

    http://www.oraclebase.com/articles/9i/DataGuard.php
    or
    tahiti.oracle.com

  • Creating standby database

    Hi
    I want create standby database in Oracle 10g.
    I can create standart database by using database configuration assistant.
    How can I create standby database in Oracle 10g?

    Hi,
    Standby databases, in a nutshell, acts as a failover for our mission critical production databases. When production database crashes, applications can quickly switchover to the stand by databases.
    What type of Standy you are willing to go for ??
    Physical Standby Database
    Standby database is called “physical” if the physical structure of stand by exactly matches with stand by structure. Archived redo log transferred from primary database will be directly applied to the stand by database.
    Logical Standby Database
    Stand by database is called “logical”, the physical structure of both
    databases do not match and from the archived redo log we create SQL statements then these statements will be applied to stand by database.
    Follow this link for creating standby database
    http://www.oracle-base.com/articles/8i/StandbyDatabase.php
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96653/create_ps.htm
    Thanks
    Pavan Kumar N

  • Creating Standby Database / Steps might be missing..

    I have created standby database..
    The archives are copied except one archived log and those copied archived are not applied at Standby database.
    Besides this issue, I just checked the alert log file and pasting its contents here.
    Do check it and let me know If I m missing any paramter[s].
    Dump file c:\oracle\product\10.2.0\admin\rockstd\bdump\alert_rockstd.log
    Mon May 12 15:23:42 2008
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows XP Version V5.1 Service Pack 2
    CPU : 2 - type 586
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:1194M/2038M, Ph+PgF:1368M/2641M, VA:1940M/2047M
    Mon May 12 15:23:42 2008
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
    processes = 150
    sga_target = 167772160
    control_files = C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\ROCKSTD.CTL
    db_block_size = 8192
    compatible = 10.2.0.1.0
    log_archive_dest_1 = location=C:\oracle\product\10.2.0\oradata\rockstd\Archive_rock
    log_archive_dest_state_1 = ENABLE
    log_archive_format = arc_%s_%t_%r.arc
    fal_client = ROCKSTD
    fal_server = ROCK
    db_file_multiblock_read_count= 16
    db_recovery_file_dest = C:\oracle\product\10.2.0\flash_recovery_area\rockstd
    db_recovery_file_dest_size= 2147483648
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    dispatchers = (PROTOCOL=TCP) (SERVICE=rockXDB)
    job_queue_processes = 10
    audit_file_dest = C:\ORACLE\PRODUCT\10.2.0\ADMIN\ROCKSTD\ADUMP
    background_dump_dest = C:\ORACLE\PRODUCT\10.2.0\ADMIN\ROCKSTD\BDUMP
    user_dump_dest = C:\ORACLE\PRODUCT\10.2.0\ADMIN\ROCKSTD\UDUMP
    core_dump_dest = C:\ORACLE\PRODUCT\10.2.0\ADMIN\ROCKSTD\CDUMP
    db_name = rock
    db_unique_name = rockstd
    open_cursors = 300
    pga_aggregate_target = 16777216
    PMON started with pid=2, OS id=3656
    PSP0 started with pid=3, OS id=504
    MMAN started with pid=4, OS id=2544
    DBW0 started with pid=5, OS id=3652
    LGWR started with pid=6, OS id=552
    CKPT started with pid=7, OS id=2688
    SMON started with pid=8, OS id=3436
    RECO started with pid=9, OS id=3696
    CJQ0 started with pid=10, OS id=1636
    MMON started with pid=11, OS id=2072
    MMNL started with pid=12, OS id=3812
    Mon May 12 15:23:43 2008
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    Mon May 12 15:24:06 2008
    alter database mount standby database
    Mon May 12 15:24:11 2008
    Setting recovery target incarnation to 14
    ARCH: STARTING ARCH PROCESSES
    ARC0 started with pid=16, OS id=3536
    Mon May 12 15:24:11 2008
    ARC0: Archival started
    ARC1 started with pid=17, OS id=4084
    Mon May 12 15:24:12 2008
    ARC1: Archival started
    ARCH: STARTING ARCH PROCESSES COMPLETE
    Mon May 12 15:24:12 2008
    ARC1: Becoming the 'no FAL' ARCH
    ARC1: Becoming the 'no SRL' ARCH
    ARC1: Thread not mounted
    Mon May 12 15:24:12 2008
    Successful mount of redo thread 1, with mount id 3275426006
    Mon May 12 15:24:12 2008
    Physical Standby Database mounted.
    Mon May 12 15:24:13 2008
    ARC0: Becoming the heartbeat ARCH
    Completed: alter database mount standby database
    Mon May 12 15:25:02 2008
    Using STANDBY_ARCHIVE_DEST parameter default value as C:\oracle\product\10.2.0\oradata\rockstd\Archive_rock
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[1]: Assigned to RFS process 3444
    RFS[1]: Identified database type as 'physical standby'
    Mon May 12 15:25:02 2008
    RFS LogMiner: Client disabled from further notification
    Mon May 12 15:25:21 2008
    db_recovery_file_dest_size of 2048 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 May 12 15:26:19 2008
    alter database add standby logfile 'C:\oracle\product\10.2.0\oradata\rockstd\redo04.log' size 50m
    Mon May 12 15:26:20 2008
    Completed: alter database add standby logfile 'C:\oracle\product\10.2.0\oradata\rockstd\redo04.log' size 50m
    Mon May 12 15:26:27 2008
    alter database add standby logfile 'C:\oracle\product\10.2.0\oradata\rockstd\redo05.log' size 50m
    Completed: alter database add standby logfile 'C:\oracle\product\10.2.0\oradata\rockstd\redo05.log' size 50m
    Mon May 12 15:26:33 2008
    alter database add standby logfile 'C:\oracle\product\10.2.0\oradata\rockstd\redo06.log' size 50m
    Mon May 12 15:26:34 2008
    Completed: alter database add standby logfile 'C:\oracle\product\10.2.0\oradata\rockstd\redo06.log' size 50m
    Mon May 12 15:27:20 2008
    alter database recover managed standby database disconnect from session
    MRP0 started with pid=19, OS id=596
    Managed Standby Recovery not using Real Time Apply
    Mon May 12 15:27:26 2008
    Errors in file c:\oracle\product\10.2.0\admin\rockstd\bdump\rockstd_dbw0_3652.trc:
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    Mon May 12 15:27:26 2008
    Errors in file c:\oracle\product\10.2.0\admin\rockstd\bdump\rockstd_dbw0_3652.trc:
    ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
    ORA-01110: data file 2: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\UNDOTBS01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    Mon May 12 15:27:26 2008
    Errors in file c:\oracle\product\10.2.0\admin\rockstd\bdump\rockstd_dbw0_3652.trc:
    ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
    ORA-01110: data file 3: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSAUX01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    Mon May 12 15:27:26 2008
    Errors in file c:\oracle\product\10.2.0\admin\rockstd\bdump\rockstd_dbw0_3652.trc:
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\TESTING1.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    Mon May 12 15:27:26 2008
    Errors in file c:\oracle\product\10.2.0\admin\rockstd\bdump\rockstd_dbw0_3652.trc:
    ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
    ORA-01110: data file 5: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM03.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    Mon May 12 15:27:26 2008
    Errors in file c:\oracle\product\10.2.0\admin\rockstd\bdump\rockstd_dbw0_3652.trc:
    ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
    ORA-01110: data file 6: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\ABAMCO_TEST01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    MRP0: Background Media Recovery terminated with error 1110
    Mon May 12 15:27:26 2008
    Errors in file c:\oracle\product\10.2.0\admin\rockstd\bdump\rockstd_mrp0_596.trc:
    ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM01.DBF'
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM01.DBF'
    Mon May 12 15:27:26 2008
    Errors in file c:\oracle\product\10.2.0\admin\rockstd\bdump\rockstd_mrp0_596.trc:
    ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM01.DBF'
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM01.DBF'
    Mon May 12 15:27:27 2008
    Completed: alter database recover managed standby database disconnect from session
    Mon May 12 15:30:18 2008
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[2]: Assigned to RFS process 2456
    RFS[2]: Identified database type as 'physical standby'
    Primary database is in MAXIMUM PERFORMANCE mode
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[2]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO04.LOG'
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[2]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO04.LOG'
    Mon May 12 15:30:22 2008
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[3]: Assigned to RFS process 3124
    RFS[3]: Identified database type as 'physical standby'
    RFS[3]: Successfully opened standby log 5: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO05.LOG'
    Mon May 12 15:53:45 2008
    RFS[3]: Successfully opened standby log 5: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO05.LOG'
    Mon May 12 15:53:46 2008
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[2]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO04.LOG'
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[2]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO04.LOG'
    Mon May 12 15:53:58 2008
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[2]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO04.LOG'
    Mon May 12 16:00:06 2008
    RFS[3]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO04.LOG'
    Mon May 12 16:00:09 2008
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[2]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO04.LOG'
    Mon May 12 16:00:14 2008
    RFS[3]: Successfully opened standby log 5: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO05.LOG'
    Mon May 12 16:00:18 2008
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[2]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO04.LOG'
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[2]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO04.LOG'
    Regards,
    Rakesh Soni.

    Done, I've given the same path in Standby Database [datafiles, controlfiles] as it has been given in the Primary Database.
    MoreOver, I m manually switching logfiles at primary database [alter system switch logfile] they are copied and applied sucessfully at standby database. But the archived files that I have copied with cold backup are not applied yet. Infact they are not retrieved executing the below query.
    select name, applied from v$archived_log;
    How can I apply those archived logs? [archives that copied with cold backup]
    Regards.

  • The Critical Problems for Creating Standby Database

    The Critical Problems for Creating Standby Database:(I want to create a physical standby database on the same system of the primary database)
    1. Should I copy all the backup datafiles, standby controlfile and password file to a same directory before the first time to mount the standby database?
    2. Before mounting the standby database, Should I change the datafile's name to a new one in the standby controlfile? How to change them?
    3. When issuing the command to mount the standby database, should I specify the controlfile's name.(using which controlfile to mount)
    These problems are not clearly secified in Oracle documentations.

    Can you point us to the Windows specific documentation you refer to?
    The parameter DB_FILE_NAME_CONVERT should take care of the new mapping for your datafiles (and LOG_FILE_NAME_CONVERT for logs), so you should be able to put them where you want and use the parameter to point Oracle to the correct location. You should not need to change the name in the controlfile.
    Place your standby controlfiles where you have the control files defined in your parameter file and Oracle should recofgnise that it is a standby db. You should not need to specify which controlfiles to use (if this is even possible), your CONTROL_FILES init parameter points to them.
    Not sure about the password file....my instances are on separate boxes and the password file has the same name on both primary and standby.

  • Add temporary datafiles after creating standby database

    I used data guard manager to create standby database and it went fine. Before finish, system pop up a window and says,
    "The data guard configuration has been created in a disabled state. It must be enabled using the Enable option in the configuration menu. Pior to ebaling the configuration, please verify the following:
    The Primary database contains temporary datafiles. The files will not be duplicated in the new standby database. You must manually recreate the temporary files on the standby node by adding them to their respective tablespaces in the standby database after creation process in complete."
    The problem is, in the standby database, how do I add tempfile without open the standby database? the documentation is very unclear...

    Thanks for the reply and the useful link. I had followed the instructions when creating the standby database, although under database options there is a difference between the OEM version we are using and the version shown, whereby the 'RMAN backup location' option has been replaced with 'working directory location'.
    Just found the following and am guessing this is the issue.
    NFS mounts established within a zone are local to that zone. The mounts cannot be accessed from other zones, including the global zone.
    I suspect I will need to copy the backup pieces onto the local server in order to create the standby database using OEM. Not something I was expecting to have to do as copying will take a long time due to the size of the backup, but unless anyone else can shed any light on the reason for the initial error
    RMAN Backup Location - The specified RMAN backup is invalid. Could not identify controlfile from the backup
    then I guess this is the only way forward.
    Regards,
    JP

  • Creating standby database using RMAN

    When I'm creating standby database with RMAN command
    'duplicate for standby' backups for creating standby database
    have to be accessible from host where standby database
    is created. I can copy the backups to standby host, or use
    NFS to share the disk with backups to standby host.
    But when I have backups in ASM diskgroup how can
    I achieve it would be accessible from standby host?
    Thanks a lot for advice,
    M.

    OK, thanks,
    I will create standby using Grid, but I have the following problem:
    database instance is running on the host where I want
    to create standby database. The running instance is for
    testing purposes and has the same db_name, db_unique_name, db_domain
    parameters as in primary database.
    I will change db_unique_name to be distinct from primary database one,
    should I also change instance SID not to be the same in
    testing database and standby on the same host, or when creating standby
    database I can specify distinct one for standby database?

  • How to create a database for sample code from Tutorial/Book?

    I want to try out the sample code from [http://shop.oreilly.com/product/0636920013471.do] for the book SQL Pocket Guide 3rd Ed.
    I have downloaded the oracle vm/appliance for oracle 11g2 and I have started sqlplus as sysdba.
    I'm feeling overwhelmed with these links describing how to create a database:
    [http://www.adp-gmbh.ch/ora/admin/creatingdbmanually.html]
    [http://tldp.org/HOWTO/Oracle-7-HOWTO-3.html]
    [http://www.adp-gmbh.ch/ora/admin/creatingdbmanually.html]
    (1) What is the command to list the existing databases?
    (2) What is the command to delete an existing database?
    (3) When creating a new database with the create database command, is it necessary to specify the logfile, character set, national character set, datafile, sysaux datafile, undo tablespace, temp table space? Do these have reasonable defaults? I'm not sure what proper directories are to specify for Linux and the examples are for windows.
    Can someone give me a simplified create database command to create a database called 3rdEdPocketGuide? Should I follow the example at [http://tldp.org/HOWTO/Oracle-7-HOWTO-3.html] and instead of orcl use 3rdEdPocketGuide?
    (4) What command do I use to execute the script that comes with the book SQL Pocket Guide 3rd Ed? This is the script that has all the drop table, create table and insert commands in it.
    (5) What command do I use in sqlplus to set the current default database prior to running this script? Perhaps this is the connect command? I don't want my script to create tables in the system database.
    (6) I tried the command "connect 3rdEdPocketGuide" and it prompted for a password! Yikes! What password? Do I need to specify a password when I create a database? I cannot tell if I have successfully created such a database or it is just prompting me for a password to thwart malicious users. Is it is possible to create databases which don't require a password or maybe a zero length password?
    Thanks
    Siegfried
    Edited by: user8816970 on Sep 26, 2012 12:01 PM
    Edited by: user8816970 on Sep 26, 2012 12:18 PM

    user8816970 wrote:
    Paul,
    Thanks! I tried changing my profile name to siegfried but I'm not seeing the change...
    Anyway, I'm trying your suggestion to use SQL Developer which was already installed in the virtual box appliance and I cannot figure out how to get a connection.
    When I use the defaults of sid=xe, port=1521, hostname=localhost and specify
    username=sysdba
    password=
    I get status: failure - test failed: listener refursed connection with the following error: ORA 12505, TNS: listener does not current know of sid given.
    So I try sid=orcl and that works better: status: failure - test failed: ORA-01017: invalid username/passowrd; login denied
    OK, sqlplus let me in with out a password, why does not this work?
    So I try checking the box for "OS Authentication" and I get the same error!
    Hoek: I tried searching the documentation and found "3 Exploring Oracle Database with SQL Developer" at http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/toc.htm but following those directions did not help. Can you be more specific? The directions were for a tutorial and I need to know what the passwords are for the database set up with [http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html|http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html] . I also found [http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/tdddg_connecting.htm#CEGHFHIG|http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/tdddg_connecting.htm#CEGHFHIG] but that did not help either.
    Everyone:
    Do I need to create a user using SQL*Plus first so I can login with "Oracle SQL Developer" so I create my database called? What would be the "create user" command I would execute?
    OK, so I run sqlplus and issue these commands
    create user siegfried identified by abc ;
    grant connect to siegfried ;
    connect siegfried/abc;
    Now, how do I create a database? In Microsoft SQL Server one has to create a database first and if you just start creating tables without creating a database first, the tables will be created in the system database and this is usually undesirable.
    Sometimes a database is known in the java connection string as the catalog. Is there any such analog in oracle SQL plus?
    So now what do I do? I want to create a bunch of tables using my script I downloaded from 3rd Ed SQL Pocket Guide. Does my new user "siegfried" have the right to create tables? I guess I could try but I don't want to create tables in the system database.
    I noticed I can also use "Oracle SQL Developer" to connect with my new "siegfried" account. It seems that I should have been able to connect with sysdba... strange.
    So now I am connected in the "Oracle SQL Developer" and I see no list of databases.
    Thanks!
    Siegfried
    >Paul,
    Thanks! I tried changing my profile name to siegfried but I'm not seeing the change...
    Anyway, I'm trying your suggestion to use SQL Developer which was already installed in the virtual box appliance and I cannot figure out how to get a connection.
    When I use the defaults of sid=xe, port=1521, hostname=localhost and specify
    username=sysdba
    password=
    I get status: failure - test failed: listener refursed connection with the following error: ORA 12505, TNS: listener does not current know of sid given.
    So I try sid=orcl and that works better: status: failure - test failed: ORA-01017: invalid username/passowrd; login denied
    OK, sqlplus let me in with out a password, why does not this work?
    So I try checking the box for "OS Authentication" and I get the same error!
    Hoek: I tried searching the documentation and found "3 Exploring Oracle Database with SQL Developer" at http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/toc.htm but following those directions did not help. Can you be more specific? The directions were for a tutorial and I need to know what the passwords are for the database set up with [http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html|http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html] . I also found [http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/tdddg_connecting.htm#CEGHFHIG|http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/tdddg_connecting.htm#CEGHFHIG] but that did not help either.
    Everyone:
    Do I need to create a user using SQL*Plus first so I can login with "Oracle SQL Developer" so I create my database called? What would be the "create user" command I would execute?
    OK, so I run sqlplus and issue these commands
    create user siegfried identified by abc ;
    grant connect to siegfried ;
    connect siegfried/abc;
    above does NOT use SQL*Net to connect to the instance
    >
    Now, how do I create a database? In Microsoft SQL Server one has to create a database first and if you just start creating tables without creating a database first, the tables will be created in the system database and this is usually undesirable.
    Sometimes a database is known in the java connection string as the catalog. Is there any such analog in oracle SQL plus?
    So now what do I do? I want to create a bunch of tables using my script I downloaded from 3rd Ed SQL Pocket Guide. Does my new user "siegfried" have the right to create tables? I guess I could try but I don't want to create tables in the system database.
    I noticed I can also use "Oracle SQL Developer" to connect with my new "siegfried" account. It seems that I should have been able to connect with sysdba... strange.
    So now I am connected in the "Oracle SQL Developer" and I see no list of databases.SQL Developer can only connect to the instance via SQL*Net
    >
    Thanks!
    Siegfrieda database in SQL Server is same as schema/user in Oracle

  • How to create a database in ORACLE 8i

    How to create a database in ORACLE 8i

    hello ...
    enter in
    http://www.oracle.com/pls/db102/portal.portal_db?selected=2 between demand and type in "create database"
    or read others docs ORACLE.
    AF

  • Getting error while creating standby database

    I am creating standby database in oracle 10.2 on windows (same machine)and getting following error.Could any one please suggest me on this.
    on primary database alert log file
    ================================================
    Error 1031 received logging on to the standby
    Fri Jul 17 18:09:23 2009
    Errors in file c:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arc0_4512.trc:
    ORA-01031: insufficient privileges
    PING[ARC0]: Heartbeat failed to connect to standby 'IDR'. Error is 1031.
    ================================================
    my LISTENER file is as below
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = Orcl)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (SID_NAME = Orcl)
    (SID_DESC =
    (GLOBAL_DBNAME = idr)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (SID_NAME = idr)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Gaurav-PC)(PORT = 1521))
    and tns file is as below
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Gaurav-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    IDR =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Gaurav-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = IDR)
    )

    recreate the instance at standby database without password file
    oradim -new -IDR standby -startmode manual recreate password file at primary database , copy the same password file from primary database to standby database,also make sure primary database started with REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE parameter.
    Check also the primary database is able to tnsping to standby database.
    Khurram

  • Gating error while creating standby database in oracle 11g

    Dear Gurus
    I am getting following error while creating standby database. My database version is oracle 11g 11.2.0.1 in Redhat 5.2
    RMAN> duplicate target database for standby from active database;
    Starting Duplicate Db at 10-MAY-12
    using channel ORA_AUX_DISK_1
    contents of Memory Script:
    backup as copy reuse
    targetfile '/oracle/product/11.2.0/dbhome_1/dbs/orapworcl' auxiliary format
    '/oracle/product/11.2.0/dbhome_1/dbs/orapwstdb' ;
    executing Memory Script
    Starting backup at 10-MAY-12
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 05/10/2012 15:44:18
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/10/2012 15:44:18
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-12528: TNS:listener: all appropriate instances are blocking new connections
    ORA-17629: Cannot connect to the remote database server
    RMAN>
    Regards
    Rabi

    Hello;
    Generally for the connection to work you need to add something like this to the listener.ora file :
    (SID_DESC =
        (global_dbname = STANDBY.hostname)
        (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
        (sid_name = STANDBY)
    )You should stop and start the listener on the Standby after adding this. Also your tnsnames.ora must be correct on both the primary and the Standby.
    Also you need an INIT for the Standby side :
    STANDBY.__db_cache_size=343932928
    STANDBY.__java_pool_size=4194304
    STANDBY.__large_pool_size=4194304
    STANDBY.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
    STANDBY.__pga_aggregate_target=281018368
    STANDBY.__sga_target=834666496
    STANDBY.__shared_io_pool_size=0
    STANDBY.__shared_pool_size=469762048
    STANDBY.__streams_pool_size=0
    audit_file_dest='/u01/app/oracle/admin/PRIMARY/adump'
    audit_trail='db'
    compatible='11.2.0.0.0'
    control_files='/u01/app/oracle/oradata/PRIMARY/control01.ctl','/u01/app/oracle/oradata/PRIMARY/control02.ctl'
    db_block_size=8192
    db_domain='SOME.DOMAIN.COM'
    db_flashback_retention_target=2880
    db_name='PRIMARY'
    db_recovery_file_dest_size=2147483648
    db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
    diagnostic_dest='/u01/app/oracle'
    dispatchers='(PROTOCOL=TCP) (SERVICE=PRIMARYXDB)'
    log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST'
    open_cursors=300
    pga_aggregate_target=277872640
    processes=150
    remote_login_passwordfile='EXCLUSIVE'
    sga_target=833617920
    undo_tablespace='UNDOTBS1'
    log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=STANDBY'
    log_archive_dest_2='SERVICE=PRIMARY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) '
    LOG_ARCHIVE_DEST_STATE_1=ENABLE
    LOG_ARCHIVE_DEST_STATE_2=DEFER
    LOG_ARCHIVE_MAX_PROCESSES=30
    FAL_SERVER=STANDBY
    STANDBY_FILE_MANAGEMENT=AUTO
    DB_UNIQUE_NAME=STANDBYFinally
    startup nomount
    Start RMAN and issue duplicate command
    $ORACLE_HOME/bin/rman target=sys/@primary auxiliary=sys/@standby
    RMAN>duplicate target database for standby from active database NOFILENAMECHECK;
    Keys to success
    1. New Standby start NOMOUNT on new password file. ( On Oracle 11 you must copy and rename the file from Primary server )
    2. Hard coded listener on new Standby server.
    3. Correct tnsnames.ora files.
    4. Correct duplicate command.
    Please consider closing some of you old answered questions
    Best Regards
    mseberg
    Edited by: mseberg on May 10, 2012 7:06 AM

  • Creating Standby Database from ASM Databse none ASM

    I have ASM RAC database running on Solaris 10. I want to take a backup with RMAN and move the Backup to none ASM on other Stand alone server. I want to use this none ASM backup database to create Standby Database for Test purpose. Is it doable? If it is doable can you answer following questions?
    What command should I use with RMAN to take a full backup and move it to none ASM platform?
    Thank you

    Well, the answer is most likely yes, but first need to confirm
    - Do you want a physical or logical standby?
    - Will the standby run on the same platform , i.e. also Solaris 10?
    - What version of database ? It is much easier in 11g.

  • How to create a database in 11g via a bat file

    Hi
    I have had a look around the internet, but I am unable to locate a good example of how to create a database/instance in 11g via a bat file. Can anyone advise me how to do this and what other things do I need to make it work via a bat file?
    Thanks

    user633278 wrote:
    Let me say this - I have taken over from someone who has left a development database which developers want to use asap in a poor state and no documentation. It is only when I started looking at the database that I discovered these problems. At the same time a developer wants a script which they he run to drop and recreate a database - it only needs to be minimal - small database, a few tables and stored procedures.OUI uses RMAN restore to produce starter DB & does not CREATE DATABASE from scratch.
    It takes hours to run CATPROC & such after 100% totally empty results from CREATE DATABASE command

  • How to create a database in Cloud

    Hello Experts,
    I have a trial license for cloud.oracle.com and wondering how to create a database in the cloud??
    Do NOT see an option to create db??
    Any help is appreciated..
    Thanks
    Rgds
    Natrajan

    You cannot create a database in Oracle Cloud. Visit the following to learn more about what you can do:
    https://cloud.oracle.com/mycloud/f?p=service:database:0:::::
    http://docs.oracle.com/cloud/CSDBU/intro.htm#CSDBU111

Maybe you are looking for

  • Unable to find the SID value

    Hi, While extracting the data from R/3 system, i get the error as unable to find SID value. Error message : No SID found for value u201CBTu201D of characteristic 0Sales_Unit Cheers, Kayrene

  • Error Installing with Package from CCP

    Hi, Apologies if there's a CCP board; I didn't see it in the menu. I used Creative Cloud Packager to make a package of apps for Mac. Installing the package using Apple Remote Desktop returns ".. could not be installed.  Error message: "Running packag

  • How to make the JTextAreabackground invisible

    i've got this JTextArea on my program and i was wanting to make the background of it invisible, because i hava got an image behing it and i want it to show through. can anyone help me please???

  • How to connect iPod Classic to bluetooth dongle?

    how to connect iPod Classic to bluetooth dongle?

  • Email ID in Contract form

    Hi, I am working in adding the new fields in standard Contract form (BBP_CONTRACT). In W_CONTRACTDETAILS window, there is a field call E-mail in text 'TE_CONTACT'. The value for this field is coming from  field &SF_CTR-RESP_EMPLOYEE-E_MAIL&. When I a