Manual database creation for Oracle 11g in Windows

Source: Internet
Author: User

1. create necessary Directories

D: \ app \ Administrator \ admin \ jxg12_20104350121


2. Create a database file storage directory under oradata

D: \ app \ Administrator \ oradata


3. Create the initialization parameter file D: \ app \ Administrator \ admin \ jxg12_20104350121 \ scripts \ init. ora

######################################## ######################################

# Copyright (c) 1991,200 1, 2002 by Oracle Corporation

######################################## ######################################

 

######################################## ###

# Shared Server

######################################## ###

Dispatchers = "(PROTOCOL = TCP) (SERVICE = jxg1XDB )"

 

######################################## ###

# Miscellaneous

######################################## ###

Compatible = 11.2.0.0.0

Db_unique_name = jxg12_20104350121

Diagnostic_dest = D: \ app \ Administrator

Memory_target = 1287651328

 

######################################## ###

# Security and Auditing

######################################## ###

Audit_file_dest = D: \ app \ Administrator \ admin \ jxg12_20104350121 \ adump

Audit_trail = db

Remote_login_passwordfile = EXCLUSIVE

 

######################################## ###

# Database Identification

######################################## ###

Db_domain = usc.edu.cn

Db_name = jxg12_20

 

######################################## ###

# File Configuration

######################################## ###

Control_files = ("D: \ app \ Administrator \ oradata \ jxg12_20104350121 \ control01.ctl", "D: \ app \ Administrator \ flash_recovery_area \ jxg12_20104350121 \ control02.ctl ")

Db_recovery_file_dest = D: \ app \ Administrator \ flash_recovery_area

Db_recovery_file_dest_size = 4039114752

 

######################################## ###

# Cursors and Library Cache

######################################## ###

Open_cursors = 300

 

######################################## ###

# System Managed Undo and Rollback Segments

######################################## ###

Undo_tablespace = UNDOTBS1

 

######################################## ###

# Processes and Sessions

######################################## ###

Processes = 150

 

######################################## ###

# Cache and I/O

######################################## ###

DB _ block_size = 8192

3. Open the command line and set the environment variable oracle_sid.


4. Create an instance service (that is, control windows Services in the background)

Command: oradim-new-sid jxg12_20104350121


The service has been created:


5. Create a password file


Command: orapwd file = D: \ app \ Administrator \ product \ 11.2.0 \ dbhome_4 \ database \ jxg12_20104350121 password = root entries = 2


6. Start the database to the nomount (Instance) Status

Note: Close the connection first. (Shutdown abort)

Related Article

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.