<tfoot id='OTyiw'></tfoot>

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

        <legend id='OTyiw'><style id='OTyiw'><dir id='OTyiw'><q id='OTyiw'></q></dir></style></legend>
      1. <small id='OTyiw'></small><noframes id='OTyiw'>

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

        以 KB 为单位确定 SQL 结果集的大小

        时间:2023-11-03
            <tbody id='hFTUS'></tbody>

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

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

                <bdo id='hFTUS'></bdo><ul id='hFTUS'></ul>
                1. 本文介绍了以 KB 为单位确定 SQL 结果集的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我希望找到如何在 OracleDB 中获取结果集的 kb 大小.我不是系统管理员,但经常运行返回超过 100k 行的查询,我需要找到一种方法来确定总 kb 大小.谢谢

                  I am hoping to find how I can get the kb size of a result set in OracleDB. I am not an sysadmin, but often run queries that return over 100k rows and I would need to find a way to determine what is the total kb size. thank you

                  推荐答案

                  在 SQL*Plus 中:

                  In SQL*Plus:

                  SET AUTOTRACE ON
                  
                  SELECT *
                  FROM emp
                  WHERE rownum <= 100;
                  
                          27  recursive calls
                           0  db block gets
                          19  consistent gets
                           4  physical reads
                           0  redo size
                       **11451  bytes sent via SQL*Net to client**
                         314  bytes received via SQL*Net from client
                           8  SQL*Net roundtrips to/from client
                           0  sorts (memory)
                           0  sorts (disk)
                         100  rows processed
                  

                  要使用 AUTOTRACE 需要 PLUSTRACE 角色,默认情况下不会授予该角色.了解更多.

                  To use AUTOTRACE requires the PLUSTRACE role, which is not granted by default. Find out more.

                  这篇关于以 KB 为单位确定 SQL 结果集的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:Oracle Sequence 未生成连续数 下一篇:如何在 PL/SQL 中使用循环多次运行相同的查询?

                  相关文章

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

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

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