Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use oracle Diagnostic tool RDA

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article is about how to use the oracle diagnostic tool RDA. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

RDA is the abbreviation of Remote Diagnostic Agent and the tool used by oracle to collect and analyze the database. Running this tool will not change any parameters of the system. The relevant data collected by RDA is very comprehensive, which can simplify our daily work of monitoring and analyzing the database. Oracle Support also suggests that we provide the data collected by RDA when we feedback related problems, which can provide a strong guarantee for solving problems quickly.

1. Supported operating systems

IBM AIX

Intel Linux (RedHat and SuSE)

HP-UX (10.* and 11.*)

HP Tru64

Sequent Dynix/Ptx

Sun Solaris (2.62.10)

Windows XP Professional

Windows 2000 Workstation and Server

Windows 2003 Server

II. Supported Oracle products

Oracle RDBMS Server (Standard and Enterprise Editions)

Oracle RAC Cluster (Single Node Collection)

Oracle Application Server (iAS 1.0.2.x/9.0.x/10.1.2.x, HTTP Server)

Oracle Management Server and Intelligent Agent (Grid Server, Agent Server, DB Control)

OLAP Products (Express Server, Financial Analyzer, and Demand Planning Server)

Oracle Developer (Forms and Reports)

Oracle Collaboration Suites (Email Server and Internet Directory)

Oracle Networking products

Third, mainly used to diagnose the following aspects of the database

Performance, installation, configuration, upgrade, migration, and internal error issues

IV. Installation of RDA

Tool download:

Http://www.blogjava.net/Files/beauty_beast/rda.rar

Installation instructions for the Unix operating system:

1, after downloading the tool, do not decompress it under the window operating system, the file format of the script will be destroyed.

2. Ftp upload is in binary mode.

3. Execute the decompression command

Example:

Gunzip rda.tar.gz

Tar xvf rda.tar

4. Run the. / rda.sh-c test under the extracted directory to see if it is normal.

5. The use of RDA

In the Unix operating system, oracle recommends that it be executed under the database creation user (usually the oracle user)

The first time you use it, you need to make an initial configuration of collection.

Execute the command:

. / rda.sh-S

After executing the command, there will be a guided interface that allows you to complete the initial configuration based on the actual product installed in the current database. After the configuration is completed, the configuration files setup.cfg and setup.bak will be generated in the rda directory. If you need to adjust the configuration parameters, you can modify the file directly.

After the initial configuration, collect the data and execute the command:

. / rda.sh

If you want to see a detailed collection process, you can execute the command:

. / rda.sh-v

During the collection process, you may be required to enter the password of the relevant user in the database.

After the collection is completed, the report file in zip format and the collection log will be generated under the rda directory according to the initial configuration file. / output/RDA.$machine_name.zip is the default file location.

Extract the file, visit _ _ start.htm, and you can see the details of the collected data.

Points for attention when using:

1. Sometimes the report file in zip format cannot be generated, which is related to whether the client installs the compression tool or not, and the relevant report file needs to be decompressed by itself.

2. If you need to install the generated configuration to collect again, delete the generated report file, and then execute the command:

. / rda.sh-Svf is reset and then execute the acquisition command. / rda.sh-v

six。 Collection data analysis

The report file mainly includes the operating system software, hardware environment, user settings and detailed information of the database (initial parameters, running events, daily monitoring, etc.).

In the daily maintenance, we mainly

1. Pay attention to several statistical information under RDBMS.

Setting of initial parameters related to Database in Database SPFile Parameters spfile

SGA Information views the current memory information in the global area of the system

Database session related information collected by Sessions and Processes

Wait statistics view of all process events during the entire run of the V$System_Event database instance

V$Session_Wait session wait events and related location information data

Latch Information competition related information (translation is not very accurate)

Tablespaces database tablespace information (tablespace type, corresponding data file utilization, extensibility, etc.)

Database Files database corresponds to data file information (file location, usage, etc.)

For database objects with Invalid Objects failure, if daily monitoring finds any failure, it needs to be manually recompiled by maintenance personnel.

Database error in daily execution of all errors

In V$System_Event, V$Session_Wait mainly focuses on (buffer busy waits, db file scattered read, db file sequential read, enqueue, free buffer waits, latch free, log file sync, log file paralle write) events.

2. Follow the information of RDBMS Log/Trace Files

Alert.log database system-level log

The recent exception log of the last errors database. You can view detailed error information based on the location of the trace file.

Thank you for reading! This is the end of this article on "how to use oracle Diagnostic tool RDA". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report