분류 전체보기(55)
-
DBMS_FILE_TRANSFER 패키지
DBMS_FILE_TRANSFER Package in Oracle Database 10g Oracle 10g has introduced the DBMS_FILE_TRANSFER package which provides an API for copying binary files between database servers. Common Usage Notes COPY_FILE GET_FILE PUT_FILE Common Usage Notes All of the the currently supported procedures have some common usage notes listed below. The user must have read privilege on the source directory objec..
2013.02.05 -
clob 컬럼을 포함한 테이블의 크기 구하기
clob 컬럼을 포함한 테이블의 크기 구하기 select owner ,segment_name table_name , max(bytes)/1024/1024||' MB' table_size, sum(nvl(lbytes,0))/1024/1024||' MB' lob_size, (max(bytes)+sum(nvl(lbytes,0)))/1024/1024||' MB' total_size, (max(bytes)+sum(nvl(lbytes,0)))/1024/1024 as num from ( select a.owner,a.segment_name,a.bytes,c.bytes lbytes from dba_segments a , dba_lobs b , dba_segments c where a.owner in ('EBIZSLI'..
2013.02.05 -
오라클 외부파일 실행
오라클에서 외부파일을 실행할 때 사용하는 OS유저와 패스워드는 $ORACLE_HOME/rdbms/admin에 저장되어 있는 externaljob.ora 파일을 참조함 보통의 경우 아래와 같이 저장됨 1 2 run_user = nobody run_group = nobody 오라클 계저정의 [oracle@ws_stg /app1/dbase/mig/direct]$ m_SECUI_SIGN_LOG_exp.sh Export: Release 10.2.0.4.0 - 64bit Production on Tuesday, 05 February, 2013 11:22:43 Copyright (c) 2003, 2007, Oracle. All rights reserved. Connected to: Oracle Database 10g..
2013.02.05 -
[MIGRATION]소스 컬럼과 타겟 컬럼 매핑
m_job_table : 마이그레이션 대상 소스 소유자, 소스 테이블, 타겟소유자, 타겟 테이블 정보 DBA_TAB_COLUMNS : 오라클 데이터베이스의 테이블 컬럼 정보, 타겟 오라클에서 관리 m_job_table 에 소스 대상 컬럼과 타겟 대상 컬럼을 컬럼 형태로 저장하고 마이그레이션 쉘에서 이 정보를 받아와서 소스 EXTERNAL TABLE 생성, 타겟 EXTERNAL TABLE 생성 테이블, INSERT 시에 활용 m_job_table 구조 CREATE TABLE MIGADMIN.M_JOB_TABLE ( WORK_AREA_CD VARCHAR2(50), WORK_DIV VARCHAR2(1), SHL VARCHAR2(255), WORKFLOW_SEQ NUMBER, WORKFLOW_NAME VARCH..
2013.02.01 -
expdp 수행 중 중단 ORA-31634: job already exists
Export: Release 10.2.0.4.0 - 64bit Production on Wednesday, 30 January, 2013 15:36:41 Copyright (c) 2003, 2007, Oracle. All rights reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production With the Partitioning, Data Mining and Real Application Testing options ORA-31634: job already exists ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79 ORA-06512: at "SYS.K..
2013.01.30 -
티스토리와 페이스북 커넥트 연동
오늘 페이스북 커넥트 연동 서비스를 테스트 해 본다.
2012.05.31