<?xml version="1.0" encoding="gb2312"?>
<?xml-stylesheet href="http://blog.itpub.net//styles/rss.css" type="text/css"?>

<rdf:RDF 
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
  xmlns="http://my.netscape.com/rdf/simple/0.9/"
>
    
     <channel>
  <title>天空</title>
  <link>http://huakaibird.itpub.net</link>
  <description></description>
 </channel>
    <item>
<title>oracle 字符集 （转）</title>
<description>搞懂oracle字符集作为一个ORACLE DBA,在工作中会经常处理由于字符集产生的一些问题。但是当真正想写一些这方面的东西时，却突然又没有了头绪。发了半天呆，还是决定用两个字符集方面的例子作为切入点，倒不失为一个头绪，说不定在实验的过程中，问题就会一个接着一个的浮现出来。现在，让我们切入正题。我用的数据库是oracle10.2.0.3,数据库字符集是al32utf8。客户端就是同一台机器的windows xp.下面是演示的例子：SQL&gt; drop table test purge;Table dropped.SQL&gt; create table test(col1 number(1),col2 varchar2(10));Table created.--s...</description>
<link>http://huakaibird.itpub.net/post/19599/490972</link>
<pubDate>Wed,02 09 2009 10:42:25</pubDate>
</item>
<item>
<title>mysql export &amp; import</title>
<description>export: mysqldump database [table] &gt; /tmp/filenameimport: mysql database &lt; /tmp/filenamecan add &quot;max_allowed_packet=104857600&quot; under [mysqld] in /etc/my.cnf file to resolve the &quot;Got a packet bigger than 'max_allowed_packet' bytes&quot; problem.There is some problems with this import method.If the mysqldump version is low, the triggers and procedure can not be export. You can upgrade the mysqldump or use remote new version mysqldump to export.trigger is default, procedure need parametermysqldump -u -p...</description>
<link>http://huakaibird.itpub.net/post/19599/487484</link>
<pubDate>Mon,13 07 2009 14:03:00</pubDate>
</item>
<item>
<title>mysql connect speed is slow</title>
<description>When there is no name-resolve, the mysql connection will be slow.Add 'skip-name-resolve' under '[mysqld]' section in /etc/my.cnf will resolve this problem.</description>
<link>http://huakaibird.itpub.net/post/19599/487473</link>
<pubDate>Mon,13 07 2009 11:14:30</pubDate>
</item>
<item>
<title>ORACLE escape string</title>
<description>Oracle escape string only valid to &quot;_&quot;, &quot;%&quot; and itself.For example, use &quot;&quot; as escape string,like 'abc%' escape '', will encounter oracle ORA-01424 errorSo when support the escape string, must take care.Should Transfer the single '' with other string.</description>
<link>http://huakaibird.itpub.net/post/19599/481988</link>
<pubDate>Thu,09 04 2009 16:46:27</pubDate>
</item>
<item>
<title>not in, not like, &lt;&gt;, not between notice</title>
<description>When using not in, not like, &lt;&gt;, not between in sql, you should pay attention, if the field is permit to null, the null value record can not be selected, you should add not null to let the null record shown. But the not exists is the except, it can select the null record, because the sql is always not exists(select field1 from table1 where table1.field1=table2.field1), if it table2's field1 is null, of course the equation is not true.</description>
<link>http://huakaibird.itpub.net/post/19599/466134</link>
<pubDate>Wed,09 07 2008 15:05:43</pubDate>
</item>
<item>
<title>recyclebin in ORACLE 10</title>
<description>The recyclebin is just a virtual storage area, a data dictionary. When drop table, the real space on the tablespace this table take up would not deleted in deed. But if the space is not enough, Oracle will delete the space auto.</description>
<link>http://huakaibird.itpub.net/post/19599/458929</link>
<pubDate>Thu,03 04 2008 14:56:36</pubDate>
</item>
<item>
<title>truncate</title>
<description>truncate 能释放表空间以及索引空间，但是前一次扩展的索引空间并不一定能记录到数据字典中， 故最好rebuild index.</description>
<link>http://huakaibird.itpub.net/post/19599/457853</link>
<pubDate>Fri,21 03 2008 17:03:39</pubDate>
</item>
<item>
<title>ORACLE bug 5361778 5083393</title>
<description>free space 大于db file的大小遇到一个奇怪的问题， db file free space的大小大于file的大小。导致在toad下看到的使用率为负的select sum(bytes) from dba_free_space where file_id=8;result: 35672489984 (这个大小已经达到了数据文件的max)select bytes from dba_data_files where file_id=8;result: 10171187200由于oracle bug 5083393 导致， solution:purge tablespace TS_NAME;exec dbms_space_admin.tablespace_rebuild_bitmaps('TS_NAME');</description>
<link>http://huakaibird.itpub.net/post/19599/457852</link>
<pubDate>Fri,21 03 2008 16:56:44</pubDate>
</item>
<item>
<title>About post and get</title>
<description>When you use form in html, you can have two value &quot;post&quot; or &quot;get&quot; for method get: With the HTTP &quot;get&quot; method, the form data set is appended to the URI specified by the action attribute (with a question-mark (&quot;?&quot;) as separator) and this new URI is sent to the processing agent. post: With the HTTP &quot;post&quot; method, the form data set is included in the body of the form and sent to the processing agent. If use get, your action is &quot;test.html?test=1&quot;, the &quot;test=1&quot; will be replaced by form data set, but i...</description>
<link>http://huakaibird.itpub.net/post/19599/454520</link>
<pubDate>Sun,03 02 2008 13:14:50</pubDate>
</item>
<item>
<title>move oracle 10 directory</title>
<description>move oracle from '/opt' to '/disk'&gt;shutdowncp all files;update environment.update pfile,change control files, background_dump_dest, core_dump_dest, user_dump_destsqlplus &quot;/as sysdba&quot;&gt; startup mount pfile='new'&gt;alter database rename file 'old' to 'new'&gt;alter database openok</description>
<link>http://huakaibird.itpub.net/post/19599/449394</link>
<pubDate>Fri,04 01 2008 15:30:51</pubDate>
</item>
 </rdf:RDF>


