摘要: 参考文档 https://docs.docker.com/config/daemon/ 1.docker.20 docker版本20以后graph 修改成data-root { "api-cors-header":"", 在引擎API中设置CORS标头 "authorization-plugins" 阅读全文
posted @ 2023-09-26 17:24 hsuing 阅读(3) 评论(0) 推荐(0) 编辑
摘要: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7 阅读全文
posted @ 2023-09-26 17:03 hsuing 阅读(3) 评论(0) 推荐(0) 编辑
摘要: https://www.mongodb.com/docs/upcoming/reference/ulimit/ UNIX ulimit Settings Most UNIX-like operating systems, including Linux and macOS, provide ways 阅读全文
posted @ 2023-09-26 16:14 hsuing 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 1.文档 https://docs.docker.com/engine/install/centos/ https://docs.docker.com/engine/install/linux-postinstall/ 2.卸载旧版 yum remove -y docker \ docker-ce- 阅读全文
posted @ 2023-09-26 15:23 hsuing 阅读(4) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/bonelee/p/16728387.html * 工具下载 https://www.cnblogs.com/bonelee/p/16728449.html * 使用案例 https://www.cnblogs.com/hanstedt/article 阅读全文
posted @ 2023-06-08 11:25 hsuing 阅读(2) 评论(0) 推荐(0) 编辑
摘要: * 创建bat文件 ```bash @echo off cls color 0A chcp 437 >nul Echo ******************************************************************************* title 查看所有 阅读全文
posted @ 2023-06-07 17:01 hsuing 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 1.当前正在运行进程会话的请求信息 use DB_NAME set nocount on set transaction isolation level read uncommitted ;with cte as ( select t.session_id as spid,t.status,t.bl 阅读全文
posted @ 2023-04-21 18:18 hsuing 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 1.对查询进行优化,要尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。 2.应尽量避免在 where 子句中对字段进行 null 值判断,否则将导致引擎放弃使用索引而进行全表扫描,如: select id from t where num is null 最好不 阅读全文
posted @ 2023-04-21 15:27 hsuing 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 一、索引使用情况 1.查找缺失索引 use DB_name SELECT A.USER_SEEKS 查找次数,A.USER_SCANS 扫描次数, ROUND(A.AVG_TOTAL_USER_COST,2) 减少的用户查询的平均成本,A.AVG_USER_IMPACT 可能获得的平均百分比收益, 阅读全文
posted @ 2023-04-20 17:18 hsuing 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 7.死锁跟踪 产生死锁原因 1、session连接持有锁时间过长 2、锁数目过多 3、锁粒度过大 7.1利用服务器端跟踪 创建脚本 -- 针对那个库进行 use hantest go --创建跟踪文件返回值 declare @rc int --创建一个跟踪句柄 declare @TraceID in 阅读全文
posted @ 2023-04-19 15:16 hsuing 阅读(28) 评论(0) 推荐(0) 编辑