上一页 1 ··· 6 7 8 9 10 11 12 13 下一页
摘要: DownloadThe easiest (and recommended) way to install MongoDB is to use the pre-built binaries. Note: 64-bit is recommended, although you must have a 64-bit version of Windows to run that version.最好装在64位上,在32位模式运行时支持的最大文件尺寸为2GB32-bit binariesDownload and extract the 32-bit .zip. The "Production& 阅读全文
posted @ 2011-11-23 22:57 *新*新* 阅读(249) 评论(0) 推荐(0)
摘要: from http://www.mongodb.org/ Agile and Scalable 敏捷和可扩展MongoDB(from "humongous" ) is a scalable, high-performance, open source, document-oriented database. Written in C++, MongoDB features:MongoDB 来自单词 humongous[hju:'mɔŋgəs] adj. <俚>极大的, 其大无比的,是一种可扩展,高性能,开源,面向文件的数据库。开发语言是c++,特性有:D 阅读全文
posted @ 2011-11-23 20:45 *新*新* 阅读(218) 评论(0) 推荐(0)
摘要: 昨天参加微软主办东方瑞通承办的SQL Server 2012新特性的讲座,讲的很不错,可惜时间太短,后面没有前面讲的细。下面是一些分享笔记当前已有的SQL Server HA关键技术数据库镜像: 灾备. 镜像库不可读. ODBC数据源不可,需Ado.net 2.0以上,程序中failover partner=镜像地址.可建snapshot解决不可读. 镜像方式对主服务器性能有影响.故障转移群集: 备份机器和主机共用一个存储, cluster方式 备份机器基本闲置, 因此备份机器可以使用较低配置. 必须使用域环境.日志传送: 主机定期备份到一个位置, 将log备份拷备到备份机器,对主机性能无影响 阅读全文
posted @ 2011-10-19 16:28 *新*新* 阅读(3340) 评论(2) 推荐(0)
摘要: --------------Program.csusingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Data;usingSystem.IO;usingSystem.Collections;usingSystem.Configuration;namespaceTest{classProgram{staticvoidMain(string[]args){ReadFilerf=newReadFile();string[,]str=null;str=rf.ReadFileTo 阅读全文
posted @ 2011-08-16 23:21 *新*新* 阅读(288) 评论(0) 推荐(0)
摘要: 1. FileStream是一个较为底层的类,只能简单地读文件到缓存区,而StreamReader封装了一些高级方法如ReadLine()2. FileStream可读可写,而StreamReader只能读不能写3. FileStream不能指定编码(因为它看到的只是文件的二进制形式,当然无所谓编码),而StreamReader可以指定编码,一旦指定就不允许再更改,因此编码指定是放在它的构造方法里的。默认编码为System.Text.UTF8Encoding,实际上,在StreamReader的构造方法里,它会对文件进行编码检查,当然也可以不让它检查。4. 若对是对二进制文件进行操作,最好使用 阅读全文
posted @ 2011-08-16 17:57 *新*新* 阅读(2644) 评论(0) 推荐(1)
摘要: 配置文件内容格式:(app.config)<?xml version="1.0" encoding="utf-8" ?><configuration><appSettings> <add key="DemoKey" value="*" /></appSettings></configuration>读语句: String str = ConfigurationManager.AppSettings["DemoKey"];写语 阅读全文
posted @ 2011-08-16 17:55 *新*新* 阅读(235) 评论(0) 推荐(0)
摘要: Add file后最好马上重启SQL Server服务,否则数据会把旧的数据文件所在磁盘写满后,才开始写新的数据文件。sys.database_files这个系统表也查不到相应的记录。重启SQL Server服务后,sys.database_files能够马上有新加的数据文件的记录。数据会按照磁盘剩余空间的比例分别写两个数据文件。微软应该是没有建议重启服务的,看来改系统层次的东西,不管要不要求,都最好重启一下~~下面是测试代码create table test(id int,name varchar(200))declare @sum intset @sum=20000while(@sum&g 阅读全文
posted @ 2011-05-03 18:22 *新*新* 阅读(1031) 评论(0) 推荐(0)
摘要: 甲乙打乒乓球,比分是10比9,问甲赢乙的概率是多少? 阅读全文
posted @ 2010-08-23 11:49 *新*新* 阅读(212) 评论(0) 推荐(0)
摘要: from:http://weblogs.asp.net/cabhilash/archive/2010/04/07/login-failed-for-user-sa-because-the-account-is-currently-locked-out-the-system-administrator-can-unlock-it.aspxLogin failed for user 'sa' beca... 阅读全文
posted @ 2010-08-20 10:27 *新*新* 阅读(4559) 评论(0) 推荐(0)
摘要: 该模式对大容量加载操作最小记录,使事务日志不会被大容量加载操作所填充。但最小记录有若干限定。例如,如果被大容量加载的表已经有数据了,并且有一个聚集索引,则该大容量加载被完整记录,哪怕数据库使用大容量日志恢复模式。 确保最小记录大容量日志恢复模式用来最小化大容量加载期间的事务膨胀。然而,重要的一点务必记住,仅仅将恢复模式设置为大容量日志恢复模式是不够的。为了实现最小记录,还必须满足其它条件,以下条件... 阅读全文
posted @ 2010-08-15 15:26 *新*新* 阅读(489) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 下一页