ITPub博客

首页 > 数据库 > Oracle > Oracle IO校准特性

Oracle IO校准特性

原创 Oracle 作者:abstractcyj 时间:2018-04-26 16:16:22 0 删除 编辑
[oracle@db01 ~]$ sqlplus / as sysdba


SQL*Plus: Release 11.2.0.4.0 Production on Thu Apr 26 15:53:43 2018


Copyright (c) 1982, 2013, Oracle.  All rights reserved.




Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options


SQL>  set serveroutput on;
SQL> DECLARE
    lat  INTEGER;
      iops INTEGER;
     mbps INTEGER;
   BEGIN
   -- DBMS_RESOURCE_MANAGER.CALIBRATE_IO (disk_count,max_latency , iops, mbps, lat);
      DBMS_RESOURCE_MANAGER.CALIBRATE_IO (1, 15, iops, mbps, lat);
  
      DBMS_OUTPUT.PUT_LINE   2    3    4    5    6    7    8    9  ('max_iops = ' || iops);
     DBMS_OUTPUT.PUT_LINE ('latency  = ' || lat);
     dbms_output.put_line('max_mbps = ' || mbps);
  end; 10   11   12  
 13  /
max_iops = 140
latency  = 13
max_mbps = 62


PL/SQL procedure successfully completed.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/8520577/viewspace-2153396/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
曾从事java方向开发多年。近年已经转入数据库方向。主要擅长SQL优化,Oracle数据库问题诊断,Oracle备份与恢复等。服务于医药物流,医院等行业

注册时间:2010-01-26

  • 博文量
    602
  • 访问量
    1091598