久久r热视频,国产午夜精品一区二区三区视频,亚洲精品自拍偷拍,欧美日韩精品二区

您的位置:首頁技術(shù)文章
文章詳情頁

如何獲取或記錄Oracle語句執(zhí)行時間

瀏覽:157日期:2023-11-26 17:25:07
很多情況下我們需要獲取或記錄Oracle語句執(zhí)行時間,其實簡單的方法就能實現(xiàn),具體代碼如下:OracleE語句的執(zhí)行時間需要使用 SET TIMING ON,例如:[oracle@jw ~]$ sqlplus '/as sysdba'SQL*Plus: Release 9.2.0.4.0 - ProdUCtion on 星期二 8月 28 16:59:43 2007Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.連接到:Oracle9i Enterprise Edition Release 9.2.0.4.0 - ProductionWith the Partitioning, Oracle Label Security, OLAP and Oracle Data Mining optionsJServer Release 9.2.0.4.0 - ProductionSQL> set timing on;SQL> select count(*) from tab;COUNT(*)----------2447已用時間: 00: 00: 00.12SQL>
標(biāo)簽: Oracle 數(shù)據(jù)庫
主站蜘蛛池模板: 浙江省| 房产| 伊宁市| 清远市| 洪江市| 江达县| 琼海市| 神木县| 新民市| 密云县| 金山区| 长治县| 麦盖提县| 图们市| 萍乡市| 高雄县| 柳江县| 保山市| 德化县| 沐川县| 宾川县| 洛浦县| 阳东县| 海阳市| 汉沽区| 台东市| 邯郸县| 益阳市| 江华| 灵璧县| 洮南市| 稻城县| 东丰县| 长海县| 江阴市| 湘潭县| 鹰潭市| 辽源市| 平乐县| 大城县| 自治县|