Database Configuration Assistant (DBCA) templates are XML files that contain information required to create a database.
What are templates used for?
What are templates used for?
Templates are used in DBCA to create new databases and duplicate existing databases.
What information does a template contain?
The information in templates includes database options, initialization parameters, and storage attributes (for data files, tablespaces, control files, and online redo log files).
Are there different types of templates?
Yes:
Type | File extension | Includes Data Files | Database Structure | Configurable? |
---|---|---|---|---|
Seed | .dbc | Yes |
|
No |
nonseed | .dbt | No | This type of template is used to create a new database. It contains the characteristics of the database to be created. Nonseed templates are more flexible than their seed counterparts because all data files and online redo log files are created to your specification, and names, sizes, and other attributes can be changed as required. |
Yes |
Why use templates?
Templates can be used just like scripts, but they are more powerful than scripts because you have the option of duplicating a database. Duplication saves time because you copy the files of an existing database, referred to as a seed database, to the correct locations.
When using templates, beware of the following:
1. Database options (for example, Data Vault or Spatial) can be configured or modified only for a custom database or nonseed template (.dbt file).
2. You cannot modify database options for a seed template (includes data file backups).
3. Using a seed template is a much quicker operation, than using a non-seed template, but less flexible.
What templates are delivered with a standard Oracle 19c software installation?
Upon completion of an Oracle 19c software installation, you will find the following files in the directory $ORACLE_HOME/assistants/dbca/templates:
They are used by the different templates:
Template | Workload | Files used |
---|---|---|
Data warehouse | Users perform numerous, complex queries that process large volumes of data. | Seed_Database.dbf |
General Purpose or Transaction processing | Many concurrent users perform numerous transactions that require rapid access to data. | Seed_Database.dbf |
Custom database | Allows for maximum flexibility in defining a database; you can change any of the settings for the database being created. | New_Database.dbt |
Documentation:
No comments:
Post a Comment