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

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

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

        如何在 Oracle 中检查数据库链接是否有效?

        时间:2023-08-21

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

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

                <tbody id='dbjfn'></tbody>
                • <bdo id='dbjfn'></bdo><ul id='dbjfn'></ul>
                  <tfoot id='dbjfn'></tfoot>
                  <i id='dbjfn'><tr id='dbjfn'><dt id='dbjfn'><q id='dbjfn'><span id='dbjfn'><b id='dbjfn'><form id='dbjfn'><ins id='dbjfn'></ins><ul id='dbjfn'></ul><sub id='dbjfn'></sub></form><legend id='dbjfn'></legend><bdo id='dbjfn'><pre id='dbjfn'><center id='dbjfn'></center></pre></bdo></b><th id='dbjfn'></th></span></q></dt></tr></i><div id='dbjfn'><tfoot id='dbjfn'></tfoot><dl id='dbjfn'><fieldset id='dbjfn'></fieldset></dl></div>
                  本文介绍了如何在 Oracle 中检查数据库链接是否有效?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我有一个只有总部设置数据的主数据库和不同分支机构的几个数据库.我为每个分支机构服务器创建了一个数据库链接.

                  I have a main database with only setup data at the headquarter and several databases at different branches.I created a database link for each branch server.

                  在某些情况下,我想查询所有有效链接(因为某些链接可能由于连接问题或其他原因而无效),所以我的问题是如何在不出现连接超时问题的情况下检查数据库链接是否有效.是否有 SQL 语句让 oracle 主服务器执行该检查并仅返回有效的数据库链接?

                  In some case I would like to query all the valid links (as some links could be invalid due to connection problems or anything else),so my question is How to check if the database link is valid without getting in Connection timeout problems. Is there a SQL statement to let the oracle main server do that check and return only the valid database links?

                  推荐答案

                  我不确定您是否可以创建查询来检查实时数据库链接.您可以做的一件事是创建一个由后台进程更新的表,其中包含数据库链接列表,并为每个链接创建一个最后一次看到活着的时间"时间戳

                  I'm not sure you can create a query to check live db links. One thing you could do is create a table updated by a background process with the list of db links and for each of them a 'last time seen alive' timestamp

                  这篇关于如何在 Oracle 中检查数据库链接是否有效?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:用于报告和日常交易的数据库 下一篇:SQL Server - 我*真正*需要多少用户?

                  相关文章

                  最新文章

                        <bdo id='JAedr'></bdo><ul id='JAedr'></ul>
                      <legend id='JAedr'><style id='JAedr'><dir id='JAedr'><q id='JAedr'></q></dir></style></legend>

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

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