上一页 1 2 3 4 5 6 7 8 9 ··· 24 下一页
摘要: ![](https://img2022.cnblogs.com/blog/925682/202206/925682-20220606114936938-599605184.png) 阅读全文
posted @ 2022-06-06 11:50 朕在coding 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/EricLeiy/article/details/120080197 阅读全文
posted @ 2022-05-31 15:13 朕在coding 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/happymagic/article/details/104806595 阅读全文
posted @ 2022-05-23 18:54 朕在coding 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 首先全局安装yarn npm install yarn -g 设置yarn的下载源为淘宝镜像 yarn config set registry https://registry.npm.taobao.org 官方镜像地址: https://registry.yarnpkg.com 查看镜像是否切设置 阅读全文
posted @ 2022-05-23 11:40 朕在coding 阅读(940) 评论(0) 推荐(0) 编辑
摘要: SELECT 索引名称=a.name ,表名=c.name ,索引字段名=d.name ,索引字段位置=d.colid FROM sysindexes a JOIN sysindexkeys b ON a.id=b.id AND a.indid=b.indid JOIN sysobjects c O 阅读全文
posted @ 2022-05-22 20:09 朕在coding 阅读(1198) 评论(0) 推荐(0) 编辑
摘要: 参考:https://wenku.baidu.com/view/94ca5e3056270722192e453610661ed9ad5155a7.html 项目⽬上有关某个表的数据总是性能不达标,分析后发现有条关于按条件count()数量的sql导致好⼏个功能性能很慢。 于是,做成了再内存中维护这个 阅读全文
posted @ 2022-05-22 20:08 朕在coding 阅读(639) 评论(0) 推荐(0) 编辑
摘要: --分析sql执行效率 set statistics time on;--打开时间统计 set statistics profile on --需要分析的sql select * from ... set statistics io off set statistics time off set s 阅读全文
posted @ 2022-05-22 20:04 朕在coding 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/firtree/p/3918844.html --查看表的索引使用情况 SELECT TOP 1000 o.name AS 表名 , i.name AS 索引名 , i.index_id AS 索引id , dm_ius.user_seeks A 阅读全文
posted @ 2022-05-22 19:23 朕在coding 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.csdn.net/tags/MtTaEg1sOTk1OTQ4LWJsb2cO0O0O.html 改善SQL语句 很多人不知道SQL语句在sql server中是如何执行的,他们担心自己所写的SQL语句会被SQL SERVER误解。比如: select * from ta 阅读全文
posted @ 2022-05-22 19:18 朕在coding 阅读(334) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/weixin_46867655/article/details/106330669 索引能加快速度,一般人都知道这个。 但是索引也有另一面,就是索引是有开销的,每次update、delete、insert表的时候,都会维护相应的索引,把值维护到索引中 阅读全文
posted @ 2022-05-22 18:49 朕在coding 阅读(2925) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 24 下一页