<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>viatoris</title>
		<link>http://blog.viatoris.ne.kr/</link>
		<description></description>
		<language>ko</language>
		<pubDate>Mon, 07 Nov 2011 22:27:06 +0900</pubDate>
		<generator>Tistory 1.1 (http://www.tistory.com/)</generator>
		<item>
			<title>연#2</title>
			<link>http://blog.viatoris.ne.kr/304</link>
			<description>&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile9.uf.tistory.com/image/1339F1244C4C075FF1E6F5&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;VIA_2549.jpg&quot; height=&quot;1000&quot; width=&quot;665&quot;/&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;</description>
			<category>사진이야기</category>
			<category>경안천</category>
			<category>연꽃</category>
			<author>viatoris</author>
			<guid>http://blog.viatoris.ne.kr/304</guid>
			<comments>http://blog.viatoris.ne.kr/304#entry304comment</comments>
			<pubDate>Sun, 25 Jul 2010 18:44:35 +0900</pubDate>
		</item>
		<item>
			<title>연#1</title>
			<link>http://blog.viatoris.ne.kr/303</link>
			<description>&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile21.uf.tistory.com/image/164E6E034C4B807A4E3C34&quot; alt=&quot;&quot; filemime=&quot;&quot; filename=&quot;cfile21.uf@164E6E034C4B807A4E3C34.jpg&quot; height=&quot;532&quot; width=&quot;800&quot;/&gt;&lt;/div&gt;&lt;br /&gt;</description>
			<category>사진이야기</category>
			<category>경안천습지</category>
			<author>viatoris</author>
			<guid>http://blog.viatoris.ne.kr/303</guid>
			<comments>http://blog.viatoris.ne.kr/303#entry303comment</comments>
			<pubDate>Sun, 25 Jul 2010 09:08:42 +0900</pubDate>
		</item>
		<item>
			<title>ORA-22856: cannot add columns to object tables</title>
			<link>http://blog.viatoris.ne.kr/302</link>
			<description>환경: Oracle 9i(OS 상관없음)&lt;br /&gt;
&lt;br /&gt;
증상&lt;br /&gt;
일반적인 테이블에 alter table .. add column .. 시 제목(ORA-22856: cannot add columns to object tables)과 같은 에러 발생.&lt;br /&gt;
&lt;br /&gt;
ORA-22856 내용 : object table이라서 안된다는 내용.하지만 해당 테이블은 object table이 아니다.&lt;br /&gt;
&lt;br /&gt;
솔루션&lt;br /&gt;
1. 해당 table(또는 table partition)이 compress된 상태일 경우 발생할 수 있다.&lt;br /&gt;
&lt;textarea class=&quot;sql&quot; name=&quot;code&quot;&gt;-- nocompress로 변경
SQL&amp;gt; alter table table_name nocompress;
or
SQL&amp;gt; alter table table_name move partition partition_name nocompress;
-- move tablespace 수행(그렇지 않으면 동일에러 발생)
SQL&amp;gt; alter table table_name move tablespace to tablespace_name;
SQL&amp;gt;
&lt;/textarea&gt;

2. 드물게 pctfree가 적을때도 가능하다.&lt;br /&gt;
&lt;br /&gt;결론&lt;br /&gt;
에러 메시지가 Oracle 9i 버그이다.&lt;br /&gt;</description>
			<category>ORACLE</category>
			<category>ORA-22856</category>
			<category>oracle</category>
			<category>table compress</category>
			<author>viatoris</author>
			<guid>http://blog.viatoris.ne.kr/302</guid>
			<comments>http://blog.viatoris.ne.kr/302#entry302comment</comments>
			<pubDate>Wed, 18 Nov 2009 09:38:45 +0900</pubDate>
		</item>
		<item>
			<title>가을 #4</title>
			<link>http://blog.viatoris.ne.kr/301</link>
			<description>&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile6.uf.tistory.com/image/165C322C4AD1E15CAFC3A9&quot; alt=&quot;&quot; filemime=&quot;&quot; filename=&quot;cfile6.uf@165C322C4AD1E15CAFC3A9.jpg&quot; height=&quot;531&quot; width=&quot;800&quot;/&gt;&lt;/div&gt;&lt;br /&gt;
가을#4 단풍의 계절&lt;br /&gt;</description>
			<category>사진이야기</category>
			<category>가을</category>
			<category>사진</category>
			<author>viatoris</author>
			<guid>http://blog.viatoris.ne.kr/301</guid>
			<comments>http://blog.viatoris.ne.kr/301#entry301comment</comments>
			<pubDate>Sun, 11 Oct 2009 22:46:02 +0900</pubDate>
		</item>
		<item>
			<title>가을 #3</title>
			<link>http://blog.viatoris.ne.kr/300</link>
			<description>&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile7.uf.tistory.com/image/14527F244AC8A633E5D4CC&quot; alt=&quot;&quot; filemime=&quot;&quot; filename=&quot;cfile7.uf@14527F244AC8A633E5D4CC.jpg&quot; height=&quot;531&quot; width=&quot;800&quot;/&gt;&lt;/div&gt;&lt;br /&gt;
# 가을#3 - 이름 모르는 꽃&lt;br /&gt;</description>
			<category>사진이야기</category>
			<category>가을</category>
			<category>꽃</category>
			<category>사진이야기</category>
			<author>viatoris</author>
			<guid>http://blog.viatoris.ne.kr/300</guid>
			<comments>http://blog.viatoris.ne.kr/300#entry300comment</comments>
			<pubDate>Sun, 04 Oct 2009 22:42:39 +0900</pubDate>
		</item>
		<item>
			<title>가을 #2</title>
			<link>http://blog.viatoris.ne.kr/299</link>
			<description>&lt;div&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile2.uf.tistory.com/image/16722B2A4AC857828E4CB9&quot; alt=&quot;&quot; filemime=&quot;&quot; filename=&quot;cfile2.uf@16722B2A4AC857828E4CB9.jpg&quot; height=&quot;532&quot; width=&quot;800&quot;/&gt;&lt;/div&gt;&lt;br /&gt;
#가을 햇살.&lt;br /&gt;
&lt;/div&gt;</description>
			<category>사진이야기</category>
			<category>가을</category>
			<category>가을햇살</category>
			<category>사진</category>
			<category>사진이야기</category>
			<author>viatoris</author>
			<guid>http://blog.viatoris.ne.kr/299</guid>
			<comments>http://blog.viatoris.ne.kr/299#entry299comment</comments>
			<pubDate>Sun, 04 Oct 2009 17:06:45 +0900</pubDate>
		</item>
		<item>
			<title>가을 #1</title>
			<link>http://blog.viatoris.ne.kr/298</link>
			<description>&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile23.uf.tistory.com/image/204D43114AC7387C4D6F9F&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;VIA_2098.jpg&quot; height=&quot;532&quot; width=&quot;800&quot;/&gt;&lt;/div&gt;&lt;br /&gt;
# 가을&lt;br /&gt;</description>
			<category>사진이야기</category>
			<category>가을</category>
			<category>코스모스</category>
			<author>viatoris</author>
			<guid>http://blog.viatoris.ne.kr/298</guid>
			<comments>http://blog.viatoris.ne.kr/298#entry298comment</comments>
			<pubDate>Sat, 03 Oct 2009 20:40:40 +0900</pubDate>
		</item>
		<item>
			<title>서울숲-동호대교간 파노라마</title>
			<link>http://blog.viatoris.ne.kr/297</link>
			<description>&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfile25.uf.tistory.com/image/1967150E4ABF5730773C78&quot; alt=&quot;&quot; filemime=&quot;image/jpeg&quot; filename=&quot;서울숲_동호대교-2.jpg&quot; height=&quot;117&quot; width=&quot;824&quot;/&gt;&lt;/div&gt;&lt;br /&gt;
오랫만에 중랑천을 걸었다. 서울숲(뚝섬)-동호대교간 전경&lt;br /&gt;
&lt;br /&gt;</description>
			<category>사진이야기</category>
			<category>사진</category>
			<category>서울숲</category>
			<category>파노라마</category>
			<author>viatoris</author>
			<guid>http://blog.viatoris.ne.kr/297</guid>
			<comments>http://blog.viatoris.ne.kr/297#entry297comment</comments>
			<pubDate>Sun, 27 Sep 2009 21:16:24 +0900</pubDate>
		</item>
		<item>
			<title>code syntax 적용 테스트</title>
			<link>http://blog.viatoris.ne.kr/296</link>
			<description>&lt;a href=&quot;http://pupustory.tistory.com/48&quot;&gt;pupustory@&lt;/a&gt;님의 글을 참조하여 적용하였습니다.&lt;br /&gt;
&lt;br /&gt;
아래 쿼리는 oracle에서 active sesseion이 어떤 작업을 수행하고 있는지 보여주는 쿼리입니다.&lt;br /&gt;

&lt;textarea class=&quot;sql&quot; name=&quot;code&quot;&gt;SELECT A.LAST_CALL_ET EL_TIME,
       TO_CHAR(SYSDATE, &#039;yyyyMMdd hh24:mi:ss&#039;) DT,
       A.INST_ID ,
       A.SID,
       A.SERIAL# ,
       A.EVENT,
       A.SECONDS_IN_WAIT,
       A.USERNAME ,
       DECODE(A.MODULE,NULL,A.PROGRAM,SUBSTR(A.MODULE,1,30)) MODULE,
       A.SQL_ID,
       DECODE(A.COMMAND,3,&#039;S&#039;,2,&#039;I&#039;,6,&#039;U&#039;,7,&#039;D&#039;,COMMAND) C,
       A.OSUSER,
       B.SPID,
       (SELECT OBJECT_NAME 
          FROM DBA_OBJECTS C 
         WHERE C.OBJECT_ID = ROW_WAIT_OBJ# )||&#039;-&amp;gt;&#039;||
                              a.row_wait_obj#||&#039;.&#039;||
                              row_wait_file#||&#039;.&#039;||
                              row_wait_block#||&#039;.&#039;||row_wait_row# &quot;OBJ_NAME&quot;,
       DECODE(SUBSTR(A.EVENT,1,3),&#039;enq&#039;,
              DECODE(CHR(BITAND(A.P1,-16777216)/16777215)||CHR(BITAND(A.P1, 16711680)/65535),
                     &#039;TX&#039;, CHR(BITAND(A.P1,-16777216)/16777215)||
                           CHR(BITAND(A.P1, 16711680)/65535)||&#039;-&#039;||
                           TO_CHAR( BITAND(A.P1, 65535) )||&#039;,&#039;||
                           &#039;USN.SLOT:&#039;||BITAND(A.P2, 4294901760)/65536||&#039;.&#039;||
                            BITAND(A.P2, 65535)||&#039;,&#039;||&#039;WRAP:&#039;||A.P3, A.P1||&#039;,&#039;||A.P2||&#039;,&#039;||A.P3), 
                           a.p1||&#039;,&#039;||a.p2||&#039;,&#039;||a.p3) PARAM
  FROM GV$SESSION A, GV$PROCESS B
 WHERE WAIT_CLASS &amp;lt;&amp;gt; &#039;Idle&#039;
   AND STATUS =&#039;ACTIVE&#039;
   AND A.INST_ID = B.INST_ID
   AND A.PADDR = B.ADDR(+)
 ORDER BY A.LAST_CALL_ET
&lt;/textarea&gt;&lt;br /&gt;
&lt;br /&gt;
수행시간(ET), obj_name, event, sql_id 컬럼을 위주로 모니터링 하면, 분석에 많은 도움을 받을 수 있습니다.</description>
			<category>ORACLE</category>
			<category>SQL</category>
			<category>모니터링</category>
			<category>오라클</category>
			<author>viatoris</author>
			<guid>http://blog.viatoris.ne.kr/296</guid>
			<comments>http://blog.viatoris.ne.kr/296#entry296comment</comments>
			<pubDate>Fri, 28 Aug 2009 16:45:29 +0900</pubDate>
		</item>
		<item>
			<title>&#039;09년 8월 올림픽 공원</title>
			<link>http://blog.viatoris.ne.kr/295</link>
			<description>&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfs13.tistory.com/image/36/tistory/2009/08/25/00/26/4a92b109041fd&quot; alt=&quot;사용자 삽입 이미지&quot; height=&quot;1064&quot; width=&quot;708&quot;/&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;http://cfs12.tistory.com/image/32/tistory/2009/08/25/00/25/4a92b0f670d73&quot; alt=&quot;사용자 삽입 이미지&quot; height=&quot;547&quot; width=&quot;824&quot;/&gt;&lt;/div&gt;</description>
			<category>사진이야기</category>
			<category>사진</category>
			<category>올림픽공원</category>
			<author>viatoris</author>
			<guid>http://blog.viatoris.ne.kr/295</guid>
			<comments>http://blog.viatoris.ne.kr/295#entry295comment</comments>
			<pubDate>Tue, 25 Aug 2009 00:26:27 +0900</pubDate>
		</item>
	</channel>
</rss>

