摘要: --查看死锁进程spid sp_who2 active --进程持续排行cpu: SELECT * FROM sys.sysprocesses order by cpu desc --查询造成阻塞或死锁的Sql语句: dbcc inputbuffer(520) --查看数据库列表 select* f 阅读全文
posted @ 2023-06-25 17:12 LoneRanger_WDY 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 参考原文:https://blog.csdn.net/qq243348167/article/details/124243810 第一步需开启组件 开启组件 sp_configure 'show advanced options', 1; GO RECONFIGURE; GO sp_configur 阅读全文
posted @ 2022-11-18 14:51 LoneRanger_WDY 阅读(1121) 评论(0) 推荐(0) 编辑
摘要: 转自官方文档:https://learn.microsoft.com/zh-cn/troubleshoot/sql/performance/troubleshoot-high-cpu-usage-issues 适用于: SQL Server 本文提供了诊断和修复运行 Microsoft SQL Se 阅读全文
posted @ 2022-11-15 09:18 LoneRanger_WDY 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 摘自:http://t.zoukankan.com/gsk99-p-4934389.html C# 依赖注入 & MEF参考:https://www.cnblogs.com/onegarden/p/10383056.html MEF(Managed Extensibility Framework)是 阅读全文
posted @ 2022-11-11 10:51 LoneRanger_WDY 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.lmlphp.com/user/1222/article/item/15683/ 概述 本篇文章主要讲述分布式ID生成算法中最出名的Snowflake算法。搞.NET开发的,数据库主键最常见的就是int类型的自增主键和GUID类型的uniqueidentifier。那么 阅读全文
posted @ 2022-09-07 11:58 LoneRanger_WDY 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 转:https://www.cnblogs.com/huangrenhui/p/12580966.html 阅读全文
posted @ 2021-09-29 10:10 LoneRanger_WDY 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/qq_43542583/article/details/104727063 EF core DBFirst for Mysql一、NuGet 添加工具 二、生成数据库上下文输入如下命令 Scaffold-DbContext -Force "Ser 阅读全文
posted @ 2021-07-19 22:46 LoneRanger_WDY 阅读(67) 评论(0) 推荐(1) 编辑
摘要: 参考:https://www.php.cn/java/base/461818.html 1、expdp导出的时候,需要创建 DIRECTORY,不同的导出方式,导入的方式不一样(还有种imp导入) 导出什么表空间,导入也要什么表空间。导出什么用户,导入也要什么用户。 cmd->sqlplus—>sy 阅读全文
posted @ 2021-05-25 14:54 LoneRanger_WDY 阅读(1324) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/ckfuture/p/14516741.html https://www.jb51.net/article/207569.htm 什么是JWT JWT:Json web token (JWT), 是为了在网络应用环境间传递声明而执行的一种基于JS 阅读全文
posted @ 2021-04-05 22:00 LoneRanger_WDY 阅读(804) 评论(0) 推荐(1) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Dapper; using System.Data; u 阅读全文
posted @ 2020-09-11 14:10 LoneRanger_WDY 阅读(395) 评论(0) 推荐(0) 编辑