2005년 3월 31일 목요일

2005년3월31일 읽고 싶은책

한국을 떠나 있는 관계로 읽고 싶은 책이 있어도 금방 구입을 하지 못한다.3개월 전에 읽고 싶은 책이 있어서 (400페이지 정도)해외 배송을
이용해 봤는데 책값에 절반정도 였다 .
책이 3만원에 배송비가 만칠천원 정도..

근데 정말 읽고 싶다..

톰켓 관련
http://www.yes24.com/Goods/FTGoodsView.aspx?goodsNo=1456047&CategoryNumber=001001003011014

커널관련
http://www.yes24.com/Goods/FTGoodsView.aspx?goodsNo=1469757&CategoryNumber=001001003005

http://www.yes24.com/Goods/FTGoodsView.aspx?goodsNo=1461768&CategoryNumber=001001003005001002

DB 변경사항 반영

아침 출근시간에 근희형과 예기하다가 생각난 아이디어
DBTable Mapper
프로젝트 중에 DB Layout이 변경되면 여타 개발자들에게 메일로 변경내용을 알려주게 된다.
하지만 테이블이 불어나고 구조가 복잡해지기 시작하면 실질적 관련이 없는 부분은 무시하고 테이블 변경을 하지않는 경우가 자주 발생하게 된다.

테이블 명을 클래스명으로 하고 각컬럼을 필드로 가지는 일반적 VO 의 형태를 가진 클레스를 가지고 작업을 한다면 그리고 VO클레스를
매일 저녁 재작성해 CVS에 반영 한다면 layout 변경정보를 모든 개발자 들이 공유 할수 있게 되지 않을까.

만들어 보자.

2005년 3월 13일 일요일

Oracle 10g DBPUMP

datapump(10g to 10g)

OS dir 作成
C:>sqlplus /nolog

SQL*Plus: Release 10.1.0.2.0 - Production on 日 3月 13 14:03:03 2005

Copyright (c) 1982, 2004, Oracle. All rights reserved.

SQL> connect sys/sys as sysdba
接続されました。
SQL> create or replace directory exportdir as 'C:datapump'
ディレクトリが作成されました。

SQL> create user sam identified by sam default tablespace users quota unlimited on users;
ユーザーが作成されました。

SQL> grant create any directory to sam;

SQL> grant read,write on directory exportdir to sam
権限付与が成功しました。

SQL>alter user sam default tablespace users quota unlimited on users;

expdp 実行
C:Documents and Settingsoracle>C:Documents and Settingsoracle>expdp sam/sam tables=dbpump dumpfile=exportdir:aaa.dump logfile=exportdir:aaa.log

Export: Release 10.1.0.2.0 - Production on 日曜日, 13 3月, 2005 14:40

Copyright (c) 2003, Oracle. All rights reserved.

接続先: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
"SAM"."SYS_EXPORT_TABLE_01"を起動しています: sam/******** tables=dbpump dumpfile
=exportdir:aaa.dump logfile=exportdir:aaa.log
BLOCKSメソッドを使用して見積り中です...
オブジェクト型TABLE_EXPORT/TABLE/TBL_TABLE_DATA/TABLE/TABLE_DATAの処理中です
BLOCKSメソッドを使用した見積合計: 0 KB
オブジェクト型TABLE_EXPORT/TABLE/TABLEの処理中です
. . "SAM"."DBPUMP" 0 KB 0行がエクスポート
されました
マスター表"SAM"."SYS_EXPORT_TABLE_01"は正常にロード/アンロードされました
******************************************************************************
SAM.SYS_EXPORT_TABLE_01に設定されたダンプ・ファイルは次のとおりです:
C:DATAPUMPAAA.DUMP
ジョブ"SAM"."SYS_EXPORT_TABLE_01"が14:42で正常に完了しました。


impdp実行
C:Documents and Settingsoracle>impdp sam/sam tables=dbpump dumpfile=exportdir:aaa.dump logfile=exportdir:aaa.log
Import: Release 10.1.0.2.0 - Production on 日曜日, 13 3月, 2005 14:45

Copyright (c) 2003, Oracle. All rights reserved.

接続先: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
マスター表"SAM"."SYS_IMPORT_TABLE_01"は正常にロード/アンロードされました
"SAM"."SYS_IMPORT_TABLE_01"を起動しています: sam/******** tables=dbpump dumpfile
=exportdir:aaa.dump logfile=exportdir:aaa.log
オブジェクト型TABLE_EXPORT/TABLE/TABLEの処理中です
オブジェクト型TABLE_EXPORT/TABLE/TBL_TABLE_DATA/TABLE/TABLE_DATAの処理中です
. . "SAM"."DBPUMP" 0 KB 0行がインポートさ
れました
ジョブ"SAM"."SYS_IMPORT_TABLE_01"が14:45で正常に完了しました


dbconsole実行
C:>emctl status dbconsole
Environment variable ORACLE_SID not defined. Please define it.

C:>set ORACLE_SID=jeon

C:>emctl status dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.1.0.2.0
Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved.
http://EVS-D106:5500/em/console/aboutApplication
Oracle Enterprise Manager 10g is running.
------------------------------------------------------------------
Logs are generated in directory C:oracleproduct10.1.0db_1/EVS-D106_jeon/sysm
an/log

2005년 3월 7일 월요일

1달 가까이 가는 감기.

3월도 1주일이 훌쩍 지나 버렸다.
회사 일은 다들 바쁜데 구현 부분을 끝내버린 나는 한가하다.
Https에 soap로 EJB를 어쩌구 저쩌구 하는데..
AP서버단에서 이미 구현 되어져 있는거 아닌가.?
SOAP메세지형식만 서로 정해주면 클라이언트에서 서버 호출하고
EJB실행하고 결과 돌려 주면 되는듯 한데...음...
감기라 집중이 않된다..코가 막혀서 ..
퇴근 해야 겠다.

2005년 3월 4일 금요일

pgcluster

DB Cluster
OpenSource 가능성

http://www.csra.co.jp/~mitani/jpug/pgcluster/docs/okinawa_2004.pdf
http://www.sra.co.jp/tepia1205/document/B-2-1.pdf