摘要:
正在执行语句 select a.thd_id,a.db,a.time,a.current_statement,a.full_scan,a.current_memory,a.statement_latency from sys.session a WHERE conn_id!=connection_i 阅读全文
摘要:
##计算shmall和shmmax值memTotal=$(grep MemTotal /proc/meminfo | awk '{print $2}')totalMemory=$((memTotal / 2048))shmall=$((memTotal / 4))if [ $shmall -lt 2 阅读全文
摘要:
升级前备份见 https://www.cnblogs.com/omsql/p/9241366.html ln -s mysql-8.0.33-linux-glibc2.12-x86_64 mysql MySQL8.0.16开始,MySQL 不推荐使用mysql_upgrade;直接使用 mysqld 阅读全文
摘要:
--建表 select * into tablenew from tableold 阅读全文
摘要:
rsync -avuP jdk1.8.0_202 root@192.168.1.68:/data 清理缓存 sync;sync;sync;echo 1 > /proc/sys/vm/drop_caches # 仅清除页面缓存sync;sync;sync;echo 2 > /proc/sys/vm/d 阅读全文
摘要:
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/rep 阅读全文
摘要:
linux7以上安装图形化 yum groupinstall -y "GNOME Desktop" "Graphical Administration Tools"systemctl get-defaultsystemctl set-default graphical.targetsystemctl 阅读全文
摘要:
pvcreate /dev/sdbvgcreate vg_nc /dev/sdblvcreate -l +100%FREE -n lv_nc vg_ncmkfs.xfs /dev/vg_nc/lv_ncmount /dev/vg_nc/lv_nc /nc xfs文件系统扩展vgextend vg_n 阅读全文
摘要:
在Oracle19C中,账号分为两种,一种是公用账号,一种是本地账号。共有账号是指在CDB下创建,并在全部PDB中生效的账号,另一种是在PDB中创建的账号 cdb下创建账户 create user C##ncc identified by ncc; 查看监听 Services Summary...S 阅读全文
摘要:
现场同事告知oracle 19C 下生产大量trc文件,把oracle目录撑爆 查看trc文件如下 kqrpre: key mismatch po=0x132745948 hash=27d744ca SO: 0x12a9d2098, type: row cache enqueues (111), m 阅读全文