Is it possible to create physical databases Eve from an another standby database?

Is it possible to create physical databases idle for another physical standby database? I intend to create the second physical standby database, but I don't want to add more downtime to the production database to create the second database pending.

You don't have to get the amount of Production downtime. Copy instead, ensure another wait. But, adds the second Eve also in Production for Archive log shipping.

Tags: Database

Similar Questions

  • Is it possible to create a database of the Clone with the same name of source db?

    Is it possible to create a database of the Clone with the same name of source db with RMAN...


    DB version is 11.2.0.2

    &

    Is it possible to clone a 11.2.0.2 database at 11.2.0.3 home location directly on a new server. If it starts in upgrade mode, it's ok...

    Hello;

    Here's what I have:

    Frequently asked Questions about the restoration or duplication between different Versions and platforms [ID 369644.1]

    This thread:

    Re: Duplicate RMAN

    Never done it myself, but I think that his

    alter database open reselog upgrade;
    

    I can predict all the details of this are understood to do a test on a system I can trash.

    Best regards

    mseberg

  • Is it possible to create a full dump from a USB on windows XP?

    I'm going to design a program to create a dump of the memory from a USB key in a dump on windows XP file.  Linux has a tool that does this automatically, and I thought I could save time if Windows has one as well.  The USB key is filled with unreadable bits that I need to read the information of real memory little by little.

    Hello

    I suggest you to follow the steps from the link below and check if it helps:

    http://support.Microsoft.com/kb/315263

    As if this isn't what you're looking for, then I suggest you to ask your question in the TechNet forum.

    http://TechNet.Microsoft.com/en-us/ms772425

    Hope this information is useful.

  • Is it possible to create a preset metadata from Mac to use on PC?

    I would like to sent to the presets for metadata to a friend with a pc. She just add presets or are incompatible between mac and pc? If possible, I would tell her where she should stand, but I don't have a pc. could someone tell me the path on the pc side?

    Dakota73 wrote:

    I would like to sent to the presets for metadata to a friend with a pc. She just add presets or are incompatible between mac and pc?

    Yes, they are compatible.

    Dakota73 wrote:

    If possible, I would tell her where she should stand, but I don't have a pc. could someone tell me the path on the pc side?

    It depends on the o/s, it uses files for different O/S locations were here. Best is to go to preferences and click on 'Show Lightroom Presets folder'. In the indicated folder there is a folder called "Metadata Presets", which is where they need to be copied to. It comes under Win7/Vista, "C:\Users\[user]\AppData\Roaming\Adobe\Lightroom\Metadata Presets\".

    Gossweiler beat

    Switzerland

  • Creating new virtual machine from an another vm

    I installed VMware ESXi 3.5 and that you have created a virtual machine to Windows Server 2003. I would like to use this virtual machine as a model to create other virtual machines. How to create a new virtual machine from a virtual machine existing? What is the best practice? Thank you.

    stop the virtual machine in question, and "the clone to a template.  You can then deploy oversized.  Make sure you have all of the sysprep files that are located in the right place.

    You wan to watch this .pdf, even if a small wedge, it might be useful

    http://www.VMware.com/PDF/vc_2_templates_usage_best_practices_wp.PDF

    Keep in mind that in order to use the functionality of model or a clone, you must have a vCenter Server

    If you believe this or any othe response was useful please consider marking as "useful" or "correct".

  • Problem to identify the control file when creating physical standby

    Hello

    (database version: 10.2.0.4)
    linux platform)

    I use the command below to create physical database from a backup before:
    rman target / auxiliary sys/tiger@paceview
    
    Recovery Manager: Release 10.2.0.4.0 - Production on Tue Sep 4 18:05:53 2012
    
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    
    connected to target database: PACEVIEW (DBID=2092349485)
    connected to auxiliary database: PACEVIEW (not mounted)
    
     run {
     allocate auxiliary channel c1 device type DISK;
     set until sequence 38;
     duplicate target database for standby dorecover nofilenamecheck;
     }
    
    
    released channel: ORA_DISK_1
    allocated channel: c1
    channel c1: sid=35 devtype=DISK
    
    allocated channel: c2
    channel c2: sid=36 devtype=DISK
    
    executing command: SET until clause
    
    Starting Duplicate Db at 04-SEP-12
    
    contents of Memory Script:
    {
       set until scn  138180211934;
       restore clone standby controlfile;
       sql clone 'alter database mount standby database';
    }
    executing Memory Script
    
    executing command: SET until clause
    
    Starting restore at 04-SEP-12
    
    channel c1: restoring control file
    ORA-19625: error identifying file /backup/rman/paceview/DEL1_standby.ctl
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    ORA-19600: input file is control file  (/backup/rman/paceview/DEL1_standby.ctl)
    ORA-19601: output file is control file  (/PGHProdDB/oradata/paceview/control1.ctl)
    failover to previous backup
    
    released channel: c1
    released channel: c2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/04/2012 18:01:44
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06024: no backup or copy of the control file found to restore
    I already tried to cross but always give same error
    Thank you

    Hello;

    That's what I'd do:

    Primary backup (change in your directory as needed)

    RMAN RUN {
    allocate channel d1 type disk;
    backup format '/u01/backups/PRIMARY/df_t%t_s%s_p%p' database;
    sql 'alter system archive log current';
    backup format '/u01/backups/PRIMARY/al_t%t_s%s_p%p' archivelog all;
    backup current controlfile for standby format '/u01/backups/PRIMARY/sb_t%t_s%s_p%p';
    release channel d1;
    }
    

    Move the backup and duplicate like this:

    rman target sys/password@PRIMARY auxiliary /
    
    RMAN> run {
    allocate channel C1 device type disk;
    allocate auxiliary channel C2 device type disk;
    duplicate target database for standby nofilenamecheck;
    }
    

    For details of this method, see:

    http://www.Visi.com/~mseberg/duprman2.html

    Best regards

    mseberg

  • possible to have a database without a primary index?

    Is it possible to create a database to a clustered index, but without the requirement that the attribute on which is based the index must be a primary (unique) key? I have several documents that I put in my database and I would that they indexed/sorted by chronological order to make quick time-range queries. The downside is that a lot of these stamps will be duplicated (i.e. multiple records will have the same timestamp value).

    From what I can tell the primary index requires that the attribute be unique. Is it possible to relax this requirement?

    I use of the DPL, incidentally.

    I would be grateful for any help.

    Thank you.
  • How to create a PDF file from the Clipboard in Adobe Acrobat Reader ms?

    Is it possible to create a PDF file from the Clipboard in Adobe Acrobat Reader ms?

    No, Acrobat Reader cannot create PDF files.

  • Problem creating a Standby physical database with RMAN

    Hi all

    I am learning oracle dataguard and as part of the learning process of creation of database on hold.

    Platform: V250-fire-Sun Sparc, Solaris 10

    Version of database - Oracle 11R2

    I create standby database on the same server, so the directory structure is different.

    By following the instructions on the site of Oracle, I managed to create a functional physical standby database. But I'm not able to create a database with RMAN backup. Here are the steps that I follow-

    1 configure all the required settings on the primary database as done in creating physical standby database manually, for example implementation force of logging, the creation of newspapers ensure etc..

    2. settings edited on the primary database file as does everything in manual creation of physical database backup. Some of these changes are –

    On the primary database:
    *. FAL_CLIENT = "orcl11020" #Primary database unique name
    *. FAL_SERVER = "stdby_11" #Standby database unique name

    db_file_name_convert ='/ < dir >/oradata/stdby_11 ',' / < dir >/oradata/orcl11020 '

    log_file_name_convert ='/ < dir >/oradata/stdby_11 ',' / < dir >/oradata/orcl11020 ',' / < dir > / oradata/stdby_11/redo_mem ',' / < dir > / oradata/orcl11020/redo_mem '
    standby_file_management = auto

    * .log_archive_config = 'DG_CONFIG = (orcl11020, stdby_11)'

    * .log_archive_dest_1 = "LOCATION = / < dir > / flash_recovery_area/ORCL11020/archivelog"

    VALID_FOR = (ALL_LOGFILES, ALL_ROLES) db_unique_name = orcl11020'

    * .log_archive_dest_2 = "SERVICE = db_unique_name LGWR ASYNC = (ONLINE_LOGFILES, PRIMARY_ROLE) stdby_11 = stdby_11 VALID_FOR'"

    *. LOG_ARCHIVE_DEST_STATE_1 = 'ENABLE '.
    *. LOG_ARCHIVE_DEST_STATE_2 = 'ENABLE '.
    *. LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'
    *. LOG_ARCHIVE_MAX_PROCESSES = 30

    Copied same pfile standby database and set to date follows.

    "* .control_files ='/ < dir > /oradata/stdby_11/stdby_11.ctl','/ < dir > / fra_stdby/stdby_11/stdby_11.ctl".
    * .db_name = "orcl1102".
    * .db_unique_name = "stdby_11".
    *. FAL_CLIENT = "stdby_11."
    *. FAL_SERVER = "orcl11020."
    db_file_name_convert ='/ < dir >/oradata/orcl11020 ',' / < dir >/oradata/stdby_11 '
    log_file_name_convert ='/ < dir >/oradata/orcl11020 ',' / < dir >/oradata/stdby_11 ',' / < dir > / oradata/orcl11020/redo_mem ',' / < dir > / oradata/stdby_11/redo_mem '
    standby_file_management = auto
    * .log_archive_dest_1 = "LOCATION = / < dir > / fra_stdby/STDBY_11/archivelog"
    VALID_FOR = (ALL_LOGFILES, ALL_ROLES) db_unique_name = stdby_11'
    * .log_archive_dest_2 = "SERVICE = orcl11020 LGWR ASYNC VALID_FOR = (ONLINE_LOGFILES, PRIMARY_ROLE)
    db_unique_name = orcl11020'

    3. Add the relevant information in tnsnames.ora and listener.ora files and restart the listener.
    3 created the file password with the same credentials as database primary.
    4.up - to-date RMAN backup primary database available.
    5. create controlfile standby with rman
    While the primary database s open (I tried with a primary database in montage mode as well).

    $> rman/paswd@rman for catalog rman target /.
    RMAN > BACKUP CURRENT CONTROLFILE TO SLEEP;

    6. open a new terminal standby base and start in nomount mode using the settings created - file
    $> ORACLE_SID = stdby_11
    $> export ORACLE_SID
    $> sqlplus / as sysdba
    SQL > STARTUP NOMOUNT pfile =' < rental/initfilename.ora '
    SQL > quit
    $> rman AUXILIARY / target sys/passwd@orcl11020 catalog rman/passwd@rman
    RMAN > duplicate TARGET DATABASE ENSURES DORECOVER;


    RMAN ends without error but the archive logs is not eliminated. Looking at the newspaper, following caught my eye.

    Logging of 1017 errors received on the eve
    ------------------------------------------------------------
    Verify that the primary and standby use a password file
    and remote_login_passwordfile shared or EXCLUSIVE.
    and the SYS password is the same password files.
    error ORA-16191
    ------------------------------------------------------------
    FAL [client, ARC2]: error 16191 connection at orcl11020 for the extraction of the gap sequence
    Errors in file /<>dir > / diag/rdbms/stdby_11/stdby_11/trace/stdby_11_arc2_24321.trc:
    ORA-16191: customer main newspaper not connected waiting for shipment
    Errors in file / < dir > / diag/rdbms/stdby_11/stdby_11/trace/stdby_11_arc2_24321.trc:
    ORA-16191: customer main newspaper not connected waiting for shipment


    Thus on primary and standby I confirmed

    SQL > show parameter remote_login_passwordfile

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------
    Remote_login_passwordfile string EXCLUSIVE

    Make double sure that the password files are the same, I stop databases, delete the password and recreated with the same credentials.
    Password files are called - orapworcl11020 and orapwstdby_11

    Can someone guide me where thisngs wrong here please.

    How did you create your file of passwords on the rescue system?

    I will consider your entire post and see what jumps.

    * 3. Created the file password with the same credentials as primary database.*

    You cannot create the password on the eve of 11.1 from file. You must COPY the password from the primary to the wait for passwords to match. What I do, is copy and rename.

    E.g.

    I copy orapwPRIMARY to the standby server and rename it orapwSTANDBY

    (Your names varies)

    It could start to work if you do this with a stop and restart of recovery on the day before. Newspapers make up probably just.

    If you find this helpful please mark as well.

    Best regards

    mseberg

    Published by: mseberg on July 7, 2011 07:16

    A few things about the parameters (they can make no difference)

    This

    Log_archive_dest_1 =' LOCATION = /

    /flash_recovery_area/ORCL11020/archivelog VALID_FOR = (ALL_LOGFILES, ALL_ROLES) db_unique_name = orcl11020'

    Would it be

    Log_archive_dest_1 =' LOCATION = USE_DB_RECOVERY_FILE_DEST VALID_FOR = (ALL_LOGFILES, ALL_ROLES) db_unique_name = orcl11020'

    Not sure that you need.

    LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'

  • Is it possible to create a Dimension attribute in a database of the ASO?

    When I create the parent of the initial attribute and try to save the outline, it gives me an error that I need to associate the dimension of the attribute to the dimension of the base. So I go to my Member of L0 but the associations tab is grayed out. Any ideas if it's possible to create? Thank you!

    Okay, you do that.
    1. create the dimension of the attribute
    2. click on the basis dimesnion
    3 right-click on the DIMENSION NAME and select Edit properties
    4. click on the attributes tab. You should see a list of the dimensions of the attribute
    5. once the dimension is associated with the base dimension, you can assign attributes to members

  • Several primary and physical databases Configuration ensures in Data Guard Broker

    Hello

    Is it possible to add two or several primary and physical databases configuration ensures in data guard broker?

    I have 1 primary databases and two databases physical standby that is

    (1) primary that is pri - (database primary)

    (2) secondary i, e, s (physical pending)

    (3) Secondary2 i.e. sec2 (physical pending)

    Practical AM sinister place, my scenario is my pri and dry machines are in seat, if the pri crashed it switch to s that works very well and my S2 is in another area office. Suppose that if my two siege machines pri and sec crashed, so I want to do my mahcine sec2 as primary.

    I have two separate computers to the broker a headquarters and a District Office

    Use failure of quick start on Data Guard Broker, broker headquarters machine I have configured pri and dry but in sector office broker not able congifured pri and S2 and the machine.

    can be done several primary database configuration with data bases on hold?

    Has anyone done this before, or has a perform a recovery after loss of place...

    need help or suggestion

    thanx

    No.... It is not possible. When you use the DG broker, the first thing you can do in the DGMGRL utility is to deliver CONFIGURATION to CREATE. You can see on the doc of this command that you define here the PRIMARY DATABASE.

    The command to add a DATABASE to the broker, adds a new database pending. You cannot add an another primary.

    The broker configuration is explicitly for a primary and all standby databases is supported. If you have an another primary, you create a separate DG broker configuration.

    See you soon,.
    Brian

  • A physical database configuration ensures in 9i

    Hi all

    OS: Solaris 10 SPARC x 64

    DB: 9.2.0.6 x 64

    I have a task to create a physical database ensures in a solaris 10 - Oracle 9.2.0.6 approx. I'm used to doing this configuration on version 11.2 of Oracle and because of that I have some doubts about the possible configurations needed to be done in a 9i database.

    (1) the main question I have is in regards using RMAN. I would like to know if it is possible to restore a normal backup of my primary database in the database pending and after that, apply necessary to synchronize the day before with the primary logs archived? The controlfile I would use would be created by the RMAN command "BACKUP CONTROLFILE CURRENT for INTELLIGENCE". The RMAN script woulb be similar to the one below:

    Run {}

    allocate channel ch01 device type disk;

    allocate channel ch02 device type disk;

    allocate channel ch03 device type disk;

    allocate channel ch04 device type disk;

    Restore controlfile from "standby_controlfile.ctl"

    SQL 'edit the editing of the database';

    restore the database;

    recover the database;

    }

    (2) the directory structure will be the same, so I think that it is not necessary to use SET NEWNAME and DB_FILE_NAME_CONVERT/LOG_FILE_NAME_CONVERT, is that correct?

    (3) you have any other regarting considerations the differences between a 9i and a 11 g physical secondary Configuration?

    Thank you for your attention and patience beach.

    Hello;

    Question 1 – see this:

    http://docs.Oracle.com/CD/B10500_01/server.920/a96566/rcmstand.htm

    On question 2 - work assuming RMAN then DB_FILE_NAME_CONVERT/LOG_FILE_NAME_CONVERT would NOT have to be defined in the same directory structure.

    Question 3 - Check this:

    http://docs.Oracle.com/CD/B10500_01/server.920/a96653.PDF

    Best regards

    mseberg

  • Problem creating physical standby with RMAN

    Hi guru

    Perhaps this impact that all face you when creating physical standby DB. I'm trying to create a physical standby database Using RMAN double order a server

    (pri machine) machine on standby.

    Here are the steps I followed to create the above:

    Step 1:-activate forced logging

    SQL > ALTER DATABASE FORCE LOGGING;

    Step 2:-set up a standby Redo Log

    SQL > ALTER DATABASE ADD STANDBY LOGFILE GROUP 10

    2 > ('/ oracle/dbs/log1c.rdo','/oracle/dbs/log2c.rdo') SIZE 500 M;

    Step 3:-set the parameters of primary database initialization

    SQL > create pfile='?/dbs/pfileorcl.ora' of spfile;

    Edit the pfile to add the sleep settings, shown here:

    db_unique_name = "orcl".

    LOG_ARCHIVE_CONFIG = 'DG_CONFIG = (ORCL, orcldr)'

    LOG_ARCHIVE_DEST_2 = "SERVICE = orcldr LGWR ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = orcldr'"

    * .fal_server = orcldr

    * .fal_client = orcl

    * .standby_file_management = auto

    Step 4:-activate archiving

    SQL > SHUTDOWN IMMEDIATE;

    SQL > STARTUP MOUNT;

    SQL > ALTER DATABASE ARCHIVELOG;

    SQL > ALTER DATABASE OPEN;

    Step 5:-tnsnames for eve of the configuration database

    This should be done on the primary database to edit tnsnames.ora or using the command NetCA and create by the name orcldr

    orcldr =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = Eve-svr)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = orcldr)

    )

    )

    Step 6:-backup of database and copy it to standby mode

    This backup script must be run on primary and copied to sleep on the same mount point, run these scripts with RMAN, all files in /rman_backup need to be copied in /rman_backup on the standby server.

    $rman target.

    RMAN > run

    {

    allocate channel c1 type disk;

    allocate channel c2 type disk;

    backup of database format ' / rman_backup/%U';

    ARCHIVELOG backup all the format ' / rman_backup %U ';

    backup current controlfile to Eve format ' / rman_backup/%U';

    }

    Step 7:-availability of measures database

    Installation of Oracle software

    This should be the same version and patch group with exactly same ORACLE_HOME mount point.

    Commissioning of the listener

    Create and start a listener on the database of sleep by using NetCA, or create listener.ora in $ORACLE_HOME/network/admin

    LISTENER =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = Eve-svr)(PORT = 1521))

    )

    Step 8:-set of backup database initialization parameters

    Copy the pfile file created in the database primary it renames in initorcldr.ora and change these settings:

    db_unique_name = "orcldr".

    LOG_ARCHIVE_CONFIG = 'DG_CONFIG = (orcldr, ORCL)'

    LOG_ARCHIVE_DEST_2 = "SERVICE = orcl LGWR ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = orcl'"

    * .fal_server = orcl

    * .fal_client = orcldr

    *. LOG_ARCHIVE_DEST_STATE_2 = 'ENABLE '.

    Step 9:-installation tnsnames for the primary database

    This should be done on the pending change tnsnames.ora or using the command NetCA database and create it in the name orcl

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = primary-svr)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = orcl)

    )

    )

    Step 10:-copy a password file

    A password file must be created on the primary and copied to the standby site. The sys password must be the same on both sites. Copy orapworcl in $ORACLE_HOME/dbs and rename the file in orapworcldr

    Step 11:-create for Oracle mount points

    Mount point must be created on the standby server with the same convention used in primary education, which includes the location for controlfiles, redo logs, data files, destination of the newspaper Archives and alert logs.

    $ mkdir Pei/u01/app/oracle/oradata/orcl /.

    $ mkdir Pei/u01/app/oracle/flash_recovery_area /.

    $ mkdir Pei/u01/app/oracle/admin/orcl/adump

    $ mkdir Pei/u01/app/oracle/admin/orcl/bdump

    $ mkdir Pei/u01/app/oracle/admin/orcl/cdump

    $ mkdir Pei/u01/app/oracle/admin/orcl/udump

    Step 12:-use RMAN to restore the backup and standby configuration

    Connecting to RMAN and run the following command to create the database pending, this must be performed on the standby server after the backup copy and the tnsnames parameter.

    $ export ORACLE_SID = orcldr

    $ rman target sys/tiger@orcl auxiliary sys/tiger@orcldr

    RMAN > target double standby database dorecover;

    Here, I'm getting problem such as:

    While he was trying to connect to databases traget and auxiliary, I noticed that when RMAN is connected across the two databases it shows

    ORCL (DBID xyz)

    ORCL (unmounted)

    Here, in my opinion the second database must be the name of the standby database or auxiiary db name is Eve db which is orcldr in my case

    After this issue, I am faced with the second issues such as:

    in command

    target double standby database dorecover;

    After you change the command to

    RMAN > duplicate target database "sleep."

    RMAN-05520 database name mismatch

    Can u please let me know where I can be wrong

    Finally I have the problem after all this googling and thinking the same thing.

    Thanks to you all

  • Create a database database dev pending

    Hi people,

    I need to create a database of dev by using RMAN cloning method. But since it's opening hours and the production database is used at a very high rate, I can't perform the cloning by connecting to the primary database because it can cause slow performance.

    The time allocated to the activity is also very short. We have a database of pending created for the primary database. So, is my question possible for me to create the dev database using the database pending?

    Version of database is 11.1.0.6 and I can move forward with the active database functionality.

    Yes, you can clone from the database pending. Follow the steps below.

    1. check if your standby database is synchronized with the primary database.
    2 cancel the MRP on the standby database.

    ALTER database recover managed standby database cancel;

    3. connect mode of Eve as target databases and dev as auxiliary

    RMAN target sys /@ auxiliary sys/pwd @.

    4. your database of relief would be in Assembly stage and dev in phase nomount.
    5. run the duplicate order

    RMAN > duplicate target database 'dev' nofilenamecheck.

    6. When finished, start the MRP on the backup database

    modify the recovery of database managed standby database disconnect from the session;

  • Sharing a database without a physical database file

    Short version:

    Is it possible to share data between processes without a physical backup file?

    I seem to be caught in a catch 22. I can't create a database with a correct database name and a null file name because BDB considers that I am creating multiple databases (which I'm not, I want only one), however I cannot create a database with a null file and a database null name because the manual of the specific BDB that if I try This database cannot open another thread of control (which correspond to the "data not found" my utility program returns).

    Any help would be appreciated,
    -Kevin






    Long version:

    I use a database in shared memory. I'm doing the database temporary and resident in memory for performance. A single process creates and maintains the database (server), another process reads the information on the database for use (customer) General. When the database resides on the disk, I had no problem. Both the client and the server use the same file name and I left the name of database as null. When I moved from the database memory that exclusively the customer couldn't find all the data (assuming that I tried to open the database with a file null and a null database name). According to the manual, it is by design and the customer will not be able to access the data. However, it surprises me that the customer is able to open the database, but then no data is found... I think that the open data base should not have purely and simply. In any case I tried to assign a database name, but now I get an error when I try to create the database (described below).

    Does anyone have an idea on how to fix this? Or maybe someone wrote a cludge who shares the database pointer created with another thread of control to work around this problem?

    My environment (server):
    ConfigEnv = new DbEnv (0);
    ConfigEnv-> set_errcall (& errorCall);
    ConfigEnv-> set_cachesize (numGigabytes, numBytes, NUMBER_OF_MEMORY_CACHES);
    ConfigEnv-> set_shm_key (sharedKey);
    ConfigEnv-> open (dbPath.c_str (), DB_INIT_CDB |) DB_INIT_MPOOL | DB_THREAD | DB_CREATE | DB_EXCL | DB_SYSTEM_MEM, 0755);

    My database (server):
    CustomerTable = new Db (ConfigEnv, 0);
    CustomerTable-> open (NULL, NULL, databaseName.c_str (), DB_BTREE, DB_CREATE |) DB_EXCL, 0755);
    (or)
    CustomerTable-> open (NULL, NULL, NULL, DB_BTREE DB_CREATE |) DB_EXCL, 0755);

    The error:
    DB::open: Invalid Argument
    Cannot create multiple databases in temporary files
    (or)
    DBEnv and DB both open successfully, but the database is empty.


    The Catch22:

    I can not specify the name of the database as null otherwise the manual States the following:
    "If the database parameter is also NULL, the database is strictly temporary and cannot be opened by another thread of control"

    However, the source code reads as follows:

    If (dname! = NULL) {}
    If (fname == NULL) {}
    __db_err (dbenv, "several databases cannot be created in the temporary files");


    (sales open order is: CustomerTable-> open (NULL, NULL, NULL, DB_BTREE, 0, 0) ;))

    The desired function (called "Named in memory Databases") was added in 4.4 DB. Please try with a newer version and let us know if you still have problems.

    Kind regards
    Michael Cahill, Oracle Berkeley DB.

Maybe you are looking for

  • How can I reinstall the Facebook

    I accidentally deleted my macbook pro Facebook, I recently had problems with some malware on my macbook which, after using Malwarebytes to remove, I noticed that my Facebook doesn't look good, I think I could have a Facebook page which has been redir

  • Issue installing XP on Satellite P200

    I have the same problem as many others with a configuration of installation of XP not finding not all hard disks. I read through the topics of the forum dealing with this issue, but still have a problem. When you try to install the Intel Matrix Stora

  • If I buy a Tablet, it will automatically come with a Sim Apple in?

    Hello, I was wondering if I'm buying tablets for my business, they will already have the Apple Sim? I have the choice to take it and replace it?

  • Created a log partition which is invisible and taking up valuable space. (El Capitan).

    I've created a normal 175 GB partition through redesigned disk utility. It has been chugging along so I left it to itself, and when I came back my cell phone has been turned off. I restarted to find that my main HARD drive, which has a capacity of 50

  • HP 8600: HP 8600 black lines aside copy

    I had a lot of black lines running through the digitization, flat copy and the copy of the ADF.  I changed the color cartridges, print head alignment, cleaned the print heads and the lines have disappeared except for a single line on the side using t