Oracle oradim的pfile参数
因此Oracle引入了服务器参数文件(Server parameter file,SPFILE),该文件必须放在服务主机本身,可以作为得到数据库参数的唯一
该文件的命名约定默认为:
init$Oracle_SID.ora (Unix环境下)
init%ORACLE_SID%.ora (Windows环境下)
默认地将其放在以下目录中
$ORACLE_HOME/dbs (Unix)
%ORACLE_HOME%/DATABASE (Windows)
该参数文件不必放在指定的位置上。启动实例时可以在启动命令上使用pfile=filename选项来设置其位置。
但是该文件有两个缺点:
1、该参数文件必须放在启动数据库的客户机上,会导致参数文件的大面积“繁殖”,不易维护;
2、要永久地修改一个参数,光用alter system命令来修改参数不行,还必须确保能够用于启动数据库的所有参数文件都得到手动的更新;
因此Oracle引入了服务器参数文件(Server parameter file,SPFILE),,该文件必须放在服务主机本身,可以作为得到数据库参数的唯一信息来源。另外alter system命令完全可以将值写入spfile,不必再手动查找和维护所有参数文件。
所以建议不必再考虑上述问题,直接采用spfile来设置你的数据库。
默认位置在:$ORACLE_HOME/dbs下:
如你自己手动建立以个库,会有很大帮助:
下面是我自己建的一个库的initSID.ora文件
cd $ORACLE_HOME/dbs
1. [oracle@emrep dbs]$ more initPOD.ora
compatible=10.2.0.1 db_name=pod instance_name=POD sga_max_size=500m sga_target=500mundo_tablespace=undo1 undo_management=auto
job_queue_processes=10
aq_tm_processes=10
background_dump_Dest=/u01/app/oracle/admin/POD/bdump
core_dump_dest=/u01/app/oracle/admin/POD/cdump
user_dump_dest=/u01/app/oracle/admin/POD/udump
control_files='/u01/app/oracle/oradata/pod/diska/control01.ctl','/u01/app/oracle/oradata/pod/diskb/control02.ctl'
相关阅读:
Oracle参数及参数文件spfile/pfile详解
探索Oracle pfile和spfile的秘密

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



The article discusses using MySQL's ALTER TABLE statement to modify tables, including adding/dropping columns, renaming tables/columns, and changing column data types.

Article discusses configuring SSL/TLS encryption for MySQL, including certificate generation and verification. Main issue is using self-signed certificates' security implications.[Character count: 159]

Article discusses strategies for handling large datasets in MySQL, including partitioning, sharding, indexing, and query optimization.

Article discusses popular MySQL GUI tools like MySQL Workbench and phpMyAdmin, comparing their features and suitability for beginners and advanced users.[159 characters]

The article discusses dropping tables in MySQL using the DROP TABLE statement, emphasizing precautions and risks. It highlights that the action is irreversible without backups, detailing recovery methods and potential production environment hazards.

The article discusses creating indexes on JSON columns in various databases like PostgreSQL, MySQL, and MongoDB to enhance query performance. It explains the syntax and benefits of indexing specific JSON paths, and lists supported database systems.

Article discusses using foreign keys to represent relationships in databases, focusing on best practices, data integrity, and common pitfalls to avoid.

InnoDB's full-text search capabilities are very powerful, which can significantly improve database query efficiency and ability to process large amounts of text data. 1) InnoDB implements full-text search through inverted indexing, supporting basic and advanced search queries. 2) Use MATCH and AGAINST keywords to search, support Boolean mode and phrase search. 3) Optimization methods include using word segmentation technology, periodic rebuilding of indexes and adjusting cache size to improve performance and accuracy.
