# Installing Docker Engine on Fedora # Uninstall old versions Older versions of Docker were called  docker  or  docker-engine . If these are installed, uninstall them, along with associated dependencies. sudo dnf remove docker \ docker-client \ docker-client-latest \ docker-common \...

# How to reset root password # MySQL 5.7.6 and later Modify /etc/my.cnf, append skip-grant-tables . sed -i '/[mysqld]/a skip-grant-tables' /etc/my.cnfRestart mysql server, update root password. select user,host,authentication_string from mysql.user;update mysql.user set...

# Configure MySQL to start on boot with systemd Add a systemd service unit configuration file with details about the MySQL service $> cd /usr/lib/systemd/system$> touch mysqld.service$> chmod 644 mysqld.serviceAdd this configuration information to the mysqld.service...

# Installing MySQL on Linux Using YUM Repository 5.7 # Adding the MySQL YUM Repository.sudo yum localinstall mysql57-community-release-el7-{version-number}.noarch.rpmsudo yum-config-manager --enable mysql57-community# Disabling the Default MySQL Module.sudo yum module disable...

# Migrate DATA ASM Diskgroup To Another Storage If necessary, modify asm_diskstring. alter system set asm_diskstring = '/dev/emcpowerc*','/dev/emcpowerh*' scope=both;select name,path from v$asm_disk; Query the fail groups. col path for a20col state for a10col failgroup for a15col...

# Migrate OCR ASM Diskgroup To Another Storage Query css votedisk. ~]$ crsctl query css votedisk## STATE File Universal Id File Name Disk group-- ----- ----------------- --------- ---------1. ONLINE 73e1c48069d64fefbfc44cd8e65107d8 (ORCL:OCR_VOTE1) [OCR_VOTE]Located 1 voting disk(s). Query the...

# Migrate OCR ASM Diskgroup To New ASM Diskgroup # OCR Perform ocr backup. ~]# /u01/app/11.2.0/grid/bin/ocrconfig -manualbackuprac2 2022/05/06 09:21:54 /u01/app/11.2.0/grid/cdata/rac-cluster/backup_20220506_092154.ocr~]# /u01/app/11.2.0/grid/bin/ocrconfig -showbackupPROT-24: Auto backups for the...

# Oracle Automatic Storage Management (ASM) # Oracle ASM Mirroring and Disk Group Redundancy Disk Group Type Supported Mirroring Levels Default Mirroring Level EXTERNAL redundancy Unprotected (none) Unprotected NORMAL redundancy Two-way, three-way, unprotected (none) Two-way HIGH...

# Automatic Optimizer Statistics Collection Oracle Database - Enterprise Edition - version 11.2.0.4.0 在 Oracle 10g 之前并没有自动收集统计信息的机制,从 Oracle 10g 开始引入了自动收集统计信息的功能,这个功能在 Oracle 10g 中被称为自动统计信息收集(Automatic Statistics Gathering)    在 Oracle 11g 中被称为自动优化器统计信息收集(Automatic Optimizer Statistics...

# Changing the Oracle Database Archive Mode # Enabling Archive Mode Oracle 10g and latest SI. SQL> alter system set log_archive_dest_1='location=/oradata/orcl/archivelog' scope=spfile;SQL> shutdown immediateSQL> startup mountSQL> alter database archivelog;SQL> alter database...