摘要: 关闭过程(CRS集群关闭->关闭数据库) 1.关闭数据库:用oracl用户执行srvctl命令 语法:srvctl stop database -d dbname [-o immediate] 作用:可以一次性关闭dbname的所有实例 [oracle@rac1 ~]$ srvctl stop da 阅读全文
posted @ 2024-06-23 18:06 chengxuyonghu 阅读(9) 评论(0) 推荐(0) 编辑
摘要: -- 开启事件调度器SET GLOBAL event_scheduler = ON;​-- 关闭事件调度器SET GLOBAL event_scheduler = OFF;​-- 查看事件调度器状态SHOW VARIABLES LIKE 'event_scheduler'; 注意:如果想要始终开启事 阅读全文
posted @ 2024-04-29 10:23 chengxuyonghu 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 原文出处:https://blog.51cto.com/u_16213577/7402163 https://mp.weixin.qq.com/s/zWRDlY5E2y8EDLZFpcwbFQ 主从复制原理 一共由三个线程完成 主服务将数据的更新记录保存到二进制日志--主服务器线程 从服务将主服务的 阅读全文
posted @ 2024-03-27 15:30 chengxuyonghu 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 原文出处:https://www.cnblogs.com/WoLykos/p/11585744.html 感谢作者分享 一、target——连接数据库 1、本地: [oracle@oracle ~]$ rman target / 2、远程: [oracle@oracle ~]$ rman targe 阅读全文
posted @ 2024-03-26 14:38 chengxuyonghu 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 原文出处:https://www.cnblogs.com/lcword/p/11775657.html 从物理与逻辑的角度来分类:从物理与逻辑的,备份可以分为物理备份和逻辑备份。 物理备份:对数据库操作系统的物理文件(数据文件,控制文件和日志文件)的备份。物理备份又可以分为脱机备份(冷备份)和联机备 阅读全文
posted @ 2024-03-26 14:21 chengxuyonghu 阅读(1020) 评论(0) 推荐(0) 编辑
摘要: 原文出处:https://zhuanlan.zhihu.com/p/670286778? 安装环境 java -version openjdk version "1.8.0_242" OpenJDK Runtime Environment (build 1.8.0_242-b08) OpenJDK 阅读全文
posted @ 2024-03-26 11:12 chengxuyonghu 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 原文出处:https://mp.weixin.qq.com/s?__biz=MzIxMjE5MTE1Nw==&mid=2653210914&idx=1&sn=eea58370ff1b9be8a2f428511cfa0049&chksm=8c99bbf8bbee32ee8c657c3c6cd7136e 阅读全文
posted @ 2024-03-26 10:01 chengxuyonghu 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 原文出处:https://blog.csdn.net/bjywxc/article/details/103308052 zabbix由2部分构成,zabbix server与可选组件zabbix agent,要想搭建一个Zabbix的工作环境,主要有三个方面(界面、服务器和数据库)可以安装在同一台服 阅读全文
posted @ 2024-03-26 09:24 chengxuyonghu 阅读(706) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/Mr_JinRui/archive/2011/05/27/2060109.html oracle 列转行 1.新建一个名为TEST表 2.向TEST表中添加数据 INSERT INTO TEST(STUDENT,COURSE,SCORE)sele 阅读全文
posted @ 2024-03-12 11:27 chengxuyonghu 阅读(84) 评论(0) 推荐(0) 编辑
摘要: oracle查询用户下的所有表 select * from all_tab_comments -- 查询所有用户的表,视图等select * from user_tab_comments -- 查询本用户的表,视图等select * from all_col_comments --查询所有用户的表的 阅读全文
posted @ 2024-03-12 11:24 chengxuyonghu 阅读(216) 评论(0) 推荐(0) 编辑