1 Star 2 Fork 1

雪山凌狐 / Oracle 数据库批量获取 AWR 和 ASH 报告

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Oracle 数据库批量获取 AWR 和 ASH 报告

获取 Oracle 的 AWR 和 ASH 报告,要求多节点,多份,批量,手动 sql 比较麻烦,特开通此项目做个批量化脚本实现。

食用方法

  1. 准备好 python 环境,开发环境为 python3.8.2,要求 python3.6+。
  2. 安装依赖环境 pip install -r requirements.txt
  3. 修改配置,将 run_config_template.py 模板文件按照自己的情况进行修改,并将文件名修改为 run_config.py 以生效。
  4. 运行脚本测试是否没问题 python oracle_get_awr_ash.py

更新日志

v1.2 20210416:

  1. 优化 ASH 报告获取的部分,需要支持登录对应节点才能获取对应节点的 ASH 报告配置。
  2. 优化报错文字提示,更加精准。

v1.1 20210414:

  1. 补充支持同步导出 ASH 报告的部分。
  2. 所有自定义函数新增类型提示。

v1.0 20201203:

  1. 更新初始版本,实现 AWR 报告的批量可配置化快速获取。
MIT License Copyright (c) 2020 雪山凌狐 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

最近有这个需求,获取 Oracle 的 AWR 和 ASH 报告,要求多节点,多份,批量,手动 sql 比较麻烦,特开通此项目做个批量化脚本实现。 展开 收起
Python
MIT
取消

发行版 (3)

全部

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/xueshanlinghu/oracle_get_awr_ash.git
git@gitee.com:xueshanlinghu/oracle_get_awr_ash.git
xueshanlinghu
oracle_get_awr_ash
Oracle 数据库批量获取 AWR 和 ASH 报告
master

搜索帮助