• <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 数据库的最大数量?

        How to check the maximum number of allowed connections to an Oracle database?(如何检查允许连接到 Oracle 数据库的最大数量?)
          <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 数据库的最大数量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  ibtmp1是非压缩的innodb临时表的独立表空间,通过innodb_temp_data_file_path参数指定文件的路径,文件名和大小,默认配置为ibtmp1:12M:autoextend,也就是说在文件系统磁盘足够的情况下,这个文件大小是可以无限增长的。 为了避免ibtmp1文件无止境的暴涨导致
                  SQL query to group by day(按天分组的 SQL 查询)
                  What does SQL clause quot;GROUP BY 1quot; mean?(SQL 子句“GROUP BY 1是什么意思?意思是?)
                  MySQL groupwise MAX() returns unexpected results(MySQL groupwise MAX() 返回意外结果)
                  MySQL SELECT most frequent by group(MySQL SELECT 按组最频繁)
                  Include missing months in Group By query(在 Group By 查询中包含缺失的月份)

                    <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>
                              <tbody id='S9Uz4'></tbody>