+" where da.sh=df.a5sh and da.account=df.a5zh and df.inputdate='"+fromDate+"'"
+" )"
+" group by customerid"
+" ) td1" //期初的存款
+" where Outerbalance1<>0 and tl1.applicantid=td1.customerid(+)"
+" ) t1,"
+" ("
+" select applicantid,balance2,Badbalance2,Outerbalance2,deposit2,Recognizance2"
+" from"
+" ("
+" select applicantid,sum(balance*isEquals(LType,'INNER')) as balance2,"
+" sum(BadBalance*isEquals(LType,'INNER')) as Badbalance2,"
+" sum(balance*isEquals(LType,'OUTER')) as Outerbalance2"
+" from("
+" select applicantid,bh.balance as balance,"
+" bh.overdueBalance+bh.dullBalance+bh.badBalance as BadBalance,"
+" Decode(substr(loanassetType,1,2),'1','INNER','01','INNER','03','OUTER','OUTER') as LType"
+" from business_putout bp,business_history bh"
+" where bp.applicantid is not null "
+ sCondition
+" and (substr(bp.loanAssetType,1,2)<>'04' or bp.loanAssetType is null) "
+" and bp.loanaccount=bh.loanaccount"
+" and bh.inputdate='"+toDate+"'"
+" )group by applicantid"
+" ) tl2," //期末的贷款
+" ("
+" select customerid,sum(a5ye) as deposit2,sum(a5ye*IsEquals(kmh,'251')) as Recognizance2"
+" from"
+" ("
+" select customerid,-1*a5ye as a5ye, substr(a5gskm,1,3) as kmh"
+" from deposit_account da,deposit_fullhistory df"
+" where da.sh=df.a5sh and da.account=df.a5zh and df.inputdate='"+toDate+"'"
+" )"
+" group by customerid"
+" ) td2" //期末的存款
+" where Outerbalance2<>0 and tl2.applicantid=td2.customerid(+)"
+" ) t2"
+" where t1.applicantid=t2.applicantid"
+" ) "
+" where abs(change)>="+sChange+" order by change desc";
我的blade 100, 256M内存,比p4-M 1.8g +256M内存,同时跑java 慢多了。
我的blade 100, 256M内存,比p4-M 1.8g +256M内存,同时跑java 慢多了。[/quote:f94914837d]
这个是我从一台E450上拿来cpu信息
SUNW,UltraSPARC-II (cpu, 3f0000035d)
:StateBegin Mon May 19 11:31:57 2003
:FPUType sparcv9
:ProcessorType sparcv9
:State online
:ID 0
:UnitAddress 0,0
:device_type cpu
:reg 00 00 01 c0 00 00 00 00 00 00 00 00 00 00 00 08
:clock-frequency 0x17d78400
:upa-portid 0
:icache-size 0x4000
:icache-line-size 0x20
:icache-associativity 0x2
:#itlb-entries 0x40
:dcache-size 0x4000
:dcache-line-size 0x20
:dcache-associativity 0x1
:#dtlb-entries 0x40
:ecache-size 0x400000
:ecache-line-size 0x40
:ecache-associativity 0x1
:sparc-version 0x9
:mask# 0xa0
:implementation# 0x11
:manufacturer# 0x17
:devfs-path /SUNW,UltraSPARC-II
:binding-name SUNW,UltraSPARC-II
:instance -1
:_class cpu
:name SUNW,UltraSPARC-II
不知道你从哪里得出的结论二级缓存不在cpu里?
另外再说blade100系列用的cpu是IIi还是IIe来的,忘了,高缓很少,那确实是垃圾产品。
自己写个程序试试,比如来个100亿次double型的乘法之类,记得要用jdk1.4。eg: $java -d64 YourPgm
有点奇怪的是:solaris下java(jdk1.4.2)计算double型的乘法的速度比int型的加法还快!
技术的发展居然颠覆了我以前的知识。