Minimum parameter requirements for Oracle instance Creation

Source: Internet
Author: User

What are the minimum parameters for creating an instance in Oracle? This is a question that many people have asked. The following describes the minimum parameter requirements for creating an instance in Oracle for your reference.

We know that during Oracle startup, you need to read the parameter file (pfile/spfile) to create an instance. during Oracle startup, the books that search for parameter files are sequential: spfile. ora, spfile. ora, init. ora.

During Oracle instance creation, the minimum parameter required by Oracle is db_name.

Let's look at a test to start an instance with any settings. In this example, ORACLE_SID = julia:

 
 
  1. [oracle@jumper dbs]$ export ORACLE_SID=julia 
  2. [oracle@jumper dbs]$ sqlplus "/ as sysdba"  
  3.  
  4. SQL*Plus: Release 9.2.0.4.0 - Production on Mon May 8 11:08:36 2006  
  5.  
  6. Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.  
  7.  
  8. Connected to an idle instance.  
  9.  
  10. SQL> startup nomount;  
  11. ORA-01078: failure in processing system parameters  
  12. LRM-00109: could not open parameter file '/opt/oracle/product/9.2.0/dbs/initjulia.ora'  

The last file checked by Oracle is initjulia. ora. Let's create this file and then create the database instance:

 
 
  1. SQL> ! echo "db_name=julia" > /opt/oracle/product/9.2.0/dbs/initjulia.ora  
  2.  
  3. SQL> startup nomount;  
  4. ORACLE instance started.  
  5.  
  6. Total System Global Area   97588504 bytes  
  7. Fixed Size                   451864 bytes  
  8. Variable Size              46137344 bytes  
  9. Database Buffers           50331648 bytes  
  10. Redo Buffers                 667648 bytes  

Let's take a look at the default storage location of various types of files:

 
 
  1. SQL> show parameter dump_dest  
  2.  
  3. NAME                                 TYPE                   VALUE  
  4. ------------------------------------ ---------------------- ------------------------------  
  5. background_dump_dest                 string                 ?/rdbms/log  
  6. core_dump_dest                       string                 ?/dbs  
  7. user_dump_dest                       string                 ?/rdbms/log  
  8.  
  9. SQL> show parameter control_files  
  10.  
  11. NAME                                 TYPE                   VALUE  
  12. ------------------------------------ ---------------------- ------------------------------  
  13. control_files                        string                 ?/dbs/cntrl@.dbf  

By the way, let's take a look at the default information recorded in the alarm log:

 
 
  1. [oracle@jumper dbs]$ cat $ORACLE_HOME/rdbms/log/alert_julia.log  
  2. Mon May  8 11:09:04 2006  
  3. Starting ORACLE instance (normal)  
  4. Mon May  8 11:09:04 2006  
  5. WARNING: EINVAL creating segment of size 0x0000000006400000  
  6. fix shm parameters in /etc/system or equivalent  
  7. LICENSE_MAX_SESSION = 0 
  8. LICENSE_SESSIONS_WARNING = 0 
  9. SCN scheme 2  
  10. Using log_archive_dest parameter default value  
  11. LICENSE_MAX_USERS = 0 
  12. SYS auditing is disabled  
  13. Starting up ORACLE RDBMS Version: 9.2.0.4.0.  
  14. System parameters with non-default values:  
  15.   db_name                  = julia 
  16. PMON started with pid=2 
  17. DBW0 started with pid=3 
  18. LGWR started with pid=4 
  19. CKPT started with pid=5 
  20. SMON started with pid=6 
  21. RECO started with pid=7   
  22.   

Statement syntax for oracle time addition and subtraction

How to check the oracle deadlock

A Simple Method for recording the execution time of Oracle statements

Statement of Oracle paging Query

Oracle condition branch statement example

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.