Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How many maximum connections can oracle have?

How many maximum number of connections can oracle handle ?

The following is a summary for my sql, i need similar stats for oracle :

The maximum number of connections MySQL can support depends on the quality of the thread library on a given platform, the amount of RAM available, how much RAM is used for each connection, the workload from each connection, and the desired response time. Linux or Solaris should be able to support at 500–1000 simultaneous connections routinely and as many as 10,000 connections if you have many gigabytes of RAM available and the workload from each is low or the response time target undemanding. Windows is limited to (open tables × 2 + open connections) < 2048 due to the Posix compatibility layer used on that platform.

like image 484
Puzzled Avatar asked Oct 30 '09 09:10

Puzzled


People also ask

How many queries can Oracle have?

Oracle allows a maximum nesting of 255 subquery levels in a WHERE clause. There is no limit for nesting subqueries expressed in a FROM clause.In practice, the limit of 255 levels is not really a limit at all because it is rare to encounter subqueries nested beyond three or four levels.

What is connection pool size in Oracle?

The connection pool configuration settings are: Initial and Minimum Pool Size: Minimum and initial number of connections maintained in the pool (default is 8) Maximum Pool Size: Maximum number of connections that can be created to satisfy client requests (default is 32)


1 Answers

Oracle has two types of connection architecture:

  • In dedicated server mode, each connection has a server process and you should have roughly the same limitations as in MySQL. This is the default connection mode and is recommended for small setup.
  • In shared server mode the connections will share the server processes:

Shared server architecture eliminates the need for a dedicated server process for each connection. A dispatcher directs multiple incoming network session requests to a pool of shared server processes. An idle shared server process from a shared pool of server processes picks up a request from a common queue, which means a small number of shared servers can perform the same amount of processing as many dedicated servers. Also, because the amount of memory required for each user is relatively small, less memory and process management are required, and more users can be supported.

The jump from dedicated server to shared server architecture will be dictated by the number of connections and the workload. A mix of the two is possible (long running batch jobs in dedicated, front end web application in shared architecture).

like image 58
Vincent Malgrat Avatar answered Sep 28 '22 05:09

Vincent Malgrat