- 浏览: 328508 次
- 性别:
- 来自: 广州
文章分类
- 全部博客 (224)
- Java (34)
- Test (3)
- Linux/Unix (32)
- Windows (8)
- Oracle (78)
- Oracle Backup & Recovery (3)
- SqlServer (1)
- Database (3)
- Open Source (2)
- Server Management (1)
- Apache ActiveMQ (1)
- IBM WebSphere MQ (7)
- IBM WAS (15)
- 其它 (11)
- UML (1)
- Tools (1)
- Reference (0)
- Spring (11)
- Hibernate (5)
- VBScript (3)
- Network (1)
- Securities (2)
- Maven (6)
- logging (2)
- Web (1)
- AWS (3)
最新评论
set term off heading on verify off pagesize 1000 set markup html on entmap ON preformat off spool on spool c:\temp\event_log_file_sync.html select s.BEGIN_INTERVAL_TIME, m.INSTANCE_NUMBER, m.SNAP_ID, EVENT_NAME, m.EVENT_TIME_WAITED, m.TOTAL_WAITS, m.PCT, AVG_WAIT FROM (SELECT ee.instance_number, ee.snap_id, ee.event_name, ROUND (ee.event_time_waited / 1000000) event_time_waited, ee.total_waits, ROUND ( (ee.event_time_waited * 100) / et.total_time_waited, 1) pct, ROUND ( (ee.event_time_waited / ee.total_waits) / 1000) avg_wait FROM (SELECT ee1.instance_number, ee1.snap_id, ee1.event_name, ee1.time_waited_micro - ee2.time_waited_micro event_time_waited, ee1.total_waits - ee2.total_waits total_waits FROM dba_hist_system_event ee1 JOIN dba_hist_system_event ee2 ON ee1.snap_id = ee2.snap_id + 1 AND ee1.instance_number = ee2.instance_number AND ee1.event_id = ee2.event_id AND ee1.wait_class_id <> 2723168908 AND ee1.time_waited_micro - ee2.time_waited_micro > 0 UNION SELECT st1.instance_number, st1.snap_id, st1.stat_name event_name, st1.VALUE - st2.VALUE event_time_waited, 1 total_waits FROM dba_hist_sys_time_model st1 JOIN dba_hist_sys_time_model st2 ON st1.instance_number = st2.instance_number AND st1.snap_id = st2.snap_id + 1 AND st1.stat_id = st2.stat_id AND st1.stat_name = 'DB CPU' AND st1.VALUE - st2.VALUE > 0) ee JOIN (SELECT et1.instance_number, et1.snap_id, et1.VALUE - et2.VALUE total_time_waited FROM dba_hist_sys_time_model et1 JOIN dba_hist_sys_time_model et2 ON et1.snap_id = et2.snap_id + 1 AND et1.instance_number = et2.instance_number AND et1.stat_id = et2.stat_id AND et1.stat_name = 'DB time' AND et1.VALUE - et2.VALUE > 0) et ON ee.instance_number = et.instance_number AND ee.snap_id = et.snap_id) m JOIN dba_hist_snapshot s ON m.snap_id = s.snap_id AND m.instance_number = s.instance_number WHERE TO_CHAR (BEGIN_INTERVAL_TIME+0.003, 'YYYYMMDDHH24MI') > CONCAT('&&1', '&&2') AND TO_CHAR (BEGIN_INTERVAL_TIME-0.003, 'YYYYMMDDHH24MI') < CONCAT('&&1', '&&3') AND event_name = 'log file sync' ORDER BY m.instance_number, m.snap_id, event_time_waited desc; spool off
发表评论
-
DBCP连接池介绍
2018-09-12 13:17 460目前 DBCP 有两个版本分别是 1.3 和 1.4。 D ... -
Update两表(多表)关联update -- 被修改值由另一个表运算而来
2016-10-22 00:50 985UPDATE trd_sess A SET A.r ... -
GV$LOCKED_OBJECT
2016-09-27 01:21 1128SELECT OBJECT_NAME, MACHINE, ... -
v$sql v$sqlarea v$sqltext v$sql_plan
2015-08-13 16:55 809v$sqltext存储的是完整的SQL,SQL被分割 SQ ... -
Oracle performance tuning
2015-08-10 17:47 602db block get+consistent gets ... -
JDBC driver 的类型 Type 1 Type2 Type3 Type4
2014-06-12 16:01 856在网上下载jdbc驱动程序,常看见type4字样,开始以为是 ... -
undo segment behavior
2014-04-04 19:04 782FAQ – Automatic Undo Managemen ... -
Connect to Oracle DB - Java
2014-04-04 15:14 719import java.sql.*; public ... -
Dataguard网络优化调整
2014-03-31 16:02 959Dataguard网络优化调整 Datagu ... -
Production error ORA-01001, ORA-03120, ORA-01460
2014-03-19 20:38 990ORA-01001: invalid cursor OR ... -
Oracle 常见的33个等待事件
2014-03-12 15:42 4068一. 等待事件的相关知识: 1.1 等待事件主要可以 ... -
WBFC on Exadata
2014-02-27 14:57 8621. "Should we turn on Sto ... -
Oracle dump files
2014-02-27 12:58 667audit_file_dest = C:\ ... -
Adaptive Log File Sync
2014-02-26 19:52 1061Adaptive Log File sync was int ... -
ORA-39046: Metadata remap REMAP_TABLESPACE has already been specified.
2014-01-22 16:01 6716Import: Release 10.2.0.4.0 - 6 ... -
EXPDP – ORA-39142: incompatible version number 3.1
2014-01-22 12:25 1667Using EXPDP export a schema in ... -
Oracle 11g Real Time SQL Monitoring
2014-01-20 17:01 785http://kerryosborne.oracle-guy ... -
java.sql.SQLException: ORA-01001: invalid cursor
2013-12-20 13:59 3789There are three parameters tha ... -
ORA-01013 user requested cancel of current operation
2013-12-20 13:34 2429今天我碰到的case就是timeout引起的。 T ... -
Cannot run sqlplus on Linux with EOF
2013-12-20 11:02 850今天碰到个小问题,记下来,在linux上,不可以run fi ...
相关推荐
安装$ npm install sails-generate-request-log用法在命令行上$ sails generate request-log向中间件添加日志要启用请求记录,您需要将记录器添加到config / http.js中的现有中间件堆栈中,如下所示: //require the...
$ npm i generate-changelog -D # install it as a dev dependency # OR $ npm i generate-changelog -g # install it globally 用法 要使用此模块,您的提交消息必须采用以下格式: type(category): description ...
Generate POJO-JPA-Repository-Service
Generate POJO-JPA-Swagger-DTO
Generate POJO-JPA-PO
redis ssrf gopher 生成器和 redis ssrf 通过 master-slave-sync 进行 rceredis-ssrfssrf 写入文件。例如webshell 和 ssh 密钥ssrf 到 rce 4.x - 5.x要求ssrf-redis.py : python2.x 3.xrogue-server.py : python...
《codegenerate-3.6.1源码解析与二次开发指南》 在IT行业中,源码分析和二次开发是提升软件功能、优化性能的重要手段。本文将深入探讨"codegenerate-3.6.1源码",它是基于Jeecg框架的自动生成代码工具的源代码版本...
自动生成变更日志 Github Action根据常规提交自动生成CHANGELOG 随时提交拉取请求或问题,但请确保遵循... - uses : BobAnkh/auto-generate-changelog@master with : REPO_NAME : ' BobAnkh/auto-generate-changelo
npm install --save-dev generate-asset-webpack-plugin 用法 var GenerateAssetPlugin = require ( 'generate-asset-webpack-plugin' ) ; var webpackConfig = { plugins : [ new GenerateAssetPlugin ( { ...
codegenerate-1.3.8-javadoccodegenerate-1.3.8-javadoccodegenerate-1.3.8-javadoccodegenerate-1.3.8-javadoccodegenerate-1.3.8-javadoccodegenerate-1.3.8-javadoccodegenerate-1.3.8-javadoccodegenerate-1.3.8...
安装npm install generate-node-policy-file用法通过您的应用程序生成所需文件的列表: env REQUIRED_FILES=required-files.json node -r generate-node-policy-file/track my-app.js 从列表中生成一个: generate-...
目录变更记录执照 安装使用NPM: $ npm install generate-api-key 使用纱线: $ yarn add generate-api-key 用法generate-api-key库可以通过利用几种生成方法(例如string , bytes , base32 , base62 , uuidv4和...
只需根据您auto-generate-components-file-from-css-file.rb运行auto-generate-components-file-from-css-file.rb或auto-generate-components-file-from-txt-file.rb ,然后您将拥有fontAwesome.js $ ruby auto-...
uses : scottbrenner/generate-changelog-action@master id : Changelog with : package-dir : ' root/to/my/package.json ' 默认情况下,此操作使用先前标记和最新标记之间的提交生成更改日志。 通过传递from-...
例如,可以运行`php artisan log:generate`来立即生成新的日志文件。 6. **日志清理**:除了生成日志,这个包还可能提供清理旧日志的功能,帮助你维护日志存储空间。 **优势与应用场景:** 1. **可读性**:通过按...
formatted-task037-qasc-generate-related-fact.json
codegenerate-3.4.6.jar jar包
formatted-task036-qasc-topic-word-to-generate-related-fact.json
File htmlReport = new File(Environment.getExternalStorageDirectory(), "test_report.html"); TestResult result = getTestResult(); AndroidJUnitReport.generate(htmlReport, result); } } ``` 接下来,让...
《PyPI官网下载:generate-html-0.0.2.tar.gz——深入了解Python库的发布与使用》 在Python的世界里,PyPI(Python Package Index)是最重要的资源库,它为全球开发者提供了一个集中分享和下载Python软件包的平台。...