摘要: 脚本 select trunc(t.first_time) "Date", to_char(t.first_time, 'DY') "Day", count(1), sum(decode(to_char(first_time, 'HH24'), '00',1,0)) "H0", sum(decode 阅读全文
posted @ 2024-07-26 18:04 DBer_ablewang 阅读(1) 评论(0) 推荐(0) 编辑
摘要: - Sets kernel parameters, if necessary, to values required for successful installation, including: - Shared memory parameters. - Open file descriptor 阅读全文
posted @ 2024-07-05 08:50 DBer_ablewang 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1. 查看当前的undo模式 SELECT PROPERTY_NAME, PROPERTY_VALUE FROM DATABASE_PROPERTIES WHERE PROPERTY_NAME = 'LOCAL_UNDO_ENABLED'; #True表示本地模式,False表示共享模式 2. 切换 阅读全文
posted @ 2024-07-04 20:53 DBer_ablewang 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1. Oracle Components Automatically Restarted by Oracle Restart ComponentNotes Database instance Oracle Restart can accommodate multiple databases on a 阅读全文
posted @ 2024-07-04 18:16 DBer_ablewang 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 0.补丁基础知识 1).补丁发布链接 https://www.oracle.com/security-alerts/ 2)补丁类型 One-off补丁: 定义:解决特定问题的小型补丁,不包含在常规补丁集中。 特点:用于快速修复特定问题,通常针对特定客户需求发布。 应用场景:紧急修复或特殊问题的解决。 阅读全文
posted @ 2024-06-30 11:48 DBer_ablewang 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 1.设定json文件 set @ddl_filter=' { "filter": { "class": { "name": "general", "event": { "name": "status", "log": { "and": [ { "or": [ {"field": { "name": 阅读全文
posted @ 2024-06-25 15:05 DBer_ablewang 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 1.准备机器 #关闭防火墙 systemctl stop firewalld systemctl disable firewalld #关闭selinux #安装依赖 yum -y install unzip yum search libaio yum install libaio #在oracle 阅读全文
posted @ 2024-06-25 14:52 DBer_ablewang 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 1. 升级 升级的时候应该先升级replica 如果source使用的语句和依赖的行为在replica上不支持,即使replica已经升级成功也会导致复制出现问题 对5.7和8.0版本可以使用工具util.checkForServerUpgrade()来检查升级需要解决的一些问题,然后依个解决 a) 阅读全文
posted @ 2024-06-25 13:52 DBer_ablewang 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1. DELETE operation is an expensive operation due to the following reasons: it causes the records to be locked as part of the transaction executing th 阅读全文
posted @ 2024-06-25 13:49 DBer_ablewang 阅读(2) 评论(0) 推荐(0) 编辑
摘要: mysqld-auto.cnf ,持久化配置参数文件(位于DATA目录)(mysqld-auto.cnf 中的变量如果和my.cnf相同则使用mysqld-auto.conf中的) 命令行输入的配置参数 代码中指定配置文件 my.cnf中的配置参数 命令行输入配置文件 my.cnf中的配置参数 /e 阅读全文
posted @ 2024-06-25 13:48 DBer_ablewang 阅读(2) 评论(0) 推荐(0) 编辑