快速部署RDA Remote Diagnostic Agent

RDA Remote Diagnostic Agent远程诊断代理是Oracle Support售后服务使用的标准工具之一,当用户在Metalink上提交SR(TAR)时可能Oracle GCS(Global Customer Service)支持会需要让用户从MOS上下载RDA工具,通过RDA收集丰富的数据库环境信息(如包含OS、DB、CRS等),以便原厂售后直接从RDA report中抓取诊断信息,避免了因诊断信息不足 而反复信息交互所浪费的时间 ; 此外Oracle的一些ACS高级客户服务的现场服务过程中也会利用到RDA,例如当用户要求ACS到现场进行月度或季度巡检是RDA就是标准的检查工具。

 

说了这么多, 你可能还是不太了解RDA。 这不要紧,你可以把RDA看成一套由oracle定义了很多模块的脚本工具盒, 用它可以收集到诊断过程复杂的Oracle产品问题的各种信息。 可以从My Oracle Support(metalink)的《Remote Diagnostic Agent (RDA) 4 – Getting Started [ID 314422.1]》专栏中下载到各个平台的最新版RDA。

 

 

虽然RDA是Oracle Support使用的工具 , 但是并不是说非原厂售后就看不懂RDA也不能利用到这款工具。 RDA从脚本、模块到最后生成的报告都是自然可读的。 譬如Maclean.Liu 我 在诊断较复杂的问题过程中也会用到RDA, 我甚至推荐在数据库巡检、健康检查过程中也使用RDA, 当然是配合其他工具一起使用。

 

在使用RDA之前我们需要完成配置工作,所谓配置就是选择我们要使用的RDA module和一些临时设置,先来认识一下有哪些module:

 

将下载到的rda zip包解压 [oracle@vrh8 ~]$ unzip /tmp/p9079828_418_LINUX.zip [oracle@vrh8 ~]$ cd rda . . . → Read More: 快速部署RDA Remote Diagnostic Agent

Script:利用外部表实现SQL查询Oracle告警日志Alert.log

有同学问是否可以用SQL语句直接查询告警日志的内容,即创建一张包含Alert.log内容的表或视图。 实际上之前已经有人这样做了(http://t.cn/SwGvq9),只需要运行一个存储过程即可达到目的, 这里我对原有的语句做了一些改良, 直接执行PL/SQL块即可无需创建存储过程了,而且现在支持RAC了。

 

–drop table alert_log_view; –drop directory bdump; declare path_bdump varchar2(4000); name_alert varchar2(4000); ins_name varchar2(200); begin select value into path_bdump from sys.v_$parameter where name = ‘background_dump_dest’; select ‘alert_’ || value || ‘.log’ into name_alert from sys.v_$parameter where name = ‘instance_name’; select value into ins_name from sys.v_$parameter where name = ‘instance_number’; if ins_name . . . → Read More: Script:利用外部表实现SQL查询Oracle告警日志Alert.log

Know about My Oracle Configuration Manager (OCM)

今天在和客户的会议上,客户领导大赞cisco某款产品,据他介绍该产品中集成了运行数据收集功能,通过该功能可以减少人力资本,让远程支持(remote support)和前摄式支持(proactive support)变得可能且高效。

旁边的Oracle原厂工程师坐不住了,开始滔滔不绝地介绍Oracle Configuration Manager(OCM)这款工具,在他嘴里OCM除了前摄式地收集Oracle产品信息并传输到My Oracle Support网站以方便后续的patch support和Health checks外,更成为了Oracle解决客户紧急状况的救星,只要使用了OCM配合在MOS上开1级的SR,即便不买Oracle ACS服务也可以解决致命问题,溢美之词不绝于耳。

在我看来OCM这套工具从功能上讲是很不错的,它所收集的系统信息能够帮助Oracle驱动以下功能:

Proactive

Setup-once. Distribute-to-many Install, configure & communicate Eliminate inaccurate SR profiles Unified Systems region Projects Feature Include Business information along with Technical information Include all Milestones (code freeze, go, no-go etc.) Systems Details Change Management features Healthchecks Feature Dozens of Healthchecks to check . . . → Read More: Know about My Oracle Configuration Manager (OCM)

My Oracle Configuration Manager (OCM) Introduction

Lets start out by talking about the SCM/OCM architecture to gain a good understanding of what the differences are and how they work together.

 

The Oracle Configuration Manger is the Data collector. This a light weight piece of software that is deployed onto a customer’s system, to collect configuration information about the system and . . . → Read More: My Oracle Configuration Manager (OCM) Introduction

推荐一款性能诊断工具-Membai

Marcus Mönnig是一名居住在德国汉堡的Oracle Database顾问及DBA,他开发了一款基于Windows平台的面向Oracle DBA和Consultant的图形化工具-Membai,该软件侧重于性能分析。

Membai在现有的Windows主流操作系统包括XP、2003和win7上都可以流畅工作。唯一的先决条件是需要预装Full Oracle Client客户端软件。Membai所支持的Oracle数据库版本包括从9.2到最新的11.2,因为主要是在10.2上测试,所以部分功能可能在9.2中无法正常工作。

Membai的特性包括:

Instant access to important database views vital for DBAs and consultants Retrieved data in Mumbai can be slices and dices in various ways (sorting, filtering, grouping, group arithmetic, etc.) Visualization of data in graphs SQL console window inducing support for bind variables Executions plans for SQL statements . . . → Read More: 推荐一款性能诊断工具-Membai

SQL*Loader Date Cache

If you perform direct path loads that include repeated date or timestamp values, a new feature in the SQL*Loader utility for Oracle9i Database Release 2, may potentially improve the performance of your load. This improvement is achieved by caching date and timestamp values that require data type conversion as they are encountered. The cache is . . . → Read More: SQL*Loader Date Cache