Category: Database

MySQL (102)
Oracle (26)
Redis (8)
SQLServer (2)

How to Generate Oracle AWR Performance Reports

1. Switch to the Oracle user directory #su – oracle
[oracle@localhost ~]$ sqlplus / as sysdba
SQL> @?/rdbms/admin/awrrpt

It asks for the report format here; the default is HTML, so just press Enter (as shown in the image above).

In the image above, directly enter: 1 , which generates a snapshot report for recent days. …

MySQL High Availability Architecture: MHA

Introduction:

MHA (Master High Availability) is a relatively mature solution for MySQL high availability, developed by youshimaton from DeNA Japan (now at Facebook). It is an excellent high-availability software for failover and master-slave promotion in MySQL high-availability environments. …

Oracle Installation Stuck at Perform Prerequisite Checks Fix

Oracle installation stuck at the Perform Prerequisite Checks step, as shown below:

Cause: The /etc/security file does not have access permissions. Grant temporary access to resolve this.
chmod -R 755 /etc/security
After installation, you can restore stricter permissions:
chmod -R 600 /etc/security …

Common Rman Commands

1、SHOW Command:
Display RMAN configuration: RMAN> show all;

2、REPORT Command:
2.1、RMAN> report schema Report the physical structure of the target database;
2.2、RMAN>report need backup days=3; Report dat …