<?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/cosio" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/cosio" type="application/rss+xml"></fs:self_link><lastBuildDate>Wed, 11 Mar 2009 09:05:00 GMT</lastBuildDate><title>cosio的专栏</title><description>本BLOG只用于个人资料收藏，内容如非注明，均为转贴资料，无意侵犯版权，特此声明！</description><link>http://blog.csdn.net/cosio/</link><item><title>在Oracle中查询表的大小和表空间的大小</title><link>http://blog.csdn.net/cosio/archive/2009/03/11/3978747.aspx</link><wfw:comment>http://blog.csdn.net/cosio/comments/3978747.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/cosio/comments/commentRss/3978747.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3978747</trackback:ping><description>&lt;br /&gt;有两种含义的表大小。一种是分配给一个表的物理空间数量，而不管空间是否被使用。可以这样查询获得字节数：&lt;br /&gt;&lt;br /&gt;select segment_name, bytes &lt;br /&gt;from user_segments &lt;br /&gt;where segment_type = 'TABLE'; &lt;br /&gt;或者&lt;br /&gt;   Select Segment_Name,Sum(bytes)/1024/1024 From User_Extents Group By Segment_Name&lt;br /&gt;&lt;br /&gt;另一种表实际使用的空间。这样查询：&lt;br /&gt;&lt;br /&gt;analyze table emp compute statistics; &lt;br /&gt;select num_rows * avg_row_len &lt;br /&gt;from user_tables &lt;br /&gt;where table_name = 'EMP';&lt;br /&gt;&lt;br /&gt;查看每个表空间的大小&lt;br /&gt;Select Tablespace_Name,Sum(bytes)/1024/1024 From D&lt;img src =&quot;http://blog.csdn.net/cosio/aggbug/3978747.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 11 Mar 2009 17:05:00 +0800</pubDate><author>cosio</author><comments>http://blog.csdn.net/cosio/archive/2009/03/11/3978747.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/cosio/archive/2009/03/11/3978747.aspx</guid><dc:creator>cosio</dc:creator></item><item><title>答一网友csdn中一问题:</title><link>http://blog.csdn.net/cosio/archive/2008/12/18/3549657.aspx</link><wfw:comment>http://blog.csdn.net/cosio/comments/3549657.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/cosio/comments/commentRss/3549657.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3549657</trackback:ping><description>&lt;br /&gt;/*&lt;br /&gt;看看下面的SQL怎么写加为好友发送私信在线聊天a_north_wolf该用户很懒,没有设置昵称等级:可用分等级：短工总技术分：0总技术分排名：3000000结帖率：50.00%&lt;br /&gt; 发表于：2008-12-18 13:14:18楼主有如下表： &lt;br /&gt;time_id  next_time_id  next_money &lt;br /&gt;200801  200805        100 &lt;br /&gt;200802  &lt;br /&gt;200803  &lt;br /&gt;200804  &lt;br /&gt;200805  200810        200 &lt;br /&gt;200806 &lt;br /&gt;200807 &lt;br /&gt;现要求写一SQL语句更新上表，期望得到如下结果： &lt;br /&gt;time_id  next_time_id  next_money &lt;br /&gt;200801  200805        100 &lt;br /&gt;200802  200805        100 &lt;br /&gt;200803  200805        100 &lt;br /&gt;200804  200805 &lt;img src =&quot;http://blog.csdn.net/cosio/aggbug/3549657.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 18 Dec 2008 22:28:00 +0800</pubDate><author>cosio</author><comments>http://blog.csdn.net/cosio/archive/2008/12/18/3549657.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/cosio/archive/2008/12/18/3549657.aspx</guid><dc:creator>cosio</dc:creator></item><item><title>规划职业生涯经验谈</title><link>http://blog.csdn.net/cosio/archive/2008/12/17/3539747.aspx</link><wfw:comment>http://blog.csdn.net/cosio/comments/3539747.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/cosio/comments/commentRss/3539747.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3539747</trackback:ping><description>规划职业生涯经验谈总结多年来的工作经验，个人对职业规划的体会归纳如下：1. 职业规划是自己的事，如果自己都不关心，那么别人又怎么会关心？因此，首先自己要设定初步的职业规划，然后与与你的经理进行正式的沟通并进行修正，最终确定后，还需要自己定期回顾，并获得上司适当的帮助。如果没有良好的职业规划，你就失去了一个清晰的奋斗目标，几年下来，你可能还是在原地打圈。2. 在制定职业规划时，需要设定短期和中长期目标。一年后要实现什么？3年后实现的目标是什么？把大目标分解成小任务，例如把本年的目标分解到每月，分解到每周，然后在每天的工作中去执行。每天问自己，今天所做的事是朝着既定的目标前进了吗？3.设定职业目标时应当遵行SMART原则，即目标应该尽可能的详细、可量化、具有挑战性但可实现、与个人志向相关并且设定时间期限。4.每天都要不断的挑战自我。设定看似不可能完成的任务，并且完成它，例如，一般人2个小时能完成的任务，个人设定目标在1个小时内完成并保证高质量。长此以往，你的个人能力将与众&lt;img src =&quot;http://blog.csdn.net/cosio/aggbug/3539747.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 17 Dec 2008 22:36:00 +0800</pubDate><author>cosio</author><comments>http://blog.csdn.net/cosio/archive/2008/12/17/3539747.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/cosio/archive/2008/12/17/3539747.aspx</guid><dc:creator>cosio</dc:creator></item><item><title>Oracle数据库碎片整理</title><link>http://blog.csdn.net/cosio/archive/2008/12/01/3420731.aspx</link><wfw:comment>http://blog.csdn.net/cosio/comments/3420731.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/cosio/comments/commentRss/3420731.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3420731</trackback:ping><description>oracle作为一种大型数据库，广泛应用于金融、邮电、电力、民航等&lt;br /&gt;&lt;br /&gt;　　数据吞吐量巨大，计算机网络广泛普及的重要部门。对于系统管理员来讲，如何&lt;br /&gt;&lt;br /&gt;　　保证网络稳定运行，如何提高数据库性能，使其更加安全高效，就显得尤为重要&lt;br /&gt;&lt;br /&gt;　　。作为影响数据库性能的一大因素--数据库碎片，应当引起dba的足够重视，及时&lt;br /&gt;&lt;br /&gt;　　发现并整理碎片乃是dba一项基本维护内容。&lt;br /&gt;&lt;br /&gt;　　---- 1、碎片是如何产生的&lt;br /&gt;&lt;br /&gt;　　---- 当生成一个数据库时，它会分成称为表空间（tablespace）的多个逻辑段（&lt;br /&gt;&lt;br /&gt;　　segment），如系统（system）表空间,临时（temporary）表空间等。一个表空间&lt;br /&gt;&lt;br /&gt;　　可以包含多个数据范围（extent）和一个或多个自由范围块，即自由空间（free&lt;br /&gt;&lt;br /&gt;　　space）。&lt;br /&gt;&lt;br /&gt;　　---- 表空间、段、范围、自由空间的逻辑关系如下：&lt;br /&gt;&lt;br /&gt;　　---- 当&lt;img src =&quot;http://blog.csdn.net/cosio/aggbug/3420731.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 01 Dec 2008 22:40:00 +0800</pubDate><author>cosio</author><comments>http://blog.csdn.net/cosio/archive/2008/12/01/3420731.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/cosio/archive/2008/12/01/3420731.aspx</guid><dc:creator>cosio</dc:creator></item><item><title>使用oracle的10046事件跟踪SQL语句</title><link>http://blog.csdn.net/cosio/archive/2008/11/02/3206958.aspx</link><wfw:comment>http://blog.csdn.net/cosio/comments/3206958.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/cosio/comments/commentRss/3206958.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3206958</trackback:ping><description>&lt;br /&gt;我们在分析应用程序性能问题的时候，更多地需要关注其中SQL语句的执行情况，因为通常应用程序的性能瓶颈会在数据库这边，因此数据库的sql语句是我们优化的重点。利用Oracle的10046事件，可以跟踪应用程序所执行的SQL语句，并且得到其解析次数.执行次数,CPU使用时间等信息。这对我们分析、定位数据库性能问题是非常有用的。&lt;br /&gt;&lt;br /&gt;具体的方法如下：&lt;br /&gt;1、首先获得spid、sid、serial#，machine为连接oracle的机器名&lt;br /&gt;SQL&gt; select b.spid,a.sid,a.serial#,a.machine from v$session a,v$process b where a.paddr = &lt;br /&gt;b.addr and a.machine='SYS_F85';&lt;br /&gt;&lt;br /&gt;SPID                SID    SERIAL#   MACHINE&lt;br /&gt;----------------------------------------------------------------&lt;br /&gt;&lt;img src =&quot;http://blog.csdn.net/cosio/aggbug/3206958.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sun, 02 Nov 2008 23:26:00 +0800</pubDate><author>cosio</author><comments>http://blog.csdn.net/cosio/archive/2008/11/02/3206958.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/cosio/archive/2008/11/02/3206958.aspx</guid><dc:creator>cosio</dc:creator></item><item><title>重新注册IE控件</title><link>http://blog.csdn.net/cosio/archive/2008/10/20/3107753.aspx</link><wfw:comment>http://blog.csdn.net/cosio/comments/3107753.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/cosio/comments/commentRss/3107753.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3107753</trackback:ping><description>重新 注册 IE控件&lt;img src =&quot;http://blog.csdn.net/cosio/aggbug/3107753.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 20 Oct 2008 17:06:00 +0800</pubDate><author>cosio</author><comments>http://blog.csdn.net/cosio/archive/2008/10/20/3107753.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/cosio/archive/2008/10/20/3107753.aspx</guid><dc:creator>cosio</dc:creator></item><item><title>学习动态性能表</title><link>http://blog.csdn.net/cosio/archive/2008/10/09/3040508.aspx</link><wfw:comment>http://blog.csdn.net/cosio/comments/3040508.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/cosio/comments/commentRss/3040508.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3040508</trackback:ping><description>&lt;br /&gt;学习动态性能表 PDF文档&lt;br /&gt;下载&lt;br /&gt;学习动态性能表.pdf&lt;img src =&quot;http://blog.csdn.net/cosio/aggbug/3040508.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 09 Oct 2008 18:26:00 +0800</pubDate><author>cosio</author><comments>http://blog.csdn.net/cosio/archive/2008/10/09/3040508.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/cosio/archive/2008/10/09/3040508.aspx</guid><dc:creator>cosio</dc:creator></item><item><title>关于oracle时区</title><link>http://blog.csdn.net/cosio/archive/2008/10/09/3040369.aspx</link><wfw:comment>http://blog.csdn.net/cosio/comments/3040369.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/cosio/comments/commentRss/3040369.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3040369</trackback:ping><description>&lt;br /&gt;商业和数据库很多时候必须跨时区工作，从9i开始，oracle环境开始有了时区意识，通过指定数据库的时区和使用TIMESTAMP WITH TIME ZONE和TIMESTAMP WITH LOCAL TIME ZONE数据类型来实现该功能。&lt;br /&gt;TIMESTAMP WITH TIME ZONE不会存储数据库时区，但是有一个指示用来说明该时间所使用的时区。TIMESTAMP WITH LOCAL TIME ZONE会同时存储数据库时区，并且会根据查询客户端的时区进行相应的转换。&lt;br /&gt;数据库时区可以在创建时在create database命令中设置，也可以使用alter database set TIME_ZONE=...来修改。如果没有特别的指定，默认的，数据库将遵从主机操作系统时区设置，或者取自环境变量ORA_STDZ。所有支持的时区记录在V$TIMEZONE_NAMES动态性能表中。时区有三种表示方法，全名、缩写和相对于标准时间（格林威治时间）的固定偏移,比如标准时间相应的三种表示方法分别为：Etc/Greenwich、GMT和+00:00。&lt;img src =&quot;http://blog.csdn.net/cosio/aggbug/3040369.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 09 Oct 2008 18:20:00 +0800</pubDate><author>cosio</author><comments>http://blog.csdn.net/cosio/archive/2008/10/09/3040369.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/cosio/archive/2008/10/09/3040369.aspx</guid><dc:creator>cosio</dc:creator></item><item><title>学习动态性能表(四)-(2)-V$SQLAREA</title><link>http://blog.csdn.net/cosio/archive/2008/09/29/2994216.aspx</link><wfw:comment>http://blog.csdn.net/cosio/comments/2994216.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/cosio/comments/commentRss/2994216.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2994216</trackback:ping><description>学习动态性能表(四)-(2)-V$SQLAREA &lt;img src =&quot;http://blog.csdn.net/cosio/aggbug/2994216.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 29 Sep 2008 16:53:00 +0800</pubDate><author>cosio</author><comments>http://blog.csdn.net/cosio/archive/2008/09/29/2994216.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/cosio/archive/2008/09/29/2994216.aspx</guid><dc:creator>cosio</dc:creator></item><item><title>学习动态性能表(三)-(2)-V$SQL_PLAN</title><link>http://blog.csdn.net/cosio/archive/2008/09/29/2994214.aspx</link><wfw:comment>http://blog.csdn.net/cosio/comments/2994214.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/cosio/comments/commentRss/2994214.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2994214</trackback:ping><description>学习动态性能表(三)-(2)-V$SQL_PLAN &lt;img src =&quot;http://blog.csdn.net/cosio/aggbug/2994214.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 29 Sep 2008 16:52:00 +0800</pubDate><author>cosio</author><comments>http://blog.csdn.net/cosio/archive/2008/09/29/2994214.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/cosio/archive/2008/09/29/2994214.aspx</guid><dc:creator>cosio</dc:creator></item></channel></rss>