DBCA Templates

I have a small query about the DBCA template on Oracle 10g. When one chooses to install the General Purpose Database template, is the Java Server installed as well? Has someone tried it out?

any news please?

Similar Messages

  • DBCA Template (.dbt) file SYNTAX?

    Hi!
    I am looking to customize a DBCA template file (.dbt) and have searched the 10G documentation and MetaLink with out success on how to do this. I am looking for the syntax / content of these files. Some examples would be great! I am especially interested in setting up my own variables for file locations, etc.
    Thanks in advance!
    Dave Venus

    Hi!
    Thanks for your help. Do you have a specific manual that would help? I can find descriptions of the templates that Oracle provides but nothing on the actual XML entries themselves and the values that can be entered, etc.
    I have looked at some information on response files but have yet to see how they are used to generate a template file.
    Thanks again for your time and help!
    Dave Venus

  • Dbca template migration between 10.2.0.1 and 10.2.0.3

    Hello Oracle experts,
    Question: Is there anyway I could upgrade my 10.2.0.1 dbca template to work with 10.2.0.3?
    Background:
    We have bunch of custom dbca seed templates created from 10.2.0.1, which allows rapid setup of database with per-defined data. Recently, the decision is to upgrade to 10.2.0.3.
    In 10.2.0.3, when trying to create database from 10.2.0.1 templates, dbca would always fail at 40%, and Oracle instance terminated with ORA-01092. The database is unable to open after restore. Metalink Doc. 556639.1 clearly suggested dbca templates between these two versions are incompatible.
    So is there any utility we could use to upgrade templates to new patchset? Otherwise the only alternative I could think of is create 10.2.0.1 database for each template, then upgrade to 10.2.0.3, and take another template. This is tons of work given the number of templates we have and their size.
    I truly appreciate any suggestion which would save me few weekends of work.
    Regards

    The difference is HUGE, thats more than 5 years of bugfixes.
    Fixes / enhancements which may cause a notable change in behaviour:
    Note:565424.1 CURSOR_SPACE_FOR_TIME Deprecated in 10.2.0.5 / 11.1.0.7 / 11.2.0.1
    10097176 Different date format in alert log of 10.2.0.5
    6459643 OS username (OS_USER) and hostname in audit records (or SYS_CONTEXT) are not consistent for database links
    6155146 Wrong results from query rewrite with pushed predicate
    6023472 Collection of changes to auditing
    Note:745407.1 Changes to DEFAULT roles
    6322324 OS audit trail should include length of attribute values
    6085625 Wrong child cursor may be executed which has mismatching bind information
    5483301 Cardinality of 1 when predicate value non-existent in frequency histogram
    5082178 Bind peeking may occur when it should not
    4954651 Wrong Results / Dumps from view with select list subquery 
    4279598 Change to default behaviour for keeping LDAP client connections open
    4871035 Disable "row shipping" by default in 10.2.0.2 onwards
    Regards
    Ed

  • Install datamining and unicode support using dbca template

    Hi All
    We are creating a 11g release 1 db on linux using the Amazon AMI.
    There is this script in /home/oracle/run_dbca.sh
    And we would like to have uni-code support so we can display Chinese/Japanese or whatever multibyte character.
    We would also like to have DataMining option installed
    How do I modify the *.dbt or *.dbc fille in /u01/app/oracle/product/11.1.0/db_1/assistants/dbca/templates
    do this?
    Is there a documentation for how to write the XML construct for these??
    -Thanks so much for the help!

    xwo0owx wrote:
    Hi All
    We are creating a 11g release 1 db on linux using the Amazon AMI.
    There is this script in /home/oracle/run_dbca.sh
    And we would like to have uni-code support so we can display Chinese/Japanese or whatever multibyte character.
    We would also like to have DataMining option installed
    How do I modify the *.dbt or *.dbc fille in /u01/app/oracle/product/11.1.0/db_1/assistants/dbca/templates
    do this?
    Is there a documentation for how to write the XML construct for these??
    -Thanks so much for the help!It's been so long since I've used one of the stock templates that I don't remember what options are available under them, but it occurs to me that sometimes - particularly for complex requirements - you just have to choose "custom" and walk through the entire wizard, checking very possible option. It's not all that hard.

  • Syntax of DBCA Template files (.dbt)

    Hi!
    I am looking for documentation on the content / syntax of DBCA template (.dbt) files. I have searched the 10G documentation and MetaLink without success. Any help or hints is appreciated. I am especially interested in setting up my own variables for file locations, etc.
    Thanks!
    Dave Venus

    Hi!
    Thanks for your help. Do you have a specific manual that would help? I can find descriptions of the templates that Oracle provides but nothing on the actual XML entries themselves and the values that can be entered, etc.
    I have looked at some information on response files but have yet to see how they are used to generate a template file.
    Thanks again for your time and help!
    Dave Venus

  • Any different between the dbca templates

    i use dbca to create db on RAC, i see many different template file in $ORACLE_HOME/assistants/dbca/templates/
    like
    Data_Warehouse.dbc General_Purpose.dbc Seed_Database.dfb
    example01.dfb New_Database.dbt Transaction_Processing.dbc
    example.dmp Seed_Database.ctl
    i do not know .dfb ,.dmp , .ctl ,what 's these use for?

    859340 wrote:
    i use dbca to create db on RAC, i see many different template file in $ORACLE_HOME/assistants/dbca/templates/
    like
    Data_Warehouse.dbc General_Purpose.dbc Seed_Database.dfb
    example01.dfb New_Database.dbt Transaction_Processing.dbc
    example.dmp Seed_Database.ctl
    i do not know .dfb ,.dmp , .ctl ,what 's these use for?DBCA uses patterns, or otherwise called Templates, which create either a new database with existing patterns or a pattern itself based on an existing base. The following are the template files that DBCA can create:
    •.dbc - Database Clone (for a new database)
    •.dbt - Template Database (for an existing database)
    These templates, which are in the form of XML files, contain information about the database including database options, init.ora parameters, and storage attributes (datafiles, tablespaces, controlfiles and redologs).
    The demo templates such as Data_Warehouse.dbc, General_Purpose.dbc, Transaction_Processing.dbc, and New_Database.dbt are available at the following location:
    ORACLE_HOME/assistants/dbca/templates
    source:-http://download.oracle.com/docs/cd/B16240_01/doc/em.102/e14500/appdx_creating_db_templates.htm
    example.dmp -->It is a template for creating a Default Schema's with Data including the SYS
    refer:-Re: Issue extracting Oracle's example.dmp
    The datafiles for the seed database are stored in compressed RMAN backup format in a file with a .dfb extension. The seed database control file is stored in a file with .ctl extension. (This file is needed only when storing datafiles in Automatic Storage Management (ASM) disk groups or as Oracle managed files.) The .dbc file contains the location of the seed database datafiles and contains the source database name used to mount the control file.
    source:-http://download.oracle.com/docs/cd/B28359_01/server.111/b28301/install003.htm#BABEGFCG

  • DBCA templates - PGA and SGA using "percentageMemTOSGA" parameter

    Hi all,
    I am trying to configure a DBCA template to perform silent database creations on servers at our client sites. The amount of RAM could vary from server to server. For this reason, I am specifying the following parameters:
    customSGA=false
    percentageMemTOSGA=70In principle, this works pretty well - my DB is created with a suitable value for SGA_TARGET based on the RAM available on the server. However, the value that it uses for PGA_AGGREGATE_TARGET is too small for our needs. From experience, we can get by with a smaller SGA, but we need a relatively large PGA.
    I have tried specifying the parameter "pga_aggregate_target" in the template (and thus trying to "override" the decision of DBCA) but DBCA ignores my "hard-coded" value for this and sets pga_aggregate_target according to (presumably) some calculation based on:
    - The amount of RAM available
    - The value of "percentageMemTOSGA"
    - Some "other" value which tells DBCA how to divide up the %age memory it will take between SGA and PGA
    So, my question is:
    Does anybody know how to effectively use both "percentageMemTOSGA", and:
    EITHER:
    * tell DBCA how to split the memory that it will use from RAM (in this case 70%) between pga_aggregate_target and sga_target (some parameter maybe like "percent_to_pga" and "percent_to_sga")
    OR (not as useful but better than no control):
    * specify explicitly a value (or percentage) for pga_aggregate_target, but leave the value of sga_target to be decided based on the percentageMemTOSGA
    I hope I've explained that well enough...
    Regards,
    Ados

    I've checked the help for dbca (I'm currently running from the command prompt in "silent" mode) and don't see anything about recording the creation - how would I do that? Or are you referring to using the GUI, creating a database, and then saving the template? If it's that, that's what I did first, then editing the template for my tests - I don't see the parameter(s) that I'm looking for in the template.Ados,
    I did the same what you did. Run dbca in GUI mode and generate template only now in template file I see there is a parameter to set these value. For your reference I am posting the content of that file:
    <?xml version = '1.0'?>
    <DatabaseTemplate name="orcl" description="" version="10.2.0.3.0">
    <CommonAttributes>
    <option name="ISEARCH" value="false"/>
    <option name="OMS" value="false"/>
    <option name="JSERVER" value="true"/>
    <option name="SPATIAL" value="true"/>
    <option name="ODM" value="true">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="IMEDIA" value="true"/>
    <option name="XDB_PROTOCOLS" value="true">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="ORACLE_TEXT" value="true">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="SAMPLE_SCHEMA" value="true"/>
    <option name="CWMLITE" value="true">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="EM_REPOSITORY" value="true">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="HTMLDB" value="false"/>
    </CommonAttributes>
    <Variables/>
    <CustomScripts Execute="false"/>
    <InitParamAttributes>
    <InitParams>
    *<initParam name="pga_aggregate_target" value="808" unit="MB"/>*
    <initParam name="processes" value="150"/>
    <initParam name="db_recovery_file_dest_size" value="1024" unit="MB"/>
    <initParam name="control_files" value="(&quot;{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/control01.ctl&quot;, &quot;{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/control02.ctl&quot;, &quot;{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/control03.ctl&quot;)"/>
    <initParam name="sga_target" value="1536" unit="MB"/>
    <initParam name="compatible" value="10.2.0.3.0"/>
    <initParam name="background_dump_dest" value="{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/bdump"/>
    <initParam name="job_queue_processes" value="10"/>
    <initParam name="db_name" value="orcl"/>
    <initParam name="user_dump_dest" value="{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/udump"/>
    <initParam name="dispatchers" value="(PROTOCOL=TCP) (SERVICE={SID}XDB)"/>
    <initParam name="audit_file_dest" value="{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/adump"/>
    <initParam name="db_domain" value=""/>
    <initParam name="open_cursors" value="300"/>
    <initParam name="db_block_size" value="8" unit="KB"/>
    <initParam name="db_recovery_file_dest" value="{ORACLE_BASE}/flash_recovery_area"/>
    <initParam name="undo_tablespace" value="UNDOTBS1"/>
    <initParam name="core_dump_dest" value="{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/cdump"/>
    <initParam name="remote_login_passwordfile" value="EXCLUSIVE"/>
    <initParam name="undo_management" value="AUTO"/>
    <initParam name="db_file_multiblock_read_count" value="16"/>
    </InitParams>
    <MiscParams>
    <databaseType>MULTIPURPOSE</databaseType>
    <maxUserConn>20</maxUserConn>
    <percentageMemTOSGA>40</percentageMemTOSGA>
    <customSGA>true</customSGA>
    <archiveLogMode>false</archiveLogMode>
    <initParamFileName>{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/pfile/init.ora</initParamFileName>
    </MiscParams>
    <SPfile useSPFile="true">{ORACLE_HOME}/dbs/spfile{SID}.ora</SPfile>
    </InitParamAttributes>
    <StorageAttributes>
    <DataFiles>
    <Location>{ORACLE_HOME}/assistants/dbca/templates/Seed_Database.dfb</Location>
    <SourceDBName>seeddata</SourceDBName>
    <Name id="1" Tablespace="SYSTEM" Contents="PERMANENT" Size="480" autoextend="true" blocksize="8192">{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/system01.dbf</Name>
    <Name id="2" Tablespace="UNDOTBS1" Contents="UNDO" Size="25" autoextend="true" blocksize="8192">{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/undotbs01.dbf</Name>
    <Name id="3" Tablespace="SYSAUX" Contents="PERMANENT" Size="240" autoextend="true" blocksize="8192">{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/sysaux01.dbf</Name>
    <Name id="4" Tablespace="USERS" Contents="PERMANENT" Size="5" autoextend="true" blocksize="8192">{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/users01.dbf</Name>
    </DataFiles>
    <TempFiles>
    <Name id="1" Tablespace="TEMP" Contents="TEMPORARY" Size="20">{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/temp01.dbf</Name>
    </TempFiles>
    <ControlfileAttributes id="Controlfile">
    <maxDatafiles>100</maxDatafiles>
    <maxLogfiles>16</maxLogfiles>
    <maxLogMembers>3</maxLogMembers>
    <maxLogHistory>1</maxLogHistory>
    <maxInstances>8</maxInstances>
    <image name="control01.ctl" filepath="{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/"/>
    <image name="control02.ctl" filepath="{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/"/>
    <image name="control03.ctl" filepath="{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/"/>
    </ControlfileAttributes>
    <RedoLogGroupAttributes id="1">
    <reuse>false</reuse>
    <fileSize unit="KB">51200</fileSize>
    <Thread>1</Thread>
    <member ordinal="0" memberName="redo01.log" filepath="{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/"/>
    </RedoLogGroupAttributes>
    <RedoLogGroupAttributes id="2">
    <reuse>false</reuse>
    <fileSize unit="KB">51200</fileSize>
    <Thread>1</Thread>
    <member ordinal="0" memberName="redo02.log" filepath="{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/"/>
    </RedoLogGroupAttributes>
    <RedoLogGroupAttributes id="3">
    <reuse>false</reuse>
    <fileSize unit="KB">51200</fileSize>
    <Thread>1</Thread>
    <member ordinal="0" memberName="redo03.log" filepath="{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/"/>
    </RedoLogGroupAttributes>
    </StorageAttributes>
    </DatabaseTemplate>
    Regards.

  • Migrating database from windows to linux using dbca templates

    Hi every one,
    Is it possible to migrate Oracle10g database from Windows to Linux by using DBCA templates?????????????
    If yes please guide me, as i tried it and am getting error while creating database on linux using DBCA templates of Windows server.
    Warm regards,
    Veeresh.S
    (Oracle DBA)

    With DBCA you can create a new database, delete a database, create ASM, and manage templates.
    There's no option of migrating a database from one platform to the other. If you want to migrate your database from Windows to Linux you have 2 ways of doing it:
    1 using IMP/EXP Export you db on windows and Import it on Linux.
    2 Use across platform transportable tablespace if you db is already on 10g.
    Regards,
    Tony

  • Files in assistants/dbca/templates

    The files in $ORACLE_HOME/assistants/dbca/templates (on 9i) appear to be pre-built, template, databases.
    Data_Warehouse.dfj
    Transaction_Processing.dfj
    I'm assuming these are ok to remove.. I will never use them.
    Am I correct? Seems a bit of a waste of space for something I'll never use.
    Regards,
    SMF 8)

    Hello,
    My mistake, the files are *.dfj as you say.
    I am using Oracle 9i on a Windows server. I will look into the files on the disks and i will check if any of my colleagues have these files in thier systems too.
    Thanks again.
    I don't know what may have occurred to delete them!!!

  • Creating databases with dbca templates after upgrades and patches

    I have a 10.2.0.1 base release Oracle Home. Over time it has been upgraded to 10.2.0.3 and quarterly security patches have been applied. Now I want to create a new database using a dbca (database configuration assistant) template.
    During the 10.2.0.3 install did the templates also upgraded to include all the 10.2.0.3 stuff? Or are they still back at 10.2.0.1?
    What about the quarterly CPU patches? Do they need to be applied to the new db after it is created?
    Thanks,
    Rob

    I opened a Service Request. Here is the official answer from Oracle support.
    QUESTION
    =========
    After applying the latest CPU(JAN2008CPU) I have created a new database using DBCA's seed template (General). Do I need to run the catcpu
    .sql on the newly created database? Are the seed templates already updated with
    the CPU?
    ANSWER
    =======
    No, as these templates are not containing the Oracle binaries that is updated by the CPU.
    Please let me know if you need further assistance regarding this issue and I will be glad to assist you further.
    Otherwise please close this SR from MetaLink.
    Thanks!
    Greetings from Oracle,
    Oracle Support Services

  • Db creation with dbca template

    I have created database creation template using dbca in oracle 9i, it created .dbc file. How to create the database using this file.can any one help me in resolving this issue.
    thanks

    You have to create these set of .SQL scripts first.
    From the database creation wizard, when you have completed all the steps for specifying new database characteristics, at the last page, it will give you the option to create a set of .SQL scripts that you could run later to create the exact same database.

  • Register a Template for DBCA

    Hi
    This is my environment:
    Server1: Linux & Oracle Server 10g(10.2.0.5)
    Server2: Linux & Oracle Server 10g(10.2.0.5)
    I have built a template with data of a database in server1 and I want to create a database in server2 based on the template generated on server1.
    I transferred the files created to the server2 and I put them in the same path where they were created on server1. I open the DBCA in order to
    verify if the dbca can see this template and the DBCA does not do it automatically. According to what I know, the DBCA register the databases
    and templates in an operating system file but I don't remember what is that file.
    can you help me with this ?
    Thanks

    Have you stored template in “ORACLE_HOME/assistants/dbca/templates“?
    Please refer “http://docs.oracle.com/cd/B16276_01/doc/server.102/b14196/install003.htm#i1008647”

  • Cloning a 10g Database using DBCA and templates

    I have created a template from a 10G database (structure and data) and want to use this template and data to create a clone of the database on another server using the DBCA on the standby server. Where does DBCA ask for the names of the templates of my clone database? It seems to only have templates for its pre-existing databases (wharehouse, general purpose, custom, etc.).

    Thanks. I figured this out on my own and seems work fine. My problem is I am connected over a Window network domain and the transfer speed is very slow. I finally had to kill the job and manually move the critical control, init, redo, and data files that DBCA missed. I also had to use the DBCA again to create the EM DBconsole server as well as copy over the, initPROD.ora file as well as the tnsnames.ora, listener.ora and sqlnet.ora files over to the $ORACLE_HOME/Network/Admin directory. SPFILE was create using create spfile command, I had to perform a recover database once in the initial startup of the database clone.
    If I do this operation again I will move datafiles and DBCA template components from the server to a USB SCCI Drive connected locally to the source server then connect this remote disk to the target server rather than transfer files over a domain network.
    Any other tips that anyone can over on cloning a database using DBCA in 10G please let me know any things to avoid, traps, bugs, best practices would be greatly appreciated.
    RR.

  • Dbca: how to change template location ?

    my disk (windows partition) is corrupted, can't create any file on it.
    Want to save my database using dbca (create template with file) - save the templates on another partition or USB-disk.
    But I have to change the location where the template will to be created.
    default is OH/assistants/dbca/templates..
    Any idea?

    It fails...
    I used:
    dbca -silent -createCloneTemplate -sourceSID DEMO1 -datafileJarLocation G:\test -templateName DEMO1 -sysDBAUserName sys -sysDBAPassword lutz11 -maintainFileLocations FALSE
    But it did not work:
    Informationen aus der Quelldatenbank werden erfasst
    4% abgeschlossen
    8% abgeschlossen
    13% abgeschlossen
    17% abgeschlossen
    22% abgeschlossen
    Datendateien sichern
    28% abgeschlossen
    88% abgeschlossen
    Vorlagendatei wird erstellt
    100% abgeschlossen
    Weitere Einzelheiten finden Sie in der Log-Datei "D:\app\lkahlenb\cfgtoollogs\db
    ca\silent2.log".
    He tried to write the log into my corrupted partion, and fails at this point (like dbca interactive - quiclkly ends at template create)

  • DBCA in silent mode gives "template does not exist" error

    We successfully created a database using the DBCA in silent mode like this:
    dbca -silent -responseFile dbca.rspThen, attempting to create a second database on the same machine with a slightly different response file, we get the following error:
    dbca -silent -responseFile dbca.rsp2
    Template General Purpose does not exist. Please specify an existing template for database creation.The "General Purpose" template was used in the original database creation. It does exist. No logfile is created. Any ideas what could be causing this?

    We never did get to the bottom of the mysterious "template does not exist" error, but went with a solution that is better:
    1. we used the already-existing database to create a clone template:
    dbca -silent -createCloneTemplate -sourceDB OLD_SID -sysDBAUserName sys
       -sysDBAPassword XXXX -templateName old_sid_copy.dbc
      -maintainFileLocations true
      -datafileJarLocation /local/opt/oracle/product/10.2.0/assistants/dbca/templates (Note the use of the -maintainFileLocations switch)
    2. edited the template file, replacing all instances of OLD_SID with NEW_SID
    /local/opt/oracle/product/10.2.0/assistants/dbca/templates/old_sid_copy.dbc
    3. create the clone using the new template
    dbca -silent -createDatabase -templateName old_sid_copy.dbc
      -gdbname NEW_SID.MYHOST.COM -sid NEW_SID
      -datafileJarLocation /local/opt/oracle/product/10.2.0/assistants/dbca/templates
      -responseFile NO_VALUE -characterset WE8ISO8859P1

Maybe you are looking for

  • Clear GR/IR Variances that settles to a closed capex

    Hi, I have an issue. We need to clear a GR/IR variance. Account maintenance was already done last year but the GR/IR variance still appears. Now we want to clear it using MR11 or F.13 or F-03. The problem is , this PO is assigned to a work order that

  • High CPU usage and continuously running fan

    I recently sent off a logicboard to be repaired for a non-charging issue.  Everything worked fine with the exception of the battery would not charge.  I received the board back today and noticed immediately that the fan starts running at high speed w

  • Itunes backed up on external hard drive now corrupt

    My 2000+ songs were backed up on an external hard drive. It suddenly gave me a corrupt error message. Ran the check disk. It advised me that I needed to /fix to correct problem, but it wouldn't accept that command. Went to Geek Squad & they tell me d

  • Jabber for Windows file transfer location

    Is there a way to change the default location of files when transfered through Jabber? I know that via the XML config file I can disable and restrict file types, but what I really want to do is move the file transfer locatoin off the local machine to

  • Searching for the driver for HP4192A

    Does anyone on the net have LABVIEW driver for LF IMPEDANCE ANALYZER HP4192A ? Please send me driver. Thank you in advance. Alan Brodarski Institute Measurements, Vibrations & Acoustics Dept. Ave. Veceslava Holjevca 20 HR-10 020 Zagreb CROATIA E-mail