Home > Database > Oracle > How to query the number of connections in Oracle

How to query the number of connections in Oracle

WBOY
Release: 2022-01-06 16:26:59
Original
25070 people have browsed it

In Oracle, you can use the select statement to query the number of connections. This statement is used to return query results under specified conditions. It is a commonly used query statement in Oracle. The syntax is "select count(*) from v$process ".

How to query the number of connections in Oracle

The operating environment of this tutorial: Windows 10 system, Oracle 11g version, Dell G3 computer.

How to query the number of Oracle connections

Use select count(*) from v$process; to query the number of currently connected sessions.

Examples are as follows:

How to query the number of connections in Oracle

How to query the number of connections in Oracle

##select value from v$parameter where name = 'processes' -- The maximum number of connections allowed by the database


The example is as follows:

How to query the number of connections in Oracle

Recommended tutorial: "

Oracle Tutorial"

The above is the detailed content of How to query the number of connections in Oracle. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template