<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/being21" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/being21" type="application/rss+xml"></fs:self_link><lastBuildDate>Sat, 13 Jun 2009 08:49:00 GMT</lastBuildDate><title>being21的专栏</title><link>http://blog.csdn.net/being21/</link><item><title>oracle 嵌套循环 yu 哈希连接</title><link>http://blog.csdn.net/being21/archive/2009/06/13/4265517.aspx</link><wfw:comment>http://blog.csdn.net/being21/comments/4265517.aspx</wfw:comment><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/being21/comments/commentRss/4265517.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4265517</trackback:ping><description>&lt;br /&gt;    嵌套循环    哈希连接    因为oracle基于成本的优化器一般最长使用的就是这两种连接方式，而性能在这里也可以很好的调节。hash连接需要耗费大量的cpu和内存，而嵌套循环则会少很多。在大数据量的双表连接中，哈希连接明显要有更好的性能。但是当一个小数量级的表和一个大数量级别的表连接的时候，优化就很难处理了。我在oracle这里现在最大的问题就在这里。这是一个实例。    表信息：    pl_repay                记录数 15265146                索引   due_bill                pl_repay_ind1                      repay_dt                pl_repay_ind2                      repay_acct_type_cd      pl_repay_ind3     cl_mid_ext_source              记录数 8604/16万              索引   due_bill     &lt;img src =&quot;http://blog.csdn.net/being21/aggbug/4265517.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/233488041/being21/csdn.net/s.gif?r=http://blog.csdn.net/being21/archive/2009/06/13/4265517.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/being21/233488041/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/being21/233488041/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sat, 13 Jun 2009 16:49:00 +0800</pubDate><author>庞兴华</author><comments>http://blog.csdn.net/being21/archive/2009/06/13/4265517.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/being21/archive/2009/06/13/4265517.aspx</guid><dc:creator>庞兴华</dc:creator><fs:srclink>http://blog.csdn.net/being21/archive/2009/06/13/4265517.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/being21/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/being21/~1186768/233488041/1186748</fs:itemid></item><item><title>数据库学习：oracle的递归写法，分析函数写法，以及teradata的取一定数量记录的写法</title><link>http://blog.csdn.net/being21/archive/2009/03/21/4012190.aspx</link><wfw:comment>http://blog.csdn.net/being21/comments/4012190.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/being21/comments/commentRss/4012190.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4012190</trackback:ping><description>&lt;br /&gt;oracle数据库&lt;br /&gt;例子：&lt;br /&gt;递归查询：&lt;br /&gt;select rpad('*',2*level,'*') || ename ename,level&lt;br /&gt;from emp&lt;br /&gt;start with &lt;br /&gt;mgr is null&lt;br /&gt;connect by prior empno = mgr&lt;br /&gt;;&lt;br /&gt;level 是层数，是可以直接用的 一个参数，而start with 是指树的开始，就是根节点。&lt;br /&gt;connect by prior 后面跟的是连接条件。&lt;br /&gt;评价后觉得比SQL server的 写法 简单，更容易了解，SQL server 的到现在我都不理解，虽然我知道怎么使用。&lt;br /&gt;分析函数：&lt;br /&gt;select&lt;br /&gt;   deptno,&lt;br /&gt;   ename,&lt;br /&gt;&lt;br /&gt;sal,&lt;br /&gt;   sum(sal)  over(partition by deptno order by sal,ename) &lt;br /&gt;cum_sal,&lt;br /&gt;   round(1&lt;img src =&quot;http://blog.csdn.net/being21/aggbug/4012190.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/being21/233488045/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/being21/233488045/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sun, 22 Mar 2009 00:15:00 +0800</pubDate><author>being21</author><comments>http://blog.csdn.net/being21/archive/2009/03/21/4012190.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/being21/archive/2009/03/21/4012190.aspx</guid><dc:creator>being21</dc:creator><fs:srclink>http://blog.csdn.net/being21/archive/2009/03/21/4012190.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/being21/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/being21/~1186768/233488045/1186748</fs:itemid></item><item><title>爱从来都不需要理由</title><link>http://blog.csdn.net/being21/archive/2008/06/04/2512029.aspx</link><wfw:comment>http://blog.csdn.net/being21/comments/2512029.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/being21/comments/commentRss/2512029.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2512029</trackback:ping><description>&lt;br /&gt;&lt;img src =&quot;http://blog.csdn.net/being21/aggbug/2512029.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/being21/233488046/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/being21/233488046/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 05 Jun 2008 03:32:00 +0800</pubDate><author>being21</author><comments>http://blog.csdn.net/being21/archive/2008/06/04/2512029.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/being21/archive/2008/06/04/2512029.aspx</guid><dc:creator>being21</dc:creator><fs:srclink>http://blog.csdn.net/being21/archive/2008/06/04/2512029.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/being21/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/being21/~1186768/233488046/1186748</fs:itemid></item><item><title>【转】B 树、B- 树、B+ 树、B* 树都是什么</title><link>http://blog.csdn.net/being21/archive/2008/05/22/2468744.aspx</link><wfw:comment>http://blog.csdn.net/being21/comments/2468744.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/being21/comments/commentRss/2468744.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2468744</trackback:ping><description>B树&lt;img src =&quot;http://blog.csdn.net/being21/aggbug/2468744.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/being21/233488047/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/being21/233488047/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 22 May 2008 18:24:00 +0800</pubDate><author>being21</author><comments>http://blog.csdn.net/being21/archive/2008/05/22/2468744.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/being21/archive/2008/05/22/2468744.aspx</guid><dc:creator>being21</dc:creator><fs:srclink>http://blog.csdn.net/being21/archive/2008/05/22/2468744.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/being21/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/being21/~1186768/233488047/1186748</fs:itemid></item><item><title>一直想找个方法来表现时间的线性流逝</title><link>http://blog.csdn.net/being21/archive/2008/05/22/2468679.aspx</link><wfw:comment>http://blog.csdn.net/being21/comments/2468679.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/being21/comments/commentRss/2468679.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2468679</trackback:ping><description>&lt;br /&gt;图表是最直接的方法了&lt;br /&gt;昨天花了一天的时间想，最后似乎是崩溃了。&lt;br /&gt;我要设计一个图表，表示线性的时间。 &lt;br /&gt;&lt;br /&gt;现在有的是 时间的间隔，开始工作时间，结束工作时间。 &lt;br /&gt;&lt;br /&gt;一个人每天要工作24小时，不停的等待着订单，然后生产。 &lt;br /&gt;我有这个人每天的生产每个产品的：开始工作时间，结束工作时间。 &lt;br /&gt;那么我现在想让这一天工作变成一个线性的图，方便我来看。把每天工作的时间和不工作的时间都标示在这个线上。 &lt;br /&gt;我看了Reporting Serivce 里面没有我需要的这种图表。 &lt;br /&gt;&lt;br /&gt;只能用变形的图表了，选用最简单的柱状图。 &lt;br /&gt;&lt;br /&gt;我把每天按秒分成60*60*24份=86400，每秒算做一图表的Y值，如果这一秒是工作的，那么X值就是1，否者就是0. &lt;br /&gt;这样就可以表现出来这个人一天的工作忙闲了。一幕了然，比直接拿数据好的多。而且多个人的话，还可以对比。 &lt;br /&gt;&lt;br /&gt;但是现在可以使用的数据只有开始和结束的时间。 &lt;br /&gt;&lt;img src =&quot;http://blog.csdn.net/being21/aggbug/2468679.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/being21/233488048/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/being21/233488048/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 22 May 2008 18:08:00 +0800</pubDate><author>being21</author><comments>http://blog.csdn.net/being21/archive/2008/05/22/2468679.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/being21/archive/2008/05/22/2468679.aspx</guid><dc:creator>being21</dc:creator><fs:srclink>http://blog.csdn.net/being21/archive/2008/05/22/2468679.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/being21/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/being21/~1186768/233488048/1186748</fs:itemid></item><item><title>测试一下,看看如何???</title><link>http://blog.csdn.net/being21/archive/2007/08/14/1741993.aspx</link><wfw:comment>http://blog.csdn.net/being21/comments/1741993.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/being21/comments/commentRss/1741993.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1741993</trackback:ping><description>测试&lt;img src =&quot;http://blog.csdn.net/being21/aggbug/1741993.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/being21/233488049/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/being21/233488049/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 14 Aug 2007 17:21:00 +0800</pubDate><author>being21</author><comments>http://blog.csdn.net/being21/archive/2007/08/14/1741993.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/being21/archive/2007/08/14/1741993.aspx</guid><dc:creator>being21</dc:creator><fs:srclink>http://blog.csdn.net/being21/archive/2007/08/14/1741993.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/being21/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/being21/~1186768/233488049/1186748</fs:itemid></item></channel></rss>