Oracle Instance based on OracleDBA (2)

Source: Internet
Author: User

When Oracle starts, it needs to read the initialization parameter file
Text File Format: PFILE
$ ORACLE_HOME/dbs directory
Create PFILE
DBCA
Manually created
Cp init. ora $ ORACLE_HOME/dbs/initSID. ora
Modify initSID. ora
After dbca creates a database, spfileSID. ora is used by default when Oracle is started.
In general, we do not need init. ora to create pfile, because init. ora is too old and oracle8 is used.

SPFILE
Binary file
Maintained by Oracle Server and modified by SQL/plus
Always on the server side,
Backup initialization parameter file
Cannot be modified using vi
To create a spfile, you must have SYSDBA permission to execute
Create spfile = '$ ORALCE_HOE/dbs/spfileSID. ora' from pfile = '$ ORALCE_HOME/dbs/initSID. ora ';
It can be started before or after startup.
Sqlplus/nolog
Conn/as sysdba
Create spfile from pfile; // create the default spfile
File created;
View spfile content
Strings spfileSID. ora | more
You can use V $ SPPARAMETER to view spfile parameters.

 

This article is from "houzhh"
 

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.