张志峰的博客

水滴石川,积少成多。

导航

2011年12月7日

摘要: 有个需求需要同时在一个机子上面起两个服务。操作如下:(1) 需要把页面中涉及的端口改成和另一个Server不一致的服务,这样就可以了。<?xml version='1.0' encoding='utf-8'?><Server port="8085" shutdown="SHUTDOWN"> <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" 阅读全文

posted @ 2011-12-07 15:34 ╰★张志峰★╮ 阅读(472) 评论(0) 推荐(0) 编辑

摘要: 这是一个sql语句优化的过程。使用子查询与不使用子查询的效率对比select sum(sl0000) from xstfxps2 where dhao00 in ( select dhao00 from xstfxps1 where trunc(ywrq00)=trunc(sysdate) and khdm00='500000003913');已用时间: 00: 02: 49.04select sum(sl0000) from xstfxps2 a,(select dhao00 from xstfxps1 where trunc(ywrq00)=trunc(sysdate) a 阅读全文

posted @ 2011-12-07 14:10 ╰★张志峰★╮ 阅读(231) 评论(0) 推荐(0) 编辑