Create database windows oracle




















Once done, go to the next tab. Select Dedicated mode on the Connection mode tab. Proceed to the next tab. At the last tab at this step, select the Add sample schemas to the database checkbox and click Next.

Once the configuration options are set, you are going to configure the management options. Also, specify the corresponding port. Once done, click Next. Set the same administrative password for all accounts and enter the Oracle home user password.

Proceed to the next step. Now, the wizard allows you to choose what exactly is to be done during and after the database creation.

Tick the desired checkboxes and click Next. Allow the wizard to finish the database creation process. You will be able to see what exactly is being done at the moment and what is up next. As soon as the process is over, you will be notified accordingly.

To unlock them, click Password Management. Creating an Oracle database might seem quite time-consuming and meticulous. In this article, we will be using Database Configuration Assistant to do that. To begin with, open DBCA on your computer. Now, click Create template from an existing database. From the dropdown menu, select the desired DB. Then, enter your user credentials. Hit Next once done.

At this step, decide whether you would like to keep the file locations as is or to convert them to use OFA structure. On opening the application, you will see the Start Page. Look for a green plus sign under Connections on the left. Typically, you add an entry int the tnsnames. The following statement shows how to create the private database link to a user in a remote database with a full connection string.

In this example, we will create a database link to a remote Oracle Database server located in the server First, add the following entry to tnsnames. You can edit these Oracle-supplied initialization parameters and add others, depending upon your configuration and options and how you plan to tune the database. For any relevant initialization parameters not specifically included in the initialization parameter file, the database supplies defaults.

If you are creating an Oracle Database for the first time, Oracle suggests that you minimize the number of parameter values that you alter. If you are using a text initialization parameter file, your changes are effective only for the current instance. To make them permanent, you must update them manually in the initialization parameter file, or they will be lost over the next shutdown and startup of the database. This section introduces you to some of the basic initialization parameters you can add or edit before you create your new database.

The global database name consists of the user-specified local database name and the location of the database within a network structure. The combination of the settings for these two parameters must form a database name that is unique within a network. For example, to create a database with a global database name of test.

This is typically the name of the organization that owns the database. If the database you are about to create will ever be part of a distributed database system, give special attention to this initialization parameter before database creation. A flash recovery area is a location in which Oracle Database can store and manage files related to backup and recovery.

It is distinct from the database area, which is a location for the Oracle-managed current database files datafiles, control files, and online redo logs. It cannot be a raw file system. You must disable those parameters before setting up the flash recovery area.

Oracle recommends using a flash recovery area, because it can simplify backup and recovery operations for your database. Oracle strongly recommends you use at least two control files stored on separate physical disk drives for each database.

Oracle Database can support up to four additional nonstandard block sizes. The most commonly used block size should be picked as the standard block size. In many cases, this is the only block size that you need to specify. If you do not set a value for this parameter, the default data block size is operating system specific, which is generally adequate.

You cannot change the block size after database creation except by re-creating the database. If the database block size is different from the operating system block size, ensure that the database block size is a multiple of the operating system block size.

Therefore, consider specifying a block size larger than your operating system block size if the following conditions exist:. Oracle Database is on a large computer system with a large amount of memory and fast disk drives. For example, databases controlled by mainframe computers with vast hardware resources typically use a data block size of 4K or greater. The operating system that runs Oracle Database uses a small operating system block size. For best performance in this case, a database block should consist of multiple operating system blocks.

These nonstandard block sizes can have any of the following power-of-two values: 2K, 4K, 8K, 16K or 32K. Platform-specific restrictions regarding the maximum block size apply, so some of these sizes may not be allowed on some platforms.

To use nonstandard block sizes, you must configure subcaches within the buffer cache area of the SGA memory for all of the nonstandard block sizes that you intend to use.

The initialization parameters used for configuring these subcaches are described in the next section, "Managing the System Global Area SGA ". The ability to specify multiple block sizes for your database is especially useful if you are transporting tablespaces between databases.

You can, for example, transport a tablespace that uses a 4K block size from an OLTP environment to a data warehouse environment that uses a standard block size of 8K. This section discusses the initialization parameters that affect the amount of memory allocated to the System Global Area SGA. The size of the SGA is dynamic, and can grow or shrink by dynamically altering these parameters. Oracle Database Concepts for a conceptual discussion of automatic shared memory management.

The SGA comprises a number of memory components , which are pools of memory used to satisfy a particular class of memory allocation requests.

All SGA components allocate and deallocate space in units of granules. The memory for dynamic components in the SGA is allocated in the unit of granules. Granule size is determined by total SGA size. Some platform dependencies may arise. Consult your operating system specific documentation for more details. The same granule size is used for all dynamic components in the SGA. If you specify a size for a component that is not a multiple of granule size, Oracle Database rounds the specified size up to the nearest multiple.

This parameter in effect replaces the parameters that control the memory allocated for a specific set of individual components, which are now automatically and dynamically resized tuned as needed. Alternatively, you can set one or more of the automatically sized SGA components to a non-zero value, which is then used as the minimum setting for that component during SGA tuning. This is discussed in detail later in this section.

For more complete automatic tuning, set the values of the automatically sized SGA components listed in Table to zero. To control the minimum size of one or more automatically sized SGA components, set those component sizes to the desired value.

See the next section for details. Set the values of the other automatically sized SGA components to zero. You can exercise some control over the size of the automatically sized SGA components by specifying minimum values for the parameters corresponding to these components. Doing so can be useful if you know that an application cannot function properly without a minimum amount of memory in specific components. You specify the minimum amount of SGA space for a component by setting a value for its corresponding initialization parameter.

Here is an example configuration:. In this example, the shared pool and the default buffer pool will not be sized smaller than the specified values 32 M and M, respectively. The remaining M minus is available for use by all the manually and automatically sized components. The parameter values determine the minimum amount of SGA space allocated. You can also see the current actual values of the SGA components in the Oracle Enterprise Manager memory configuration page. Manually limiting the minimum size of one or more automatically sized components reduces the total amount of memory available for dynamic adjustment.

This reduction in turn limits the ability of the system to adapt to workload changes. Therefore, this practice is not recommended except in exceptional cases. The default automatic management behavior maximizes both system performance and the use of available resources. When the automatic shared memory management feature is enabled, the internal tuning algorithm tries to determine an optimal size for the shared pool based on the workload.

It usually converges on this value by increasing in small increments over time. Therefore, the tuning algorithm only tries to increase the shared pool in conservative increments, starting from a conservative size and stabilizing the shared pool at a size that produces the optimal performance benefit.

Any manually configured components remain unaffected. The exact value depends on environmental factors such as the number of CPUs on the system. Consider the following combination of parameters:. Therefore the rules governing resize for all component parameters are the same as in earlier releases.

However, when automatic shared memory management is enabled, the manually specified sizes of automatically sized components serve as a lower bound for the size of the components. You can modify this limit dynamically by changing the values of the corresponding parameters. If the specified lower limit for the size of a given SGA component is less than its current size, there is no immediate change in the size of that component. The new setting only limits the automatic tuning algorithm to that reduced minimum size in the future.

For example, consider the following configuration:. This resizing occurs at the expense of one or more automatically tuned components. The new setting only limits the reduction of the large pool size to M in the future. Parameters for manually sized components can be dynamically altered as well. However, rather than setting a minimum size, the value of the parameter specifies the precise size of the corresponding component.

When you increase the size of a manually sized component, extra memory is taken away from one or more automatically sized components. When you decrease the size of a manually sized component, the memory that is released is given to the automatically sized components. This section provides guidelines on setting the parameters that control the size of each SGA components.

The buffer cache initialization parameters determine the size of the buffer cache component of the SGA. You use them to specify the sizes of caches for the various block sizes used by the database. These initialization parameters are all dynamic. The size of a buffer cache affects performance. Larger cache sizes generally reduce the number of disk reads and writes. However, a large cache may take up too much memory and induce memory paging or swapping. Each parameter specifies the size of the buffer cache for the corresponding block size.

For example:. In this example, the parameters specify that the standard block size of the database is 4K. The size of the cache of standard block size buffers is 12M. Additionally, 2K and 8K caches will be configured with sizes of 8M and 4M respectively.

Oracle Database selects an appropriate default value. The internal SGA overhead refers to memory that is allocated by Oracle during startup, based on the values of several other initialization parameters.

This memory is used to maintain state for different server components in the SGA. In manual SGA mode, this parameter must be set so that it includes the internal SGA overhead in addition to the desired value of shared pool size. The Oracle Database 10 g migration utilities recommend a new value for this parameter based on the value of internal SGA overhead in the pre-upgrade environment and based on the old value of this parameter.

When you use automatic shared memory management in Oracle Database 10 g , the shared pool is automatically tuned, and an ORA error would not be generated by Oracle. The large pool is an optional component of the SGA. The value of this parameter must be a minimum of one for each background process plus one for each user process.

The number of background processes will vary according the database features that you are using. For example, if you are using Advanced Queuing or the file mapping feature, you will have additional background processes. If you are using Automatic Storage Management, then add three additional processes.

Every Oracle Database must have a method of maintaining information that is used to undo changes to the database. Such information consists of records of the actions of transactions, primarily before they are committed. Collectively these records are called undo data. This section provides instructions for setting up an environment for automatic undo management using an undo tablespace.

Set this parameter to AUTO to enable automatic undo management mode. When an instance starts up in automatic undo management mode, it attempts to select an undo tablespace for storage of undo data. This parameter is especially useful for assigning a particular undo tablespace to an instance in an Oracle Real Application Clusters environment. If no undo tablespace is available, then the instance starts without an undo tablespace. You should avoid running in this mode. Such a database is said to be at the 9.

You can advance the compatibility level of your database. Oracle Database Backup and Recovery Advanced User's Guide for information about point-in-time recovery of your database. If you use named user licensing, Oracle Database can help you enforce this form of licensing. You can set a limit on the number of users created in the database.

Once this limit is reached, you cannot create more users. If database creation fails, you can look at the alert log to determine the reason for the failure and to determine corrective action. The alert log is discussed in "Monitoring the Operation of Your Database". After correcting the error that caused the failure of the database creation, try re-creating the database. Dropping a database involves removing its datafiles, redo log files, control files, and initialization parameter files.

It is best to use RMAN to delete such files. If the database is on raw disks, the actual raw disk special files are not deleted. If you used the Database Configuration Assistant to create your database, you can use that tool to delete drop your database and remove the files. Initialization parameters for the Oracle Database have traditionally been stored in a text initialization parameter file. For better manageability, you can choose to maintain initialization parameters in a binary server parameter file that is persistent across database startup and shutdown.

This section introduces the server parameter file, and explains how to manage initialization parameters using either method of storing the parameters.

The following topics are contained in this section. A server parameter file can be thought of as a repository for initialization parameters that is maintained on the machine running the Oracle Database server. It is, by design, a server-side initialization parameter file. Initialization parameters stored in a server parameter file are persistent, in that any changes made to the parameters while an instance is running can persist across instance shutdown and startup.

It can also be created directly by the Database Configuration Assistant. The server parameter file is a binary file that cannot be edited using a text editor. Oracle Database provides other interfaces for viewing and modifying parameter settings in a server parameter file. If no server parameter file is found, the instance searches for a text initialization parameter file. Instructions for starting an instance using a server parameter file are contained in "Starting Up a Database". If you are currently using a text initialization parameter file, use the following steps to migrate to a server parameter file.

If the initialization parameter file is located on a client machine, transfer the file for example, FTP from the client machine to the server machine. This statement reads the initialization parameter file to create a server parameter file. You can use the default locations provided by the template or a common location for all database files. Before you can archive the online redo log files, you must determine the destination to which you want to archive.

For better practice, store your archive logs in a fast recovery area FRA since it can simplify backup and recovery operations for your database. In this window, you can adjust the values of memory, data block size, processes, character sets and connection mode initialization parameters. Provide the maximum number of processes that can simultaneously connect to the database. This number should allow for all background processes, user processes, and parallel execution processes.

Define the character sets used by your database. You can select the default settings of your operating system or use the Unicode character set. This windows displays aa summary of the configuration options that you have chosen for the database. When DBCA finishes, it displays the Database Configuration Assistant window, which advises you that database creation is complete, which means your database is operational now.



0コメント

  • 1000 / 1000