Duplicating a database - metadata only

Hi
I want to create an automated script that will run weekly and will duplicate our production database but WITHOUT data
I know there are several ways to do it - but they are quite combersome
I would like to be able to change the datafile path ( similar to the convert we have in RMAN duplicate )
Is there an elegant way this can be done ?
or am I destined to the import datapump option ?
We are running Oracle 10.2.0.4 Sun Solaris
Thanks
Orna

Orna Weisman wrote:
Hi
I want to create an automated script that will run weekly and will duplicate our production database but WITHOUT data
I know there are several ways to do it - but they are quite combersome
I would like to be able to change the datafile path ( similar to the convert we have in RMAN duplicate )
Is there an elegant way this can be done ?
or am I destined to the import datapump option ?
We are running Oracle 10.2.0.4 Sun Solaris
Thanks
OrnaHi Orna
As it was said above, it's impossible to duplicate only metadata of database using RMAN
You have two choices:
- Using Data Pump, backup only structure of objects of your database
- Write an automatic script which generates bulk of scripts using DBMS_METADATA package
P.S. The first is simplest and suggested

Similar Messages

  • Export whole database metadata only.

    I would like to export an entire DB metadata . I want to exclude data.
    is it possible.
    We have 100+users.
    We get request to restore package from their schema very often.
    So I am thinking of creating job to emport an entire DB metadata .

    Hi,
    Since you used Data Pump, restoring a single package body is certainly possible. Like it was mentioned before in this thread, you need to drop the package body before running your import. The import command I would use would be something like:
    impdp system/manager schemas=<owner of the package body> include=PACKAGE_BODY:" = '<package_body_name>'" ...
    It is easiest if you put the include statement in a parameter file so you don't have to worry about escaping the single and double quotes.
    Hope this helps.
    Dean

  • TIP 04: Duplicating a Database in 10g by Joel Pèrez

    Hi OTN Readers!
    Everyday I get connection on Internet and one of the first issues that
    I do is to open the OTN main page to look for any new article or any
    new news about the Oracle Technology. After I open the main page of
    OTN Forums and I check what answers I can write to help some people
    to work with the Oracle Technology and I decided to begin to write some
    threads to help DBAs and Developers to learn the new features of 10g.
    I hope you can take advantage of them which will be published here in
    this forum. For any comment you can write to me directly to : [email protected] . Apart from your comments you can suggest to me any topic to write an article like this.
    Please do not replay this thread, if you have any question related to
    this I recommend you to open a new post. Thanks!
    The tip of this thread is: Duplicating a Database in 10g
    Joel Pérez
    http://otn.oracle.com/experts

    Step 6: Editing the file generated
    The file generated is going to be like this:
    Dump file f:\ora9i\admin\copy1\udump\copy1_ora_912.trc
    Thu May 20 16:27:37 2004
    ORACLE V9.2.0.1.0 - Production vsnsta=0
    vsnsql=12 vsnxtr=3
    Windows 2000 Version 5.0 Service Pack 4, CPU type 586
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Windows 2000 Version 5.0 Service Pack 4, CPU type 586
    Instance name: copy1
    Redo thread mounted by this instance: 1
    Oracle process number: 10
    Windows thread id: 912, image: ORACLE.EXE
    *** SESSION ID:(9.38) 2004-05-20 16:27:37.000
    *** 2004-05-20 16:27:37.000
    # The following are current System-scope REDO Log Archival related
    # parameters and can be included in the database initialization file.
    # LOG_ARCHIVE_DEST=''
    # LOG_ARCHIVE_DUPLEX_DEST=''
    # LOG_ARCHIVE_FORMAT=ARC%S.%T
    # REMOTE_ARCHIVE_ENABLE=TRUE
    # LOG_ARCHIVE_MAX_PROCESSES=2
    # STANDBY_FILE_MANAGEMENT=MANUAL
    # STANDBY_ARCHIVE_DEST=%ORACLE_HOME%\RDBMS
    # FAL_CLIENT=''
    # FAL_SERVER=''
    # LOG_ARCHIVE_DEST_1='LOCATION=f:\ora9i\RDBMS'
    # LOG_ARCHIVE_DEST_1='MANDATORY NOREOPEN NODELAY'
    # LOG_ARCHIVE_DEST_1='ARCH NOAFFIRM SYNC'
    # LOG_ARCHIVE_DEST_1='NOREGISTER NOALTERNATE NODEPENDENCY'
    # LOG_ARCHIVE_DEST_1='NOMAX_FAILURE NOQUOTA_SIZE NOQUOTA_USED'
    # LOG_ARCHIVE_DEST_STATE_1=ENABLE
    # Below are two sets of SQL statements, each of which creates a new
    # control file and uses it to open the database. The first set opens
    # the database with the NORESETLOGS option and should be used only if
    # the current versions of all online logs are available. The second
    # set opens the database with the RESETLOGS option and should be used
    # if online logs are unavailable.
    # The appropriate set of statements can be copied from the trace into
    # a script file, edited as necessary, and executed when there is a
    # need to re-create the control file.
    #     Set #1. NORESETLOGS case
    # The following commands will create a new control file and use it
    # to open the database.
    # Data used by the recovery manager will be lost. Additional logs may
    # be required for media recovery of offline data files. Use this
    # only if the current version of all online logs are available.
    STARTUP NOMOUNT
    CREATE CONTROLFILE REUSE DATABASE "COPY1" NORESETLOGS  NOARCHIVELOG
    --  SET STANDBY TO MAXIMIZE PERFORMANCE
        MAXLOGFILES 50
        MAXLOGMEMBERS 5
        MAXDATAFILES 100
        MAXINSTANCES 1
        MAXLOGHISTORY 226
    LOGFILE
      GROUP 1 'C:\COPY1\COPY1\REDO01.LOG'  SIZE 10M,
      GROUP 2 'C:\COPY1\COPY1\REDO02.LOG'  SIZE 10M,
      GROUP 3 'C:\COPY1\COPY1\REDO03.LOG'  SIZE 10M
    -- STANDBY LOGFILE
    DATAFILE
      'C:\COPY1\COPY1\SYSTEM01.DBF',
      'C:\COPY1\COPY1\UNDOTBS01.DBF',
      'C:\COPY1\COPY1\CWMLITE01.DBF',
      'C:\COPY1\COPY1\DRSYS01.DBF',
      'C:\COPY1\COPY1\EXAMPLE01.DBF',
      'C:\COPY1\COPY1\INDX01.DBF',
      'C:\COPY1\COPY1\ODM01.DBF',
      'C:\COPY1\COPY1\TOOLS01.DBF',
      'C:\COPY1\COPY1\USERS01.DBF',
      'C:\COPY1\COPY1\XDB01.DBF'
    CHARACTER SET WE8ISO8859P1
    # Recovery is required if any of the datafiles are restored backups,
    # or if the last shutdown was not normal or immediate.
    RECOVER DATABASE
    # Database can now be opened normally.
    ALTER DATABASE OPEN;
    # Commands to add tempfiles to temporary tablespaces.
    # Online tempfiles have complete space information.
    # Other tempfiles may require adjustment.
    ALTER TABLESPACE TEMP ADD TEMPFILE 'C:\COPY1\COPY1\TEMP01.DBF'
         SIZE 41943040  REUSE AUTOEXTEND ON NEXT 655360  MAXSIZE 32767M;
    # End of tempfile additions.
    #     Set #2. RESETLOGS case
    # The following commands will create a new control file and use it
    # to open the database.
    # The contents of online logs will be lost and all backups will
    # be invalidated. Use this only if online logs are damaged.
    STARTUP NOMOUNT
    CREATE CONTROLFILE REUSE DATABASE "COPY1" RESETLOGS  NOARCHIVELOG
    --  SET STANDBY TO MAXIMIZE PERFORMANCE
        MAXLOGFILES 50
        MAXLOGMEMBERS 5
        MAXDATAFILES 100
        MAXINSTANCES 1
        MAXLOGHISTORY 226
    LOGFILE
      GROUP 1 'C:\COPY1\COPY1\REDO01.LOG'  SIZE 10M,
      GROUP 2 'C:\COPY1\COPY1\REDO02.LOG'  SIZE 10M,
      GROUP 3 'C:\COPY1\COPY1\REDO03.LOG'  SIZE 10M
    -- STANDBY LOGFILE
    DATAFILE
      'C:\COPY1\COPY1\SYSTEM01.DBF',
      'C:\COPY1\COPY1\UNDOTBS01.DBF',
      'C:\COPY1\COPY1\CWMLITE01.DBF',
      'C:\COPY1\COPY1\DRSYS01.DBF',
      'C:\COPY1\COPY1\EXAMPLE01.DBF',
      'C:\COPY1\COPY1\INDX01.DBF',
      'C:\COPY1\COPY1\ODM01.DBF',
      'C:\COPY1\COPY1\TOOLS01.DBF',
      'C:\COPY1\COPY1\USERS01.DBF',
      'C:\COPY1\COPY1\XDB01.DBF'
    CHARACTER SET WE8ISO8859P1
    # Recovery is required if any of the datafiles are restored backups,
    # or if the last shutdown was not normal or immediate.
    RECOVER DATABASE USING BACKUP CONTROLFILE
    # Database can now be opened zeroing the online logs.
    ALTER DATABASE OPEN RESETLOGS;
    # Commands to add tempfiles to temporary tablespaces.
    # Online tempfiles have complete space information.
    # Other tempfiles may require adjustment.
    ALTER TABLESPACE TEMP ADD TEMPFILE 'C:\COPY1\COPY1\TEMP01.DBF'
         SIZE 41943040  REUSE AUTOEXTEND ON NEXT 655360  MAXSIZE 32767M;
    # End of tempfile additions.
    #As you can see, you have there different ways to recreate the controlfile. In Our case, We are going to recreate the controlfiles so:
    STARTUP NOMOUNT
    CREATE CONTROLFILE SET DATABASE "COPY2" RESETLOGS NOARCHIVELOG
    -- SET STANDBY TO MAXIMIZE PERFORMANCE
    MAXLOGFILES 50
    MAXLOGMEMBERS 5
    MAXDATAFILES 100
    MAXINSTANCES 1
    MAXLOGHISTORY 226
    LOGFILE
    GROUP 1 'C:\COPY2\COPY2\REDO01.LOG' SIZE 10M,
    GROUP 2 'C:\COPY2\COPY2\REDO02.LOG' SIZE 10M,
    GROUP 3 'C:\COPY2\COPY2\REDO03.LOG' SIZE 10M
    -- STANDBY LOGFILE
    DATAFILE
    'C:\COPY2\COPY2\SYSTEM01.DBF',
    'C:\COPY2\COPY2\UNDOTBS01.DBF',
    'C:\COPY2\COPY2\CWMLITE01.DBF',
    'C:\COPY2\COPY2\DRSYS01.DBF',
    'C:\COPY2\COPY2\EXAMPLE01.DBF',
    'C:\COPY2\COPY2\INDX01.DBF',
    'C:\COPY2\COPY2\ODM01.DBF',
    'C:\COPY2\COPY2\TOOLS01.DBF',
    'C:\COPY2\COPY2\USERS01.DBF',
    'C:\COPY2\COPY2\XDB01.DBF'
    CHARACTER SET WE8ISO8859P1
    Note: two important issues to denote in the sentence above is the word "SET" instead of "REUSE" and the controlfiles must be recreated in RESETLOG mode because the database must be opened in RESETLOG mode.
    If you use the word "REUSE" instead of "SET" the opening of the database is going to request recovery of the datafile of the tablespace system.
    So, apply this to recreate the controlfiles:
    - Start the service in windows for the database COPY2
    - Get connection through SQL*Plus as system
    - Shut down the database with shutdown abort
    - Start the database up in nomount stage
    - apply the sentence to recreate the controlfile.
    C:\>SET ORACLE_SID=COPY2
    C:\>sqlplus /nolog
    SQL*Plus: Release 9.2.0.1.0 - Production on Thu May 20 16:46:49 2004
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    SQL> conn sys as sysdba
    Enter password:
    Connected.
    SQL>
    SQL> shutdown abort
    ORACLE instance shut down.
    SQL>
    SQL>
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area  135338868 bytes
    Fixed Size                   453492 bytes
    Variable Size             109051904 bytes
    Database Buffers           25165824 bytes
    Redo Buffers                 667648 bytes
    SQL>
    SQL>
    SQL> CREATE CONTROLFILE SET DATABASE "COPY2" RESETLOGS  NOARCHIVELOG
      2  --  SET STANDBY TO MAXIMIZE PERFORMANCE
      3      MAXLOGFILES 50
      4      MAXLOGMEMBERS 5
      5      MAXDATAFILES 100
      6      MAXINSTANCES 1
      7      MAXLOGHISTORY 226
      8  LOGFILE
      9    GROUP 1 'F:\COPY2\COPY2\REDO01.LOG'  SIZE 10M,
    10    GROUP 2 'F:\COPY2\COPY2\REDO02.LOG'  SIZE 10M,
    11    GROUP 3 'F:\COPY2\COPY2\REDO03.LOG'  SIZE 10M
    12  -- STANDBY LOGFILE
    13  DATAFILE
    14    'F:\COPY2\COPY2\SYSTEM01.DBF',
    15    'F:\COPY2\COPY2\UNDOTBS01.DBF',
    16    'F:\COPY2\COPY2\CWMLITE01.DBF',
    17    'F:\COPY2\COPY2\DRSYS01.DBF',
    18    'F:\COPY2\COPY2\EXAMPLE01.DBF',
    19    'F:\COPY2\COPY2\INDX01.DBF',
    20    'F:\COPY2\COPY2\ODM01.DBF',
    21    'F:\COPY2\COPY2\TOOLS01.DBF',
    22    'F:\COPY2\COPY2\USERS01.DBF',
    23    'F:\COPY2\COPY2\XDB01.DBF'
    24  CHARACTER SET WE8ISO8859P1
    25  ;
    Control file created.
    SQL>Joel Pérez
    http://otn.oracle.com/experts

  • Duplicating a Database

    RAC11g
    Hi
    I am duplicating a database with RMAN duplicate.
    I set the parameters db_file_name_convert, log_file_name_convert on both instances of target database. The target database is a production database. I know I have to shutdown both instances and after start them for having the parameters on both. Accidentaly I shutdown one of them and up to I shutdown the another the instance1 is not going to be started because the instance tell me that the parameters have to be equal on both. I know that If I shutdown instance2, after both instances are going to be fine but I can not do it because I can not close the database.
    Instance1 have the parameters originaly so:
    SQL> show parameters convert
    NAME TYPE VALUE
    db_file_name_convert string
    log_file_name_convert string
    and the instance1 has these parameters with values that I set.
    What I want ?. Clear these parameters on instance1 again for starting it again.
    I know I can modify parameters of instance1 from instance2 but the values seems to be bad....
    for example:
    when I tro to clear the parameters from instance1 I get the following error:
    SQL> alter system set db_file_name_convert='','' scope=spfile sid='instance1';
    alter system set db_file_name_convert='','' scope=spfile sid='COFASADB1'
    ERROR at line 1:
    ORA-01078: failure in processing system parameters
    LRM-00117: syntax error at ',' at the start of input
    SQL>
    what is the correct value to clear the parameter ?
    Thanks

    Hi
    I removed the parameters with alter system reset <parameter name> scope=spfile sid='*';
    Now I have set the parameters only in auxiliary database but it seems... it is looking for to retore on production dbfiles....
    Both databases are RAC databases and they are on the same hosts.
    I have done several duplicates in RAC enviroment from RAC Database to single instance inside these hosts without any problem.
    I am doing the duplicate from node2 connecting to the production database instance2 and auxiliary database in instance2 as well.
    Thanks

  • How to make database read only?

    Hi
    All,
    I have restored my production database to development. I want to make these database available only for reading purpose means nobody can make any changes to that database only thing is that they can see the data. Is there any feature available to achieve the same?
    Thanks,
    Vishal

    Hi,
    >>I am guessing: Use triggers not to allow insert, update or delete on that table.
    The easy trick is create a check constraint with disable validate state ... but you are not safe in case a drop statement is issued ...
    TEST@XE> create table t1 (id number);
    Table created.
    TEST@XE> alter table t1 add constraint chk_readonly check (1=1) disable validate;
    Table altered.
    TEST@XE> insert into t1 values (1);
    insert into t1 values (1)
    ERROR at line 1:
    ORA-25128: No insert/update/delete on table with constraint (TEST.CHK_READONLY) disabled and validated
    TEST@XE> truncate table t1;
    truncate table t1
    ERROR at line 1:
    ORA-25128: No insert/update/delete on table with constraint (TEST.CHK_READONLY) disabled and validated
    TEST@XE> drop table t1;
    Table dropped.Cheers
    Legatti

  • Make CA database read-only?

    Is it possible to make Firefox not accept any new Certificate Authorities without user interaction?
    Long story short, I have having a problem where Firefox is adding a CA to it's database that is hosing things up. The actual problem is with the cert that is being offered to me, and I am working with that system owner to fix the cert, but in the mean time I would like to have Firefox not ever load the CA into it's database. This new CA is added without the user being prompted at all. Simply visiting a specific website causes this new CA to be added to the list (but again, not trusted, just added to the list).
    By default when it is loaded the new cert has no permissions so it is not trusted, but the problem is the fact that the CA that is added is a duplicate name with another known good CA in my list and it causes things to go wacky when there are two with the same name (different signatures, different issuer, the only thing the same is the nickname).
    I know this isn't a problem with Firefox directly. In 99.9999% of cases when it adds an additional CA to the list it doesn't cause a problem at all because it is not trusted and it won't inherently allow the secure connection. But since fixing the real problem with the owner of the website is going to take a long time (weeks/months) I would like to put a band-aid on the symptom so that I can cut my maintenance of this topic down greatly.
    I am running Red Hat Enterprise Linux 5.9 with Firefox 10.0.12 (RHEL distributed Firefox).
    I could go into extreme detail to explain what is causing my problem, but the short question I have is "Is there a way to make the CA database read-only"?
    I have tried editing the permissions of cert8.db in ~/.mozilla/firefox/*.default/ to only be readonly (0400) vice read-write (0600) currently. However this causes Firefox to have kittens when I try to use anything that reads the CA list so I had to change it back.
    I have a hacky script to remove the CA using certutil, but since certutil uses the 'nickname' of the cert to decide which one to delete, and both the good cert and the bad cert have the same nickname I get worried I'll blow away the good one and not the bad one. So far it has consistently matched the bad cert, but I don't have enough confidence that it will do that every time to push it out to my users. If I could use certutil -D with something more specific than nickname (fingerprint, signature value, etc) I would be OK with that as well.
    I know there are options to restrict user changes to things like proxies and the such, is there a similar way to do it with CAs? about:config doesn't appear show anything that looks like it would do it.
    Can I have it prompt me when it tries to add a CA to the database and allow me to say yes/no?
    I am OK if the change is something that requires manual intervention if we do decide to add another CA to the list. Currently I am having to repair this problem multiple times a day and new CAs don't come all that often.
    Unfortunately, I can't simply upgrade to the latest Firefox as software restrictions are in place. I'm open to any ideas you may have.

    Seems unlikely two unrelated CA or sub-CA certs would have the exact same issuer name. Was the name too generic? If they actually related and I assume created by your organization perhaps you could simply add the "Integration CA 456" certificate to your root store -- assuming you trust it.
    Firefox validates certificate chains by looking up issuers, and in case of duplicates by default it grabs the one with the most recent "Not Before" date. There is a newer algorithm under development that won't stop at the first match but will continue to trying intermediate combinations until it finds a match or runs out of options. If you'd like to try it you need to add the boolean preference "security.use_libpkix_verification" and set it's value to true. This pref will not appear in about:config by default, but you can right-click in about:config to add it.

  • Importing the METADATA ONLY using DBMS_DATAPUMP

    Hi DBAs,
    Using the DBMS_DATAPUMP , how can I import the metadata only for a particular table . Also I dont want to import any associated INDEXES and TRIGGERS. I have the following codes but it is trying to import every thing. Also if the table exist, it is not importing the METADATA rather erroring out.
    handle1 := DBMS_DATAPUMP.OPEN('IMPORT','SCHEMA', 'QAXDB.WORLD');
    DBMS_DATAPUMP.METADATA_FILTER(handle1, 'SCHEMA_EXPR', 'IN (''HR'')');
    DBMS_DATAPUMP.SET_PARAMETER(handle1, 'INCLUDE_METADATA', 1);
    Thanks
    -Samar-

    See the below link,
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_datpmp.htm
    Hope this helps,
    Regards,
    http://www.oracleracexpert.com
    Click here for [Cross platform Transportable tablespace using Datapump|http://www.oracleracexpert.com/2009/08/transportable-tablespace-export-import.html]
    Click here to learn [Oracle data pump export/import with examples.|http://www.oracleracexpert.com/2009/08/oracle-data-pump-exportimport.html]

  • Using mapviewer with database installation only (moved to db- spatial) ?

    question moved to db->spatial
    using mapviewer with database installation only ?

    You should be able to deploy MapViewer in this OC4J. Take a look on chapter 1 of the MapViewer User's Guide for information about deploying MapViewer in an Oracle application server.
    Joao

  • Using mapviewer with database installation only ?

    using mapviewer with database installation only ?
    i have installed oracle database 11g on windows
    the enterprise manager already relies on the ocj4 ('http://orcl:1158/em')
    if i open 'http://orcl:1158' i get the start page for the appllication server - by clicking on 'manage applications' i come to the enterprise manager start page (i thinked, i can uplaod some ear application file, sinve oc4j is present for the em)
    its possible to install the mapviewer.ear with this database installation only (since the oc4j is present for the em) - or i have to install the oc4j too?
    thx

    You should be able to deploy MapViewer in this OC4J. Take a look on chapter 1 of the MapViewer User's Guide for information about deploying MapViewer in an Oracle application server.
    Joao

  • Getting list of populated database tables only

    Hi, recently started a new company and new to Oracle 10g. The database system they have has around 5000 tables. The majority of these are not used (it is an off the shelf package). What I am trying to do is get a list of all tables in the database BUT only those that contain records (not the empty tables) and then copy this to an excel spreadsheet. We use a tool called aquadata to run sql enquiry statements on.

    You didn't understand that reply. You could just spool this into a file with a .csv extension, and then open the file with excel.
    SQL> set head off
    SQL> spool xyz.csv
    SQL> select table_name from dba_tables where num_rows > 0;
    SQL> exit
    $ more xyz.csvEdit: And this is even easier: http://laurentschneider.com/wordpress/2007/05/export-to-excel.html
    Edit 2: All answers you are likely to get around here assume you use the built in Oracle tool called sqlplus. Many people think using the built in command line tool is much better for administrative tasks than some other tool. If you must do it in some other tool, you should ask how to do it whereever that tool is supported.
    Edit 3: You got an answer to the question you asked, but it could be your idea of "database" is what we call "schema" or "user." If you aren't logging in as a dba (which you shouldn't if you don't know the basic concepts, which you can and should read in the concepts guide), there is a similar table called "user_tables" in each schema, as well as one called "all_tables," which differs from user_table in that you may have been granted access to other user's tables. It may be in your tool, you could select table_name from user_tables where row_count > 0; and simply cut and paste that into excel. Or not. If you use dba_tables, you probably also want to select owner, table_name.
    Edited by: jgarry on Feb 9, 2012 9:31 AM
    Edited by: jgarry on Feb 9, 2012 9:38 AM
    Edited by: jgarry on Feb 9, 2012 10:58 AM

  • Is database link only 'valid' for instances in the same server?

    Background: We have 5 servers and installed Oracle 7.3 and 8.
    Problem: I managed to create database link to other instance in same server; but not to other server. Error message received was :
    ORA-02019: connection description for remote database not found
    : TNS server name not found
    BUT: I managed it with 'copy from ' command in SQL*plus.
    Question: Is database link only 'valid' for instances in the same server?
    Thanks! ;o)

    user10127912 wrote:
    Hi,
    We are planning to install second instance of Oracle 11gR2 in Linux server 2.6.39-400.21.1.el6uek.x86_64 x86_64. This is something we never haven done before. If you have such experience, please give us some insight.
    The existing instance has all the standard ports:
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    Enterprise Manager Console HTTP Port (pterpdb02) = 1158
    Enterprise Manager Agent Port (pterpdb02) = 3938
    What ports should we select for second listener and enterprise manager? Is there anything else that we need to know before we install the second instance?If you want a second database instance, no additional installation is required - as long as you want to run the second instance at the same version as the the first. Just fire up dbca and create the second database. One installation of Oracle (one ORACLE_HOME) is capable of supporting many database instances, though the same may or may not be said of the hardware it is running on.
    As already said, one listener is enough. One listener, running from one oracle home, using the default name of LISTENER, running on the defualt port of 1521, is quite capable of -- indeed, WAS DESIGNED TO, supporte multiple database instances of multiple versions running from multiple ORACLE_HOMEs.
    One instance of dbcontrol/dbconsole will support only one database. If you do not use Grid Control (extra installation, extra license) you will need to use the emca utility or one of the options in the dbca utility to configure a seperate instance of dbcontrol for each database. Don't worry about the ports, the creation utility will take care of it and report what it does.

  • New revision for a metadata only content

    Hi all,
    I'm using Webcenter Content (UCM) 11.1.1.6 and client is using a kind of documents without file associated. It's working fine with the AllowPrimaryMetaFile=true and createPrimaryMetaFile=1 variables, but client needs to have revisions of this content. We can't just update the content because they want to have a new revision for every change.
    The checkout option is enabled but, when we try to create the new version, the metadata-only checkbox is missing and form asks for primary file.
    Could you help me?
    Thanks in advance.

    I was able to replicate your issue. If I am right, the caveat is not in the fact that CHECKIN_SEL_FORM does not understand the rule, but rather that no rule is used at all (it defaults to the standard check-in).
    What have I done?
    - I have created a simple rule where all the three keys were filled with values as advised.
    - The rule contained just the mandatory fields (security group, document type document title).
    - Then, I have created a profile consisting of this rule only (defined as Excluded non-rule fields). Note that in my system Profile Trigger Field uses a custom field called xProfile, which contains values from a table, so I had to add another record to that table ("HidePrimary").
    - Now, with this setup, if you check in a new item using the profile, the Primary File is hidden, but when you check out the item and try to check in a new revision (CHECKIN_SEL_FORM) it appears - no profile, but standard check in form is used.
    - Therefore, I have modified the rule to contain also xProfile field (InfoOnly) and I filled it with the default value "HidePrimary". This will force the system to use the HidePrimary profile even when a new revision is being checked in.
    - Finally, I verified that it really works.

  • Duplicating a Database with RMAN

    Hi,
    When Duplicating the database using RMAN,
    does it build the auxilary database from the existing rman backups of the target database
    or
    will it build direcly from the open / mount stage of the target dabase (where there is no concept of rman backups)
    Please advice.
    Thanks
    Naveen.

    >
    When Duplicating the database using RMAN,
    does it build the auxilary database from the existing rman backups of the target database
    or
    will it build direcly from the open / mount stage of the target dabase (where there is no concept of rman backups)
    >
    That depends on the version- Before 11g, RMAN took a previous created backup to duplicate. In 11g, we introduced the new command
    RMAN> duplicate target database *from active database* ;that does it "on the fly" without backup needed.
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • Metadata Only checkin HTML creation - all fields???

    Here are the steps that I am following and the problem I am having.
    I am using a profile that has 5 or 6 fields selected, some hidden some required to check in metadata only.
    When it creates the htm page that displays the metadata only, it is returning what looks like almost all of the metadata fields available in our system. meaning I am getting more than just the 5 or 6 fields in my profile.
    How can I modify that?

    Thanks for the reply Jason.
    Yes I am using a profile for this checkin.
    The xprofiletrigger is kicking in and working correctly on the document info page... it's only showing corresponding fields (unless I choose "full" to view all fields).
    The problem is the html page it is creating for the web viewable file, it lists all of the metadata fields. The bigger issue is there is a criteria workflow assigned to these checkin's and the email that is being generated as notification is really ugly as it seems to be displaying this htm page.
    And no, there doesn't seem to be anything overriding the profile rules. It's a pretty plain jane profile with only a handfull of fields with nothing tricky to them.
    Other thoughts?

  • Can I checkin as metadata only with CIS?

    I set up my UCM 11g server to allow checkin metadata only (no content file)
    This is for cases where the content already exists in another item. I will get it from the other item.
    I have an application using CIS checking in files using the following api call:
    ISCSDocumentCheckinAPI.checkinFileStream(ISCSContext SCSContext, ISCSContent content, ICISTransferStream primaryInputStream, ISCSCheckinFlags checkinFlags)
    Does anyone know of a cis call to allow checkin metadata only?
    Thanks

    iCloud calendar will not do what you are asking.  Using Google calendar is a different thing, but I'm not familiar with it and using it with iCloud.

Maybe you are looking for

  • Odd I/O behavior

    Again with the odd behavior. I found the code below while studying for a Java certification exam. ************************ START ************************ import java.io.*; class OutputTest { public OutputTest() { super(); public static void main(java

  • How do you remove a badge number from the app store without downloading...

    HOw do you remove the badge number icon for a program that you do not want to update from the app store. I have an app that is updated but i don't want the update (new ugly artwork and I am content with what the present artwork and app does)...I don'

  • Output of PO (Purchase Order)

    Hi, I have a PO. now i have formatted the output of PO according the clients specification. the problem is:     if the PO contains more than one material, for the second material it goes to second page, but i want the second material to be below the

  • Safari silently quits when clicking on a link

    Safari on my mac has developed a tendency to quit abruptly - no "unexpectedly quit" message comes up, it just quits - when clicking on a link. This is not specific to one particular type of link, though it seems to happen more often when the link is

  • Send me notes of ALV, DAILOG PROGRAMMING

    hi friends, this is shafeeq plz send me the notes of ALV, DAILOG PROGRAMMING WITH SOME interview quetions also MY MAIL ID [email protected] accept my thanks in advance regards shafeeq