记录Oracle语句执行时间的简单方法
作者:人工智能 来源:IT科技 浏览: 【大中小】 发布时间:2025-11-04 19:26:00 评论数:

复制[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 1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.21.22.23.24.25.26.27.28.29.30.31.32.33.
