달력

122024  이전 다음

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

캐릭터셋 변경

DB 2006. 1. 6. 20:46

CHARACTER SET Conversion

(1) 확인
SVRMGR> select name c1, value$ c1 from sys.props$;

(2) 변경전 작업 -- rbs maxextents, rbs tablespace add,
system tablespace add
SVRMGR> alter rollback segment <rbs3> storage (maxextents 505)
SVRMGR> alter tablespace rbs add
datafile '</~/oradata/VIS/rbs02.dbf>' size 500m;

(3) 변경
SVRMGR> startup
SVRMGR> connect intenral
SVRMGR> update sys.props$ set value$='KO16KSC5601' where name='NLS_CHARACTERSET';
SVRMGR> update sys.props$ set value$='KO16KSC5601' where name='NLS_NCHAR_CHARACTERSET';
SVRMGR> commit;
SVRMGR> shutdown

* init<SID>.ora에서 job_queue_processes, aq_tm_processes,snapshot_refresh_processes항목이 있으면 막아준다...

SVRMGR> startup mount exclusive
SVRMGR> alter system enable restricted session;
SVRMGR> alter database open;
SVRMGR> alter database character set internal_use KO16KSC5601;
SVRMGR> alter database national character set internal_use KO16KSC5601;
SVRMGR> shutdown

* 오라클 환경화일에서 character set을 변경한다.
SVRMGR> startup
SVRMGR> exit
Posted by 알 수 없는 사용자
|