• <tfoot id='xbXNh'></tfoot><legend id='xbXNh'><style id='xbXNh'><dir id='xbXNh'><q id='xbXNh'></q></dir></style></legend>

    <small id='xbXNh'></small><noframes id='xbXNh'>

      <i id='xbXNh'><tr id='xbXNh'><dt id='xbXNh'><q id='xbXNh'><span id='xbXNh'><b id='xbXNh'><form id='xbXNh'><ins id='xbXNh'></ins><ul id='xbXNh'></ul><sub id='xbXNh'></sub></form><legend id='xbXNh'></legend><bdo id='xbXNh'><pre id='xbXNh'><center id='xbXNh'></center></pre></bdo></b><th id='xbXNh'></th></span></q></dt></tr></i><div id='xbXNh'><tfoot id='xbXNh'></tfoot><dl id='xbXNh'><fieldset id='xbXNh'></fieldset></dl></div>

      • <bdo id='xbXNh'></bdo><ul id='xbXNh'></ul>

        如何检查允许连接到 Oracle 数据库的最大数量?

        时间:2023-09-19
          <tbody id='wxIys'></tbody>
        <tfoot id='wxIys'></tfoot>
          • <i id='wxIys'><tr id='wxIys'><dt id='wxIys'><q id='wxIys'><span id='wxIys'><b id='wxIys'><form id='wxIys'><ins id='wxIys'></ins><ul id='wxIys'></ul><sub id='wxIys'></sub></form><legend id='wxIys'></legend><bdo id='wxIys'><pre id='wxIys'><center id='wxIys'></center></pre></bdo></b><th id='wxIys'></th></span></q></dt></tr></i><div id='wxIys'><tfoot id='wxIys'></tfoot><dl id='wxIys'><fieldset id='wxIys'></fieldset></dl></div>

            <legend id='wxIys'><style id='wxIys'><dir id='wxIys'><q id='wxIys'></q></dir></style></legend>

              <bdo id='wxIys'></bdo><ul id='wxIys'></ul>

                1. <small id='wxIys'></small><noframes id='wxIys'>

                  本文介绍了如何检查允许连接到 Oracle 数据库的最大数量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  使用 SQL 检查 Oracle 数据库允许的最大连接数的最佳方法是什么?最后,我想显示当前的会话数和允许的总数,例如目前,使用了 80 个连接中的 23 个".

                  What's the best way, using SQL, to check the maximum number of connections that is allowed for an Oracle database? In the end, I would like to show the current number of sessions and the total number allowed, e.g. "Currently, 23 out of 80 connections are used".

                  推荐答案

                  在确定 Oracle 数据库支持的连接数时,可能会出现一些不同的限制.最简单的方法是使用 SESSIONS 参数和 V$SESSION,即

                  There are a few different limits that might come in to play in determining the number of connections an Oracle database supports. The simplest approach would be to use the SESSIONS parameter and V$SESSION, i.e.

                  数据库配置允许的会话数

                  The number of sessions the database was configured to allow

                  SELECT name, value 
                    FROM v$parameter
                   WHERE name = 'sessions'
                  

                  当前活动的会话数

                  SELECT COUNT(*)
                    FROM v$session
                  

                  不过,正如我所说,在数据库级别和操作系统级别以及是否已配置共享服务器都存在其他潜在限制.如果忽略共享服务器,您很可能会在达到 SESSIONS 参数的限制之前达到 PROCESSES 参数的限制.您可能会达到操作系统限制,因为每个会话都需要一定数量的 RAM.

                  As I said, though, there are other potential limits both at the database level and at the operating system level and depending on whether shared server has been configured. If shared server is ignored, you may well hit the limit of the PROCESSES parameter before you hit the limit of the SESSIONS parameter. And you may hit operating system limits because each session requires a certain amount of RAM.

                  这篇关于如何检查允许连接到 Oracle 数据库的最大数量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何在Oracle中检索A、B格式的两列数据 下一篇:“AS"和“AS"有什么区别?和“是"在 Oracle 存储过程中?

                  相关文章

                    <tfoot id='S9Uz4'></tfoot>
                  1. <legend id='S9Uz4'><style id='S9Uz4'><dir id='S9Uz4'><q id='S9Uz4'></q></dir></style></legend>

                    1. <small id='S9Uz4'></small><noframes id='S9Uz4'>

                      <i id='S9Uz4'><tr id='S9Uz4'><dt id='S9Uz4'><q id='S9Uz4'><span id='S9Uz4'><b id='S9Uz4'><form id='S9Uz4'><ins id='S9Uz4'></ins><ul id='S9Uz4'></ul><sub id='S9Uz4'></sub></form><legend id='S9Uz4'></legend><bdo id='S9Uz4'><pre id='S9Uz4'><center id='S9Uz4'></center></pre></bdo></b><th id='S9Uz4'></th></span></q></dt></tr></i><div id='S9Uz4'><tfoot id='S9Uz4'></tfoot><dl id='S9Uz4'><fieldset id='S9Uz4'></fieldset></dl></div>

                        <bdo id='S9Uz4'></bdo><ul id='S9Uz4'></ul>