﻿<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>数据工人 &#187; database</title>
	<atom:link href="http://www.zhihong.org/category/database/feed" rel="self" type="application/rss+xml" />
	<link>http://www.zhihong.org</link>
	<description>躺在油菜花海  听着狗的声音 轻轻敲击键盘</description>
	<lastBuildDate>Tue, 07 Sep 2010 15:20:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>更新global_name故障,谨慎啊，数据工人们！</title>
		<link>http://www.zhihong.org/pay_attention_to_upgrade_dictionary.html</link>
		<comments>http://www.zhihong.org/pay_attention_to_upgrade_dictionary.html#comments</comments>
		<pubDate>Mon, 06 Sep 2010 01:08:41 +0000</pubDate>
		<dc:creator>boypoo</dc:creator>
				<category><![CDATA[database]]></category>

		<guid isPermaLink="false">http://www.zhihong.org/?p=307</guid>
		<description><![CDATA[ 今天发生了一件很低级的操作引起的系统瘫痪。          开发人员做了这么一个动作：        update global_name set global_name=&#8221;;  结果是，oracle数据库瞬时就crash了。重新启动数据库无法open： *** SESSION ID:(152.2387) 2010-09-02 20:37:52.973 *** 2010-09-02 20:37:52.973 ksedmp: internal or fatal error ORA-00600: internal error code, arguments: [18061], [1403], [], [], [], [], [], [] &#8212;&#8211; Call Stack Trace &#8212;&#8211; calling             call    entry               argument values in hex      location            type    point               (? means [...]]]></description>
		<wfw:commentRss>http://www.zhihong.org/pay_attention_to_upgrade_dictionary.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>【长期置顶】招oracle工程师</title>
		<link>http://www.zhihong.org/recruit_oracle_engineers.html</link>
		<comments>http://www.zhihong.org/recruit_oracle_engineers.html#comments</comments>
		<pubDate>Sun, 05 Sep 2010 13:50:19 +0000</pubDate>
		<dc:creator>boypoo</dc:creator>
				<category><![CDATA[database]]></category>

		<guid isPermaLink="false">http://www.zhihong.org/?p=208</guid>
		<description><![CDATA[要求：中、高级别 Oracle DBA 职责： 1.给客户提供Oracle技术支持工作 基本条件： 1、有3年或以上数据库维护经验，理解oracle概念 2、熟悉2种以上UNIX操作系统（AIX, HP-UX, Linux, Solaris），对存储及网络有一定了解 3、了解RAC、DG、Partition 4、对oracle产品线有一定了解 5、良好的文档编写习惯 6、有较强的学习能力，很快地掌握新技术 7、有很好的职业道德及团队精神 这里有： 1.宽松的工作环境，良好的工作氛围 2.友好、协作、积极的团队 3.每年有Oracle、AIX、存储的培训机会 4.每年一次与全国工程师见面交流的机会 5.定期区域技术交流 6.3年内通过OCM考试，培训、考试费公司报销 待遇，视能力而定,面议！ 有意者请发简历到boypoo@gmail.com （希望您：1.不要用附件，附件的邮件一律忽略；2.在邮件标题上写上您的名字） 也可以给我打电话：） 满足条件的请多多支持！ 所有朋友的邮件，我将一一回复，谢谢！ itpub上的招聘链接：http://www.itpub.net/viewthread.php?tid=1316802&#38;extra=page%3D1&#38;frombbs=1 update 2010-08-30：对自己很有信心的一年以上oracle工作经验的也可以投简历&#8230;]]></description>
		<wfw:commentRss>http://www.zhihong.org/recruit_oracle_engineers.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>momo成长记事之 小孩的记忆和学习能力</title>
		<link>http://www.zhihong.org/momo%e6%88%90%e9%95%bf%e8%ae%b0%e4%ba%8b%e4%b9%8b-%e5%b0%8f%e5%ad%a9%e7%9a%84%e8%ae%b0%e5%bf%86%e5%92%8c%e5%ad%a6%e4%b9%a0%e8%83%bd%e5%8a%9b.html</link>
		<comments>http://www.zhihong.org/momo%e6%88%90%e9%95%bf%e8%ae%b0%e4%ba%8b%e4%b9%8b-%e5%b0%8f%e5%ad%a9%e7%9a%84%e8%ae%b0%e5%bf%86%e5%92%8c%e5%ad%a6%e4%b9%a0%e8%83%bd%e5%8a%9b.html#comments</comments>
		<pubDate>Wed, 11 Aug 2010 09:16:14 +0000</pubDate>
		<dc:creator>boypoo</dc:creator>
				<category><![CDATA[database]]></category>

		<guid isPermaLink="false">http://www.zhihong.org/momo%e6%88%90%e9%95%bf%e8%ae%b0%e4%ba%8b%e4%b9%8b-%e5%b0%8f%e5%ad%a9%e7%9a%84%e8%ae%b0%e5%bf%86%e5%92%8c%e5%ad%a6%e4%b9%a0%e8%83%bd%e5%8a%9b.html</guid>
		<description><![CDATA[20个月的momo思维变得更加活跃了，所以作为父母的言行也就更应该谨慎，因为随便的一个不良习惯都可能遭遇模仿。 之前她刚学走路的时候，不小心摔倒了，我总是让她自己起来，实在起不来我才伸手过去，然后会随嘴说“up，up，来，起来咯..”。 这天中午，她醒来了，看到旁边的巧虎在躺在，她就说，“巧虎，upup，醒来啦！” 然后她妈妈说，“你让巧虎在睡一会吧？” 她答到“巧虎没听见” 然后边喊“up”边把巧虎扶了起来 有个习惯不知道是好不好，晚上睡觉前会喋喋不休，自己重复白天大人跟她的问答。]]></description>
		<wfw:commentRss>http://www.zhihong.org/momo%e6%88%90%e9%95%bf%e8%ae%b0%e4%ba%8b%e4%b9%8b-%e5%b0%8f%e5%ad%a9%e7%9a%84%e8%ae%b0%e5%bf%86%e5%92%8c%e5%ad%a6%e4%b9%a0%e8%83%bd%e5%8a%9b.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>处理LOB(大对象)表enqueue HW问题的一个方法</title>
		<link>http://www.zhihong.org/handle_enqueue_hw_wait_with_lo.html</link>
		<comments>http://www.zhihong.org/handle_enqueue_hw_wait_with_lo.html#comments</comments>
		<pubDate>Wed, 04 Aug 2010 06:26:41 +0000</pubDate>
		<dc:creator>boypoo</dc:creator>
				<category><![CDATA[database]]></category>

		<guid isPermaLink="false">http://www.zhihong.org/?p=284</guid>
		<description><![CDATA[在RDBMS系统中，发生enqueue等待特别是enqueue TX-contention是再正常不过的了，原因很简单，为了满足ACID原则。但如果是enqueue HW-contention,你遇到的机会就要稍微少一些了，因为这一般只发生在大量数据装载或者是OLTP业务非常繁忙的系统中。 这不，我们的一个银行用好，恰巧就发生了这么一个问题，当大批量数据装载时，系统CPU使用率接近100%（这可是128CPU的HP superdome），而这其中的90%以上，是在等待enqueue HW 。当然，这个系统的架构有其特殊性，每个表只有两个字段，一个number，一个LOB（这个时候，你可能就会发现架构师对性能的影响有多么巨大了）。 HW=HighWatermark，所谓的高水位竞争。就是当数据插入的session过多，对最后一个可用块的竞争，以得到下一个空闲块（或者extent)。 这种情况，如果是普通表，使用alter table &#60;TABNAME&#62; allocate extent 提前多分配extent即可解决。 但是含有LOB（clob）字段的表，据客户反应，用这个方法在loading装载开始后的2分钟之内是有效的，但之后就不灵了，原因和在？ 原因处在lob方式。 解决方式分两种，在ASSM表空间之内的：  a) As temporary workaround, manually add extra space to the LOB segment       ALTER TABLE &#60;lob_table&#62;       MODIFY LOB (&#60;column_name&#62;) (allocate extent (size &#60;extent size&#62;)); OR    b) It may related Bug 6376915.     Refer to Note 6376915.8 &#8220;Bug 6376915 HW [...]]]></description>
		<wfw:commentRss>http://www.zhihong.org/handle_enqueue_hw_wait_with_lo.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>写了一个复杂的SQL语句</title>
		<link>http://www.zhihong.org/a_complicated_sql_stat.html</link>
		<comments>http://www.zhihong.org/a_complicated_sql_stat.html#comments</comments>
		<pubDate>Fri, 04 Jun 2010 06:46:30 +0000</pubDate>
		<dc:creator>boypoo</dc:creator>
				<category><![CDATA[database]]></category>

		<guid isPermaLink="false">http://www.zhihong.org/?p=272</guid>
		<description><![CDATA[最近一个客户提了这么一个要求： 有两张表，F1,F2,这两张表有3个的关键字: K1:订单号 K2:订单公司 K3：订单类型 要求是统计F1/F2这两张表相同关键字下的记录数，比较是否一致 我简单做了个模型： SQL&#62; select * from f1;         K1         K2         K3         K4 &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;-          1          1          1          1          1          1          1          2          1          1          2          1          1          1          2          2          1          1          2          3 SQL&#62; select * from f2;         K1         K2         K3         [...]]]></description>
		<wfw:commentRss>http://www.zhihong.org/a_complicated_sql_stat.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>OCM，与技术能力无关</title>
		<link>http://www.zhihong.org/ocm_with_tech.html</link>
		<comments>http://www.zhihong.org/ocm_with_tech.html#comments</comments>
		<pubDate>Fri, 15 Jan 2010 09:52:28 +0000</pubDate>
		<dc:creator>boypoo</dc:creator>
				<category><![CDATA[database]]></category>
		<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://www.zhihong.org/?p=249</guid>
		<description><![CDATA[我在招聘帖子里说过，我这里提供OCM免费考试机会，当然也欢迎OCM加入我们的团队。 但是，并非是说OCM就真的是Master（大师）了，因为几乎绝大多数考试到了中国后，都可以在5年之内泛滥，OCM也不例外。 最近面试了一些朋友，其中有一个都在09年通过了OCM。但是我的同事们面试过后，却连连摇头。这多少让我有些诧异。 为了安全起见，同一个人，我都会安排2-3个同事先后电话面试，结束前他们不能交流各自的看法。 但是当聚集在会议室的讨论，意见却基本一致&#8212;&#8212;&#8212;&#8212;OCM已经失去意义。他们认为，这位朋友的经验和基础能力只能算作中级水平。 其实这不是个案，在这里也不是为了贬低这位朋友。因为老耿在去年5月份考完OCM就曾向我吹嘘，这玩意，三天我就搞定了。 所以，如果有免费的机会参加OCM考试，那不要拒绝，go！ 如果自费去，那坚决不要！ 如果你看到了OCM，那不要迷信，看看再说！ OCM终归来说，就是一场已经基本透明化的考试而已！ 按照机械的步骤，只要你的运气不是太酶，收获率还是大大地！ 不过，我要说一句，我不是OCM，也不准备是。 &#8212;eof&#8212;]]></description>
		<wfw:commentRss>http://www.zhihong.org/ocm_with_tech.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Can U restore the dropped procedure?</title>
		<link>http://www.zhihong.org/restore-procedures-after-drop-schema.html</link>
		<comments>http://www.zhihong.org/restore-procedures-after-drop-schema.html#comments</comments>
		<pubDate>Wed, 23 Dec 2009 14:09:35 +0000</pubDate>
		<dc:creator>babyblue</dc:creator>
				<category><![CDATA[database]]></category>

		<guid isPermaLink="false">http://www.zhihong.org/?p=224</guid>
		<description><![CDATA[这是个挺极端的话题，因为标题中问题的前提是：没有任何备份。 不要抱怨，“命苦不能怪政府，点背不能怨社会” ^_^ 而我一个同事，就真正碰上这样的问题。当然，最后也成功恢复了。 有人会想到logminer和archive log，但是sp被删除时archive log并不记录sp的文本内容。当然logminer有用处，起码能定位到准确的删除时间。 存储过程的文本内容通常被记录在source$中。 SQL&#62; conn blue/blue Connected. SQL&#62; create or replace procedure sp_test2 2     is 3     begin 4       dbms_output.put_line(&#8216;procedure restore&#8217;); 5     end; 6     / Procedure created. SQL&#62; conn / as sysdba Connected. SQL&#62; select s.obj#,s.source from source$ s,obj$ o 2  where s.obj#=o.obj# 3  and o.name=&#8217;SP_TEST&#8217;; OBJ# SOURCE &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; 53258 [...]]]></description>
		<wfw:commentRss>http://www.zhihong.org/restore-procedures-after-drop-schema.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>how to find out implicit conversion</title>
		<link>http://www.zhihong.org/how-to-find-out-implicit-conversion.html</link>
		<comments>http://www.zhihong.org/how-to-find-out-implicit-conversion.html#comments</comments>
		<pubDate>Fri, 11 Dec 2009 08:37:13 +0000</pubDate>
		<dc:creator>babyblue</dc:creator>
				<category><![CDATA[database]]></category>
		<category><![CDATA[conversion performance]]></category>

		<guid isPermaLink="false">http://www.zhihong.org/?p=212</guid>
		<description><![CDATA[隐式转换是DBA们所不愿意看到的，有人说“I believe implicit conversion to be bad. Badder. Evil. A serious no-no!” 举个例子： 有一条SQL select * from t_table where id=:1; 说明：t_table记录量在数万条，id varchar2类型，主键。 1.用户用pl/sql等工具执行非常快。 2.在应用中执行该语句非常慢，通过statspack,awr等发现，并且发现是全表扫描。 这种情况很有可能是绑定变量类型不匹配而导致的。 某些情况下，隐式转换会让数据库性能变得很糟糕。有同事处理过这样的案例，在消灭隐式转换后，原本一个需要2小时的业务操作可以在6秒内便可完成。 Oracle也强烈建议使用explicit conversion而不是implicit conversion，explicit conversion相比implicit conversion有如下的好处： SQL statements are easier to understand when you use explicit datatype conversion functions. Implicit datatype conversion can have a negative impact on performance, especially [...]]]></description>
		<wfw:commentRss>http://www.zhihong.org/how-to-find-out-implicit-conversion.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>坐台小姐应该怎么选择？</title>
		<link>http://www.zhihong.org/%e5%9d%90%e5%8f%b0%e5%b0%8f%e5%a7%90%e5%ba%94%e8%af%a5%e6%80%8e%e4%b9%88%e9%80%89%e6%8b%a9%ef%bc%9f.html</link>
		<comments>http://www.zhihong.org/%e5%9d%90%e5%8f%b0%e5%b0%8f%e5%a7%90%e5%ba%94%e8%af%a5%e6%80%8e%e4%b9%88%e9%80%89%e6%8b%a9%ef%bc%9f.html#comments</comments>
		<pubDate>Mon, 26 Oct 2009 10:54:54 +0000</pubDate>
		<dc:creator>boypoo</dc:creator>
				<category><![CDATA[database]]></category>

		<guid isPermaLink="false">http://www.zhihong.org/?p=194</guid>
		<description><![CDATA[一个技术较好的同事，是部门里的干将之一，经常被客户指明要求去服务，出台较多多。但最近由于不堪某客户的态度，出于对该职业的悲观情绪，出离愤怒的想要辞职了。 这是一个很好的同事，有着技术工程师最重要的学习能力和技术爱好。因此，这引起了我的思考。 于是杜撰了如下故事： 一群身强力壮的男人进了一家夜总会，然后老鸨带着很多小姐过来了。其中一个人，是老板，但是身上有很严重的狐臭，隔老远都能闻到。很自然的，老板先挑。小姐们一批批的来，一批批的去，终于，这家夜总会的镇店之宝，文成公主，出现了，老板满意之。 然，公主一被搂入怀中，就猛打喷嚏。 她会怎么做呢？ 为什么故事里要是一群男人，且该男子是老板。代表甲方是强势群体。 如果是一两个人，遇到这种情况，我猜想，文成公主有可能直接发飙，怒斥该男子。但是，一群人，她就得掂量掂量，一发飙可能会被揍死。 那么，这种情况，最好的选择似乎是小姐就只好自认倒霉。 如果接二连三的发生这种情况，这公主是不是就考虑从良或自尽呢? 唐太宗（夜总会老板）是否可以帮助这位文成公主么？ 不得而知，不能入眠。仅记之200910110335。]]></description>
		<wfw:commentRss>http://www.zhihong.org/%e5%9d%90%e5%8f%b0%e5%b0%8f%e5%a7%90%e5%ba%94%e8%af%a5%e6%80%8e%e4%b9%88%e9%80%89%e6%8b%a9%ef%bc%9f.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>杭州.全国工程师会议</title>
		<link>http://www.zhihong.org/hangzhou_engineer_meeting.html</link>
		<comments>http://www.zhihong.org/hangzhou_engineer_meeting.html#comments</comments>
		<pubDate>Thu, 08 Oct 2009 17:59:06 +0000</pubDate>
		<dc:creator>boypoo</dc:creator>
				<category><![CDATA[database]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://www.zhihong.org/?p=185</guid>
		<description><![CDATA[全国工程师会议的主要目的本身不是技术本身，而是有个让兄弟们聚在一起吃牛聊天的机会。 会议的地址原本定在花港海航酒店，但由于销售部门与五洋假日酒店有协议，加之更便宜些，所以最后定在了五洋，不过还是要感谢ningoo和blue_prince(roby)的热心推荐。 本次会议历时两天，预计主题如下： 扫盲型： 1. Oracle数据安全产品                      2. 中间件服务市场与未来 基础型：                      1. RAC for WIN部署与排错                       2. 浅析数据迁移                      3. 索引与查询 深入型：                     1. CBO探索                      2. Oracle索引与性能                     3. Oracle块操作与BBED 　　　　　4. 数据块与空间管理 　　　　　5. Oracle内存结构深入分析  期待同事们的精彩分享。]]></description>
		<wfw:commentRss>http://www.zhihong.org/hangzhou_engineer_meeting.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
