Detailed description of manual database creation for Oracle11.2g

Source: Internet
Author: User
Detailed description of manual database creation for Oracle11.2g manual database creation. For an Oracle database instance (system global region and background process), use the installation parameter file to start

Manual database creation for Oracle 11.2g detailed manual database creation, for an Oracle database instance (system global region and background process) using the installation parameter file to start

1. determine the user's instance flag (DB_NAME and SID ). The racle instance flag is hidden from the Database Name (DB_NAME)
. This instance flag is used to avoid confusion with other Oracle instances. Other Oracle instances mentioned here can be created and run on the system.
2. Create an installation parameter file
You can use the installation parameter file to start an Oracle database instance (system global region and background process. To create a parameter file for the database, the user will use the user's operating system to create a copy of the installation parameter file of Oracle on its release media. Create a new file name for this new copy. Then you can edit and customize the new database file.
3 confirm that db_name = erp and the environmental variable ORACLE_SID is also erp

Step 1: Name the original text startup parameter file cp initcorcl. ora initerp. ora
Because it is in the directory $ ORACLE_HOME/dbs.
2. Edit initerp. ora
Edit these parameters:
Orcl. _ db_cache_size = 146800640
Orcl. _ Java _pool_size = 4194304
Orcl. _ large_pool_size = 4194304
Orcl. _ oracle_base = '/u01/app/oracle' # ORACLE_BASE set from environment
Orcl. _ pga_aggregate_target = 188743680
Orcl. _ sga_target = 200321536
Orcl. _ shared_io_pool_size = 0
Orcl. _ shared_pool_size = 94549376
Orcl. _ streams_pool_size = 4194304
*. Audit_file_dest = '/u01/app/oracle/admin/Erp/Adump'
*. Audit_trail = 'db'
*. Compatible = '11. 2.0.0.0'
*. Control_files = '/u01/app/oracle/oradata/Erp/Control01.ctl ','/u01/app/oracle/flash_recovery_area/erp/control02.ctl'
*. Db_block_size = 8192
*. Db_domain = 'localdomain'
*. Db_name ='Erp'
*. Db_recovery_file_dest = '/u01/app/oracle/flash_recovery_area'
*. Db_recovery_file_dest_size = 4039114752
*. Diagnostic_dest = '/u01/app/oracle'
*. Dispatchers = '(PROTOCOL = TCP) (SERVICE =ErpXDB )'
*. Memory_target = 188968064 # The value must be smaller than/etc/shm.
*. Open_cursors = 300
*. Processses = 150
*. Remote_login_passwordfile = 'clusive'
*. Undo_tablespace ='UNDO01'

Red labeling is very important. You must change the original orcl to erp.
If it is a directory, you must create a directory.
Here: mkdir-p/u01/app/oracle/admin/erp/adump sub-directory of ghost recursive resume
Mkdir-p/u01/app/oracle/oradata/erp

Step 2 open the term environment variable, where ORACLE_SID = erp

Sqlplus "/as sysdba"

SQL> startup nomount
If nomount is enabled, initerp. ora is ready.

,

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.