摘要:
最近打算向大数据进行,先是研究先Hadoop,发现需要做好的功课1. 需要先熟悉Linux环境,虽说是学校时期学过,不过早已经还给我们敬爱的老师了.~ 也挺怀念他的.. 都不记得姓什么了. .. >>_<<2. 还行去了解JAVA. 好吧,从.net转JAVA还是有难度。。。 努力。3. 最后就是英文了。。不要放弃,寻找机会。 阅读全文
摘要:
一、项目背景报表数据库已经投入使用了近4年,数据库的大小由当初的几M变成了2246676.88M,即约为2.2T,作为关系数据库中,TB级别使用起来相当不理想,报表用户提交一个查询请求,几乎无法返回结果。在此背景下,提出了对现有数据库进行按照日期进行分区,以提高数据库的性能。二、环境分析2.1 软硬件环境数据库版本:sql server 2008大小:2246676.88M排序规则:Chinese_FRC_CI_AS操作系统:windows server 2008 R2 for Itanium-Based Systems Service Pack 1CPU:32核,16个处理器,Itanium 阅读全文
摘要:
最近完成了一个SQL SERVER 表分区的小项目。学习不少内容。慢慢完善~ 阅读全文
摘要:
--方法1exec sp_MSforeachtable @command1="EXEC sp_spaceused '?'";会返回多个结果集,可能不是所希望的结果。进一步处理,参考方法2--方法2create table #tblResults([name] nvarchar(50), --注意有表名会长于50[rows] int,[reserved] varchar(18),[reserved_int] int default(0),[data] varchar(18),[data_int] int default(0),[index_size] varc 阅读全文
摘要:
Configure App.config Application Settings During MSI Installwritten by Rob Aquila on Wednesday, September 03 2008I have been recently working on a setup project in Visual Studio 2008 to deploy a windows application and wanted the ability for the user to enter in values during the install that would 阅读全文
摘要:
--建立測試環境Create Table A(ID Int,fatherID Int,NameVarchar(10))Insert A Select 1, NULL, 'tt'Union All Select 2, 1, 'aa'Union All Select 3, 1, 'bb'Union All Select 4, 2, 'cc'Union All Select 5, 2, 'gg'Unio... 阅读全文
摘要:
先看源代码:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<%dimlink1="http://"&Request.ServerVariables("SERVER_NAME")&"/sf"%><%ifddd=0t... 阅读全文
摘要:
服务组件是用符合 CLS 的语言创作的类,该类直接或间接从 System.EnterpriseServices.ServicedComponent 类派生。以此方式配置的类可以在 COM+ 应用程序中承载,并且可以通过 EnterpriseServices 命名空间使用 COM+ 服务。有关受支持的服务列表,请参见可用的 COM+ 服务摘要。COM+ 服务(例如自动事务处... 阅读全文
摘要:
Sql中查找数据库中,所有包含字段的表名select a.name as tablename,b.name as columnname from sysobjectsa left join syscolumns b on a.id=b.idwhere a.xtype='u' and a.status>=0 and b.name like'%columnname %' 阅读全文