随笔分类 -  SQL

SQL相关
摘要:系统环境:windows 2003 enp sp2(32bit,自动更新、补丁齐),原12G内存,现48G内存,系统能识别全部内存,未加pae参数。原12G内存时,测试过不管是否加pae参 数,都可以识别12G内存,经查可能是因为内存支持热插拔时不需要加pae参数。sql server developer sp4(32bit,8.00.2282)原12G内存时,设置max server memory (MB) 为11G,“sql server:内存管理器”可以看到“目标服务器内存”、“总服务器内存”都为11G。加到48G内存后,设置全部自动使用,组策略里已设置有内存锁定权限。重启服务器,则sq 阅读全文
posted @ 2012-09-28 11:10 不能飚车 阅读(4275) 评论(0) 推荐(0)
摘要:Some Useful Undocumented SQL Server 7.0 and 2000 DBCC Commands Alexander Chigrik chigrik@mssqlcity.comIntroduction In this article, I want to tell you about some useful undocumented DBCC commands, and... 阅读全文
posted @ 2010-08-19 09:52 不能飚车 阅读(481) 评论(1) 推荐(0)
摘要:--//清空日志checkpoint--//查看数据库日志select * from ::fn_dblog(null,null)select * from ::fn_dblog(null,null) where [current lsn]>='000001ae:00000074:0001' and [current lsn]<= '000001ae:00000085:0005'--//... 阅读全文
posted @ 2010-08-19 09:49 不能飚车 阅读(1788) 评论(0) 推荐(0)