Overview of Oracle parameter files

Source: Internet
Author: User

Parameter files are settings that are used to configure the database. such as the location of the control file (control_files), the size of the data block (db_block_size), buffer cache size (db_cache_size), and other information

1. Oracle parameter list

Select * from V$parameter;

2. Modify parameter Example

Alter system set processes=1000scope=spfile;--modifies the maximum number of connections to the database

3, scope below 4 kinds

A), scope=memory-effective immediately, until the database is closed;

b), scope=spfile-reuse the SPFile file to restart the data before it takes effect;

c), scope=both-will take effect immediately in memory, and modify the SPFile to ensure that after the restart of the database also effective;

d), do not specify scope-equivalent to both (database started through SPFile)

< note > Static parameter values can not be modified by modifying the memory to take effect, by modifying SPFile (), restart the database to take effect, that is, the 2nd way;

How do I see if the database is started with a pfile (text file) or spfile (binary file)?

SELECT * from V$parameter wherename= ' spfile '-if there is a record, the SPFile starts

4, for some parameters can not be immediately modified, only for the newly established session to modify these parameters

Select name from V$parameter a where a.issys_modifiable= ' DEFERRED '

Modify Example:

Alter system set sort_area_size=65536 deferred;--deferred modification

5. Cancel Parameter setting

alter system reset Sort_area_size scope=spfile sid= ' * ';

This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/database/Oracle/

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.