SQL Server essence

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2009年11月18日

摘要: 存储过程一方面减少网络数据流量,提高数据处理效率;另一方面在数据库层面进行事务处理和控制比在应用程序中使用分布式事务更高效、占用的资源更少;还有一个就是灵活性问题,设计良好的存储过程,当业务逻辑或规则发生变化时,可以不用修改软件代码,只需修改存储过程即可,这对于用户和软件开发商来讲,可以降低维护成本和升级花费;另外,扩展开来还有一个系统健壮性和安全性问题,在非电信级商业网络环境中(比如:大多数企业... 阅读全文
posted @ 2009-11-18 16:32 天蝎 阅读(181) 评论(0) 推荐(0) 编辑

摘要: SOA是Service Oriented Architecture的简称,中文译为“面向服务的体系架构”。与传统技术相比,SOA从业务着眼,基于标准化的技术手段,以“服务”为基本元素来构建或整合适合于各行业应用需求的信息系统,提高信息系统的开发效率、充分整合和复用IT资源、并使信息系统能灵活快速的响应业务变化需求。  从技术的角度来看,SOA对软件开... 阅读全文
posted @ 2009-11-18 16:19 天蝎 阅读(1710) 评论(0) 推荐(0) 编辑

2009年9月3日

摘要: Orignal link: http://www.simple-talk.com/sql/database-administration/the-dba-as-detective-troubleshooting-locking-and-blocking/In this article, taken from Chapter 5 of his great new book, SQL Server T... 阅读全文
posted @ 2009-09-03 14:23 天蝎 阅读(575) 评论(0) 推荐(0) 编辑

2009年9月2日

摘要: 锁的概述   一. 为什么要引入锁   多个用户同时对数据库的并发操作时会带来以下数据不一致的问题:   丢失更新   A,B两个用户读同一数据并进行修改,其中一个用户的修改结果破坏了另一个修改的结果,比如订票系统   脏读   A用户修改了数据,随后B用户又读出该数据,但A用户因为某些原因取消了对数据的修改,数据恢复原值,此时B得到的数据就与数据库内的数据产生了不一致   不可重复读   A用户... 阅读全文
posted @ 2009-09-02 15:17 天蝎 阅读(173) 评论(0) 推荐(0) 编辑

2009年8月20日

摘要: Original link: http://www.mssqlcity.com/Articles/Adm/SQL70Roles.htmIntroductionRoles are the new SQL Server 7.0 feature, which was not available in the previous versions. SQL Server roles act like Win... 阅读全文
posted @ 2009-08-20 17:07 天蝎 阅读(610) 评论(0) 推荐(0) 编辑

2009年8月5日

摘要: Q:Environment: SQLEXPRESSwithstart account of Network Service, SQLCMD tool.When run following BCPutility with XP_cmdshell environment, it willreport login failure:--1, turn on 'xp_cmdshell'use masterg... 阅读全文
posted @ 2009-08-05 16:35 天蝎 阅读(288) 评论(0) 推荐(0) 编辑

2009年7月28日

摘要: Original link: http://sqlinthewild.co.za/index.php/2007/09/04/execution-plans-estimated-vs-actual/This is the second post on execution plans. I’m going to briefly discuss estimated execution pla... 阅读全文
posted @ 2009-07-28 16:43 天蝎 阅读(418) 评论(0) 推荐(0) 编辑

2009年7月27日

摘要: The best place to start for analysing and resolving performance issues are these two articles by Gail.http://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-p... 阅读全文
posted @ 2009-07-27 17:29 天蝎 阅读(141) 评论(0) 推荐(0) 编辑

2009年7月24日

摘要: ProblemOne of the junior SQL Server Database Administrators in my company approached me yesterday with a dilemma. He want to know how to enabled the Dedicated Administrator Connection in SQL Server 20... 阅读全文
posted @ 2009-07-24 20:35 天蝎 阅读(504) 评论(0) 推荐(0) 编辑

2009年7月17日

摘要: 在.NET平台下,程序集并没有直接承载在进程中(而传统的win32程序是直接承载的)。实际上.NET可执行程序承载在进程的一个逻辑分区中,术语称为应用程序域(也称AppDomain)。可见,一个进程可以包含多个应用程序域,每一个应用程序域中承载一个.NET可执行程序,这样的好处如下: 应用程序域是.NET平台操作系统独立性的关键特性。这种逻辑分区将不同操作系统加载可执行程序的差异抽象化了。 和一个... 阅读全文
posted @ 2009-07-17 10:52 天蝎 阅读(267) 评论(0) 推荐(0) 编辑