• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






shanxia

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2025年9月15日

达梦7数据库锁超时问题处理
摘要: 达梦数据库查询锁等待的会话,执行alter的时候看一下哪些会话有等待 select * from from v$sessions where trx_id in (select wait_for_id from v$trxwait); 杀等待会话 sp_close_session(sess_id); 阅读全文
posted @ 2025-09-15 10:53 shanxia 阅读(72) 评论(0) 推荐(0)
 

2024年12月6日

shell查询日志中数值大于20000的所有记录
摘要: #!/bin/bash str='执行sql耗时:' grep 行sql耗时: dcloud-data-web.log| awk '{print $6}' |awk -F ':' '{print $2}' |awk '$1 >20000 {print $1}'| while read line do 阅读全文
posted @ 2024-12-06 11:05 shanxia 阅读(29) 评论(0) 推荐(0)
 

2024年9月2日

Mysql主从复制的原理
摘要: 当Mysql数据库执行数据的增删改操作时,会将这些事件记录到 二进制日志(binlog) 中,这些日志会被发送到每台从服务器上。在从服务器上有两个线程: IO线程和SQL 线程,IO 线程用于接收日志并将其转换为中继日志(relaylog);SQL线程将中继日志的内容进行应用。简而言之,Mysql的 阅读全文
posted @ 2024-09-02 15:35 shanxia 阅读(22) 评论(0) 推荐(0)
 

2023年12月15日

hive Metastore 启动报错 Version information not found in metastore报错处理
摘要: 修改 conf/hive-site.xml中的 hive.metastore.schema.verification 设置为false。 hive Metastore 启动报错 [main]: Metastore Thrift Server threw an exception... org.apa 阅读全文
posted @ 2023-12-15 16:05 shanxia 阅读(720) 评论(0) 推荐(0)
 

2023年8月21日

修改sga出现的故障
摘要: 修改sga参数只改了一个出现的故障 SQL> alter system set sga_max_size=3G scope=spfile; SQL> System altered. SQL> SQL> shutdown immediate Database closed. Database dism 阅读全文
posted @ 2023-08-21 17:36 shanxia 阅读(24) 评论(0) 推荐(0)
 
rac ora.erp61.vip FAILED OVER 或者rac故障节点vip地址查询不到了
摘要: [root@erp61 ~]# crsctl status res -t NAME TARGET STATE SERVER STATE_DETAILS Local Resources ora.DGDATA01.dg ONLINE ONLINE erp61 ONLINE ONLINE erp62 or 阅读全文
posted @ 2023-08-21 10:24 shanxia 阅读(242) 评论(0) 推荐(0)
 

2023年6月8日

源码安装redis-migrate-tool(redis数据迁移/复制工具)
摘要: 源码安装redis-migrate-tool redis-migrate-tool unzip redis-migrate-tool-master.zip cd redis-migrate-tool-master yum -y install automake libtool autoconf bz 阅读全文
posted @ 2023-06-08 21:44 shanxia 阅读(187) 评论(0) 推荐(0)
 
犯了低级错误,没有执行预编译 ./configure 就开始make了
摘要: 犯了低级错误,没有执行预编译 ./configure 就开始make了 make: *** No targets specified and no makefile found. Stop. 阅读全文
posted @ 2023-06-08 21:23 shanxia 阅读(40) 评论(0) 推荐(0)
 

2022年10月8日

rac数据库,数据文件误添加到文件系统,被删除。恢复被删除的数据文件 并将数据文件路径改存储到ASM存储
摘要: 恢复被删除的数据文件 并将数据文件路径改存储到ASM存储 create tablespace shanxia01 datafile '/home/oracle/shanxia01.dbf' size 50M;create user shanxia01 identified by shanxia01 阅读全文
posted @ 2022-10-08 11:34 shanxia 阅读(32) 评论(0) 推荐(0)
 

2022年9月6日

OGG-06591 Reading the output trail rescan from the file header to recover
摘要: OGG-06591 Reading the output trail rescan from the file header to recover Omohei Member Posts: 170 Blue Ribbon Feb 21, 2018 2:24AM edited Feb 25, 2018 阅读全文
posted @ 2022-09-06 17:48 shanxia 阅读(307) 评论(0) 推荐(0)
 
下一页