上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 22 下一页
摘要: CREATE PROCEDURE [dbo].[sp_who_lock] AS BEGIN DECLARE @spid INT , @bl INT , @intTransactionCountOnEntry INT , @intRowcount INT , @intCountProperties I 阅读全文
posted @ 2023-03-29 16:28 刚好遇见Mysql 阅读(67) 评论(0) 推荐(0)
摘要: 1、查看kwr插件是否安装 ksql -U system ncdb \dx 如果没有kwr插件安装 CREATE EXTENSION sys_kwr; 关闭数据库 2、修改kingbase.conf参数 track_counts = on track_sql = on track_io_timing 阅读全文
posted @ 2023-03-29 15:57 刚好遇见Mysql 阅读(318) 评论(0) 推荐(0)
摘要: 查找阻塞者和被阻塞 SELECT blocking_activity.datname as "数据库", blocking_activity.application_name as "持锁会话程序名", blocking_activity.client_addr as "持锁会话地址", now() 阅读全文
posted @ 2023-03-29 14:54 刚好遇见Mysql 阅读(522) 评论(0) 推荐(0)
摘要: explain analyze verbose select * from t2,t3 where t2.n1=t3.n2; QUERY PLAN Merge Join (cost=85.58..257.60 rows=6950 width=82) (actual time=0.029..0.031 阅读全文
posted @ 2023-03-27 18:33 刚好遇见Mysql 阅读(48) 评论(0) 推荐(0)
摘要: 出以上错误可以单独重启crsd服务,不影响数据库正常使用 [root@ht02 ~]# /u01/app/grid/bin/crsctl stop res ora.crsd -init -fCRS-2673: Attempting to stop 'ora.crsd' on 'ht02'CRS-26 阅读全文
posted @ 2023-03-23 14:49 刚好遇见Mysql 阅读(533) 评论(0) 推荐(0)
摘要: was 启动 和 关闭[root@nc01 ~]# cat was.shsh /app/IBM/WebSphere/AppServer/profiles/Dmgr01/bin/startManager.shsh /app/IBM/WebSphere/AppServer/profiles/App65/ 阅读全文
posted @ 2023-03-20 17:10 刚好遇见Mysql 阅读(103) 评论(0) 推荐(0)
摘要: -- 查看自动清理,过期天数 mysql> show variables like 'expire_logs_days';+ + +| Variable_name | Value |+ + +| expire_logs_days | 5 |+ + + -- 查看日志 show master logs 阅读全文
posted @ 2023-03-20 10:05 刚好遇见Mysql 阅读(46) 评论(0) 推荐(0)
摘要: mysql强制使用索引:force index(索引名或者主键PRI) select * from table force index(PRI,idx1) limit 2; mysql禁止某个索引:ignore index(索引名或者主键PRI) select * from table ignore 阅读全文
posted @ 2023-03-18 13:58 刚好遇见Mysql 阅读(110) 评论(0) 推荐(0)
摘要: backend 客户发起的会话进程后台进程进程 描述background writer 在这个过程中,共享缓冲池中的脏页会被逐步地定期写入持久存储(例如,HDD、SSD)。checkpointer 负责执行checkpoint。autovacuum launcher 负责执行autovacuum。W 阅读全文
posted @ 2023-02-14 09:56 刚好遇见Mysql 阅读(95) 评论(0) 推荐(0)
摘要: SELECT indx, ksuprpnm, TO_CHAR(ksuprflg, 'XXXXXXXXXXXXXXXX'), KSUPROSIDFROM x$ksuprWHERE BITAND(ksuprflg, 4) != 4and KSUPROSID is not nullORDER BY ind 阅读全文
posted @ 2023-02-14 09:16 刚好遇见Mysql 阅读(29) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 22 下一页