Insufficient Oracle EBS connections

Source: Internet
Author: User

Sometimes, the EBS reports insufficient connections. Therefore, we try to improve processes and sessions. After EBS is installed, the default value of the init parameter processes is 200, and the default value of sessions is 400. here I increase the processes and sessions of DB to 500 and 1000.
Processes = 500 # Max. no. of users x 2
Sessions = 1000 #2 X processes


After modification, restart the database and the parameter will take effect.

Addbctl. sh stop
Addbctl. sh start


View parameter settings

Show parameter processes
Show parameter sessions

In the Oracle ebs db Init Parameters article (SEE), Oracle provides a reference setting for init parameter.

Description of Processes and sessions parameters and init. ora
#########
#
# Processes and sessions parameters
#
# A database process can be associated with one or more databases
# Sessions. For all technology stack components other than Oracle
# Forms, there is a one-to-one mapping between sessions and processes.
#
# For Forms processes, there will be one database session per
# Open form, with a minimum of two sessions per Forms user (one
# For the navigator form, and one for the active form ).
#
# The sessions parameter shocould be set to twice the value of
# Processes parameter.
#
#########


In addition, how can I query the number of connections and the maximum number of connections of current data?
  1. -- Current number of connections
  2. Select Count(*)FromV $ process;
  3. -- Set the maximum number of connections (default value: 200)
  4. SelectValueFromV $ parameterWhere Name='Processs';
  5. ------------------------------------------------
  6. -- View the current session usage
  7. SELECTCount(*)FROMV $ session;
  8. Or
  9. SELECTUsername, machine, program, status,COUNT(Machine)AS
  10. FROMV $ session
  11. GROUP BYUsername, machine, program, status
  12. ORDER BYMachine;
  13. -- View the maximum number of sessions in the system
  14. SelectValueFromV $ parameterWhere Name='Session';

Related Article

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.