摘要: 现在,我们来定义一个函数,fight。这个函数需要3个参数,color,time,o,分别是颜色、时间、某个对象。 def fight(color,t,o): print(f'我们出生在{color}方阵营') print(f'敌军还有{t}秒到达战场') print(f'{o}出击') 玩过mob 阅读全文
posted @ 2024-08-14 17:20 chengxuyonghu 阅读(5) 评论(0) 推荐(0) 编辑
摘要: JDBC 下载链接: https://www.oracle.com/database/technologies/appdev/jdbc-downloads.html 阅读全文
posted @ 2024-07-31 11:14 chengxuyonghu 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 关闭过程(CRS集群关闭->关闭数据库) 1.关闭数据库:用oracl用户执行srvctl命令 语法:srvctl stop database -d dbname [-o immediate] 作用:可以一次性关闭dbname的所有实例 [oracle@rac1 ~]$ srvctl stop da 阅读全文
posted @ 2024-06-23 18:06 chengxuyonghu 阅读(92) 评论(0) 推荐(0) 编辑
摘要: -- 开启事件调度器SET GLOBAL event_scheduler = ON;​-- 关闭事件调度器SET GLOBAL event_scheduler = OFF;​-- 查看事件调度器状态SHOW VARIABLES LIKE 'event_scheduler'; 注意:如果想要始终开启事 阅读全文
posted @ 2024-04-29 10:23 chengxuyonghu 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 原文出处:https://blog.51cto.com/u_16213577/7402163 https://mp.weixin.qq.com/s/zWRDlY5E2y8EDLZFpcwbFQ 主从复制原理 一共由三个线程完成 主服务将数据的更新记录保存到二进制日志--主服务器线程 从服务将主服务的 阅读全文
posted @ 2024-03-27 15:30 chengxuyonghu 阅读(206) 评论(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 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 原文出处:https://www.cnblogs.com/lcword/p/11775657.html 从物理与逻辑的角度来分类:从物理与逻辑的,备份可以分为物理备份和逻辑备份。 物理备份:对数据库操作系统的物理文件(数据文件,控制文件和日志文件)的备份。物理备份又可以分为脱机备份(冷备份)和联机备 阅读全文
posted @ 2024-03-26 14:21 chengxuyonghu 阅读(3043) 评论(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 阅读(150) 评论(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 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 原文出处:https://blog.csdn.net/bjywxc/article/details/103308052 zabbix由2部分构成,zabbix server与可选组件zabbix agent,要想搭建一个Zabbix的工作环境,主要有三个方面(界面、服务器和数据库)可以安装在同一台服 阅读全文
posted @ 2024-03-26 09:24 chengxuyonghu 阅读(1413) 评论(0) 推荐(0) 编辑