获取ORACLE语句执行时间方法是什么呢?
获取ORACLE语句执行时间方法是什么呢?
有时候我们需要获取或记录ORACLE语句执行时间,其实简单的方法就能实现,看下面的代码: ORACLE语句的执行时间需要使用 SET TIMING ON,例如: [oracle@jw ~]$ sqlplus "/as sysdba" SQL*Plus: Release 9。
2。0。4。0 - Production on 星期二 8月 28 16:59:43 2007 Copyright (c) 1982, 2002, Oracle Corporation。 All rights reserved。 连接到: Oracle9i Enterprise Edition Release 9。
2。0。4。0 - Production With the Partitioning, Oracle Label Security, OLAP and Oracle Data Mining options JServer Release 9。
2。0。4。0 - Production SQL> set timing on; SQL> select count(*) from tab; COUNT(*) ---------- 2447 已用时间: 00: 00: 00。12 SQL>。
答:节约用户资金(1)Hansky配置管理系统的总体实施成本低对硬件系统性能的要求低,可以跨平台使用,节约了用户的投资;安装简单,易于维护,无需专职的系统管理员;功...详情>>
答:利用网络存在的漏洞和安全缺陷对网络系统的硬件、软件及其系统中的数据进行的攻击详情>>