堡主大名花花

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 2 3 4 5 6 7 8 ··· 14 下一页

2017年12月26日

摘要: SELECT type as 'plan cache store', buckets_count FROM sys.dm_os_memory_cache_hash_tables WHERE type IN ('CACHESTORE_OBJCP', 'CACHESTORE_SQLCP'); SELEC 阅读全文
posted @ 2017-12-26 14:44 堡主大名花花 阅读(147) 评论(0) 推荐(0) 编辑

2017年12月23日

摘要: 索引使用率 select distinct db_name(database_id) as N'数据库名称', object_name(a.object_id) as N'表名', b.name N'索引名称', user_seeks N'用户索引查找次数', user_scans N'用户索引扫描 阅读全文
posted @ 2017-12-23 16:53 堡主大名花花 阅读(148) 评论(0) 推荐(0) 编辑

2017年12月6日

摘要: You have to either choose dir-monitoring and file-change-notification with its drawback of using SMB resources or periodic file attribute check with i 阅读全文
posted @ 2017-12-06 11:48 堡主大名花花 阅读(109) 评论(0) 推荐(0) 编辑

2017年11月1日

摘要: Environment.Exit(0); 阅读全文
posted @ 2017-11-01 22:06 堡主大名花花 阅读(156) 评论(0) 推荐(0) 编辑

摘要: 原创地址:http://www.cnblogs.com/jfzhu/p/3705703.html 转载请注明出处 和数据库建立一个物理连接是一个很耗时的任务,所以无论是ADO.NET还是J2EE都提供了一个连接池的技术。 一个池其实就是一个列表。在ADO.NET中,有一个Connection Man 阅读全文
posted @ 2017-11-01 20:25 堡主大名花花 阅读(322) 评论(0) 推荐(0) 编辑

2017年10月17日

摘要: SELECT COUNT(1) FROM [sys].[fn_dblog](NULL,NULL) 阅读全文
posted @ 2017-10-17 16:10 堡主大名花花 阅读(150) 评论(0) 推荐(0) 编辑

2017年7月26日

摘要: create index StatisticsTagArea_AreaId on StatisticsTagArea(AreaId) include(TagId) drop index StatisticsTagArea_AreaId on StatisticsTagArea create inde 阅读全文
posted @ 2017-07-26 21:07 堡主大名花花 阅读(142) 评论(0) 推荐(0) 编辑

2017年6月28日

摘要: select request_session_id spid, OBJECT_NAME(resource_associated_entity_id) tableName from sys.dm_tran_locks where resource_type='OBJECT' 阅读全文
posted @ 2017-06-28 15:38 堡主大名花花 阅读(117) 评论(0) 推荐(0) 编辑

摘要: sp_who可以返回如下信息: (可选参数LoginName, 或active代表活动会话数)Spid (系统进程ID)status (进程状态)loginame (用户登录名)hostname(用户主机名)blk (阻塞进程的SPID)dbname (进程正在使用的数据库名)Cmd (当前正在执行 阅读全文
posted @ 2017-06-28 15:34 堡主大名花花 阅读(556) 评论(0) 推荐(0) 编辑

摘要: select er.session_id, CAST(csql.text AS varchar(255)) AS CallingSQL from master.sys.dm_exec_requests er WITH (NOLOCK) CROSS APPLY fn_get_sql (er.sql_h 阅读全文
posted @ 2017-06-28 15:32 堡主大名花花 阅读(280) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 14 下一页