Changes in the number of Oracle Database processes and sessions

Source: Internet
Author: User
1. Use SQLPlus to modify the relationship between Oracle sessions and processes: sessions1.1 * processes + 5 Use sys and log on to: SQLgt; show

1. Use SQLPlus to modify the relationship between Oracle sessions and processes: sessions = 1.1 * processes + 5 Use sys and log on to: SQLgt; show

1. The relationship between Oracle sessions and processes Modified through SQLPlus is:

Sessions = 1.1 * processes + 5

Use sys to log on with sysdba permissions:

SQL> show parameter processes;

Name type value --------

Aq_tm_processes integer 1db_writer_processes integer 1

Job_queue_processes integer 10

Log_archive_max_processes integer 1

Processes integer 150

SQL> alter system set

Processes = 400 scope = spfile; the system has changed.

SQL> show parameter processes; NAME TYPE

VALUE --------------------------------

Aq_tm_processes

Integer 1db_writer_processes integer 1

Job_queue_processes integer 10

Log_archive_max_processes integer 1

Processes integer 150

SQL> create pfile from spfile;

Note: sessions is a derived value, determined by the processes value. formula sessions = 1.1 * process + 5]

2. Modify the processes value in the spfileorcl. ORA file by modifying the oracle configuration file. 8.1.5 is the init. ora file. Modifying the init. ora file in 9i is invalid. Because this file is a binary file, it cannot be opened directly using notepad editor. Otherwise the error ORA-27101 Shared memory realm does not exist is reported. Use the UltraEdit or EditPlus editor that can edit the binary file to open this file (directly edit the binary file), and then restart the Oracle server in the Windows service.

3. Use the Oracle Enterprise Manager Console to modify

A. log in as a system administrator

B. Enter the database routine-configuration-General Information-all initialization parameters

C. Modify the value of processes.

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.