海阔天高
自我介绍
切换风格
订阅我的Blog
博客日历
文章归档...
最新发表...
博客统计...
网站链接...
资源
===========================================================
生成目录树方法
===========================================================

1, 在自己的电脑上(服务器上此方法不能使用),打开运行,输入"cmd".

2, 执行下面这条语句,可以更新目录文本。

tree "
ComputerNameh$Path" /f /a > .txtComputerNameh$PathDirectory

3, 回车运行,就可以在这个目录下生成最新的目录树文件-- Directory.txt。


kitesky 发表于:2012.05.15 16:08 ::分类: ( 未分类 ) ::阅读:(12次) :: 评论 (0) :: 引用 (0)
===========================================================
关系型数据库性能测试参考指标----SQL Server
===========================================================
注:以下指标取自SQL Server自身提供的性能计数器。

 查看全文

kitesky 发表于:2012.03.24 14:37 ::分类: ( SQL Server ) ::阅读:(411次) :: 评论 (0) :: 引用 (0)
===========================================================
PHP开发工具、开发环境汇总
===========================================================

http://www.oschina.net/project/lang/22/php

 查看全文

kitesky 发表于:2012.02.04 00:29 ::分类: ( PHP ) ::阅读:(3628次) :: 评论 (0) :: 引用 (0)
===========================================================
主流NoSQL数据库Redis专题
===========================================================
http://www.it168.com/redian/redis/index.html
kitesky 发表于:2012.02.04 00:28 ::分类: ( NoSQL ) ::阅读:(154次) :: 评论 (0) :: 引用 (0)
===========================================================
The DBA as Detective: Troubleshooting Locking and Blocking
===========================================================

In this article I demonstrated how I go about detecting SQL Server problems in the form of excessive locking, and blocking. While this is a good start for the DBA detective, there is much more ground to cover. I mentioned CPU and I/O in this article only peripherally, as it relates to problem code. In my book, I continue on the path of analyzing performance issues, but extend this topic to explain how to make sure you get notified immediately of performance, and other, issues.

After all, if you do not know about the problem, you can't fix it. I would much rather be notified of a potential issue from a system that is monitoring such events than from an irate application user, or from the Help Desk. Granted, you will be hard pressed to totally escape emails from users and that is OK, generally they are understanding. It is their bosses that are not. If you can find and fix, or even just report, an issue before anyone else, it appears that you are ahead of the game. And you are … you are a DBA after all.

  • System tables versus DMVs

  • Tracking down database performance issues

  • Using sp_who2

  • Who is running the query?

  • DBCC: What is the query doing?

  • Killing the offending query

  • Using sp_lock

  • Automating discovery of problems

 查看全文
kitesky 发表于:2012.02.03 11:09 ::分类: ( SQL Server ) ::阅读:(138次) :: 评论 (0) :: 引用 (0)
===========================================================
数据类型和JSON格式
===========================================================

JSON 非常易学易用。所以,在短短几年中,它就取代xml,成为了互联网上最受欢迎的数据交换格式。

JSON 已经是 JavaScript 标准的一部分。目前,主流的浏览器对 JSON 支持都非常完善。应用 JSON,我们可以从 XML 的解析中摆脱出来,对那些应用 Ajax 的 Web 2.0 网站来说,JSON 确实是目前最灵活的轻量级方案。

 查看全文
kitesky 发表于:2012.02.02 01:14 ::分类: ( 未分类 ) ::阅读:(88次) :: 评论 (0) :: 引用 (0)
===========================================================
MySQL表名区分大小写
===========================================================

可以强制以 -O lower_case_table_names=1 参数启动 mysqld(如果使用 --defaults-file=...my.cnf 参数来读取指定的配置文件启动 mysqld 的话,你需要在配置文件的 [mysqld] 区段下增加一行 lower_case_table_names=1)。这样MySQL 将在创建与查找时将所有的表名自动转换为小写字符

(这个选项缺省地在 Windows 中为 1 ,在 Unix 中为 0。从 MySQL 4.0.2 开始,这个选项同样适用于数据库名)。

 查看全文
kitesky 发表于:2012.02.01 17:21 ::分类: ( 其他DB ) ::阅读:(129次) :: 评论 (0) :: 引用 (0)
===========================================================
Checklist: SQL Server Performance
===========================================================
http://msdn.microsoft.com/en-us/library/ff647681.aspx 查看全文
kitesky 发表于:2012.01.18 15:26 ::分类: ( SQL Server ) ::阅读:(13794次) :: 评论 (0) :: 引用 (0)
===========================================================
连接字串中Database Mirroring的Failover Partner设置的说明
===========================================================
http://blogs.msdn.com/b/apgcdsd/archive/2011/05/13/database-mirroring-failover-partner.aspx 查看全文
kitesky 发表于:2012.01.13 00:11 ::分类: ( SQL Server ) ::阅读:(83次) :: 评论 (0) :: 引用 (0)
===========================================================
如何知道TSQL语句已经运行了多久
===========================================================
http://blogs.msdn.com/b/apgcdsd/archive/2011/05/06/tsql.aspx 查看全文
kitesky 发表于:2012.01.13 00:10 ::分类: ( SQL Server ) ::阅读:(107次) :: 评论 (0) :: 引用 (0)
===========================================================
分布式死锁的一个例子
===========================================================
http://blogs.msdn.com/b/apgcdsd/archive/2011/12/01/10243233.aspx
kitesky 发表于:2012.01.13 00:08 ::分类: ( SQL Server ) ::阅读:(80次) :: 评论 (0) :: 引用 (0)
===========================================================
简介数据库日志文件的增长
===========================================================


kitesky 发表于:2012.01.13 00:08 ::分类: ( SQL Server ) ::阅读:(92次) :: 评论 (0) :: 引用 (0)
===========================================================
如何有效抓取SQL Server的BLOCKING信息
===========================================================
http://blogs.msdn.com/b/apgcdsd/archive/2011/12/12/sql-server-blocking.aspx
kitesky 发表于:2012.01.13 00:07 ::分类: ( SQL Server ) ::阅读:(77次) :: 评论 (0) :: 引用 (0)
===========================================================
有关SQL server connection KeepAlive 的FAQ
===========================================================
http://blogs.msdn.com/b/apgcdsd/archive/2011/05/03/sql-server-connection-keepalive-faq.aspx 查看全文
kitesky 发表于:2012.01.13 00:05 ::分类: ( SQL Server ) ::阅读:(78次) :: 评论 (0) :: 引用 (0)
===========================================================
为什么生产环境会跑得比测试环境还慢
===========================================================
http://blogs.msdn.com/b/apgcdsd/archive/2011/09/20/10213797.aspx
kitesky 发表于:2012.01.13 00:04 ::分类: ( SQL Server ) ::阅读:(87次) :: 评论 (0) :: 引用 (0)