The smallwig theory of optimization》的相关内容

关系数据库性能问题

关系数据库性能问题 一、任务描述 工作中的一个数据批量任务,涉及到4张基本表和4张业务数据表。 基本表 (Basic Table) 数据量不大,每个表最多几百条记录;业务表 (Transaction Table) 数据量较大,每个表有几十万条记录。 以前的版本使用OO(O/R ?)方式, (1) SQL查询数据库选出一个业务表的数据,每条记录映射为一个Object。 (2) 循环每个Obj ...
by buaawhl 2005-01-21 浏览 (11568) 回复 (12) 关键字:

Are we doing O/R mapping wrong?

Playing with JDO 2 fetch groups, ZODB, thinking about TranQL (for two months now), playing with Prevayler, and looking at TORPEDO (need to run OJB against it when I have a chance) something clicked fo ...
by yyanghhong 2004-10-05 浏览 (2085) 回复 (3) 关键字:

Ruby DSL

http://forum.javaeye.com/viewtopic.php?p=128602#128602 potian 写道 macro没有利用任何反射能力,和类型也没有关系 Lisp macro(我只知道Common Lisp)的macro主要是开放编译器内部的结构,把词法分析、语法分析和语义分析和执行中间割裂(不过S-Expression非常简单,基本上没有语法),Lisp的S-expr ...
by buaawhl 2006-07-12 浏览 (9963) 回复 (10) 关键字:

the paint points of xaml

Pain Point 1: XAML always create the controls by its default constructor This means, you need to have a default constructor for you control, and the constructor will always be used by XAML. So, you c ...
by taowen 2008-01-16 浏览 (720) 回复 (0) 关键字:

数据库大批量数据插入的性能优化问题

情况是这样的: 用户要在页面上提交或指定服务器上的一个数据文件,然后后台程序对这个数据文件进行分析。分析过程类似字符串匹配,会生成大量的数据,要插入到数据库里面,这里就产生了性能问题。目前在实现上采用spring+hibernate+mysql,PO有两个简单的多对一单向关联。我自己测试了一个174K的数据文件,总共产生一万两千条记录。本来要近10分钟,现在已经减少到20秒以内。已经做了如下的一些 ...
by de3light 2004-12-02 浏览 (2408) 回复 (9) 关键字:

[Java细节]"hi there".equals("cheers !") == true

不知道这个标题是否让读者产生一种想打我的冲动。至少今天我的主管被我用这个小把戏诧异了一把,当他看到"hi there".equals("cheers !") 的结果居然是true时,脸上的表情实在是可爱。OK,言归正传。System.out.println("hi there".equals("cheers !")); 这个看来再显然不过的句子,输出的结果居然是true。聪明的读者,你知道是为什么 ...
by softstone 2003-05-30 浏览 (28) 回复 (0) 关键字:

[转]Why thou shall not use Skype!

Why thou shall not use Skype! (ahora en castellano también) This is a blog focused on FOSS so I shouldn't be talking too much about proprietary stuff. The only problem is not too much that Skype is ...
by liuwangxia 2006-09-30 浏览 (492) 回复 (0) 关键字:

Flex With Spring [转]

来源:  http://coenraets.org/flex-spring       What is Spring?Spring is one of the most popular Java frameworks. The foundation ofthe Spring framework is a lightweight comp ...
by mikel 2007-11-23 浏览 (1299) 回复 (1)

Action english

Action english 是CCTV-SIX 的一个英语节目,感觉很不错
by youlong05 2007-04-23 浏览 (1455) 回复 (5)

The Problem with Programming

转自: http://www.techreview.com/InfoTech/17831/page1/ Bjarne Stroustrup, the inventor of the C++ programming language, defends his legacy and examines what's wrong with most software code. 引用 In the 1 ...
by qiezi 2006-12-06 浏览 (1110) 回复 (2)

(共享)Enjoying Web Development with Tapestry三个版本(免费前四章)

网站:http://www.agileskills2.org/EWDT/ 介绍: How to create AJAX web-based application easily? If you'd like to create AJAX web-based applications easily, then this book is for you. More importantly, it s ...
by tapestry 2007-02-02 浏览 (993) 回复 (0)

推荐一首nba music--remember the name

共享区可以下载 这里有个mv: http://bbs.hoopchina.com/htm_data/18/0609/122591.html ------- You ready? Lets go Yeah For those who wanna know what we're all about Its like this y'all 15% conncentrated power of wi ...
by eyejava 2006-11-07 浏览 (2207) 回复 (0)

新编程语言:C--

官方网站:http://www.cminusminus.org 引用:介绍:C-- 语言是一个编译器的目标语言。该想法是一种一个高层次的语言编译器,转换程序进入到C --语言,使得C--编译器产生本土代码。 1 Introduction C-- is a compiler-target language. The idea is that a compiler for a high-le ...
by jejwe 2008-02-10 浏览 (1337) 回复 (0) 关键字: c--

[转] JRuby 1.0.0RC3 Released!

转自: http://docs.codehaus.org/display/JRUBY/2007/06/02/JRuby+1.0.0RC3+Released%21 The JRuby community is pleased to announce the release of JRuby 1.0.0RC3. Homepage: http://www.jruby.org/ Download: h ...
by liuwangxia 2007-06-04 浏览 (450) 回复 (1) 关键字: jruby

Uncle Bob新书Clean Code

Robert C. Martin最近的新书《Clean Code》即将由Prentice Hall出版社出版。 目录如下: Clean Code    1     There Will Be Code    1     Bad Code    2 ...
by samuelray 2008-04-08 浏览 (525) 回复 (2) 关键字: clean code

相关问答

赞助商链接