onstat -l 로그 정보 확인
onstat -d 디비 space 정보 확인
onstat -u 현재 사용자 정보 확인
onstat -g sql 현재 실행되는 쿼리 정보 확인
onstat -g sql [session num] 해당 쿼리의 실제 쿼리문 확인
finderr [err num] 에러가 있는 경우 에러 정보 확인
vi online.log
onstat -p profile 확인
onstat -R 큐 확인
onstat -m log 확인
onstat -c 설정 확인
dbaccess stores7 sel.sql : stores7 db를 이용하는 sel.sql 쿼리문 실행
time dbaccess stores7 sel.sql : 이 쿼리문 실행에 걸리는 시간 측정
dbaccess stores7
set explain on; 쿼리의 진행경로 확인
select * from customer where customer_num=119;
vi setexplain.out 위 명령에 대한 결과 확인
dbaccess stores7
update statistics for table customer; 해당 테이블에 대한 최적화 명령
update statistics ; 전체 테이블에 대한 최소 최적화
create database stores_test in yeongye with log;
load from '[unl name]' insert into [table name];
touch [db space name]
chmod 660 [db space name]
chown informix:informix [db space name]
onmonitor 디비 공간 생성 및 공간 추가....
Dbspace -> Create
숙제 : stores7 -> kim 디비생성 및 데이타 로드
- iweb server , ~informix/Daou/temp/un.sh , load.sh 이용
* itislord님에 의해서 게시물 복사되었습니다 (2005-04-24 14:11)
onstat -d 디비 space 정보 확인
onstat -u 현재 사용자 정보 확인
onstat -g sql 현재 실행되는 쿼리 정보 확인
onstat -g sql [session num] 해당 쿼리의 실제 쿼리문 확인
finderr [err num] 에러가 있는 경우 에러 정보 확인
vi online.log
onstat -p profile 확인
onstat -R 큐 확인
onstat -m log 확인
onstat -c 설정 확인
dbaccess stores7 sel.sql : stores7 db를 이용하는 sel.sql 쿼리문 실행
time dbaccess stores7 sel.sql : 이 쿼리문 실행에 걸리는 시간 측정
dbaccess stores7
set explain on; 쿼리의 진행경로 확인
select * from customer where customer_num=119;
vi setexplain.out 위 명령에 대한 결과 확인
dbaccess stores7
update statistics for table customer; 해당 테이블에 대한 최적화 명령
update statistics ; 전체 테이블에 대한 최소 최적화
create database stores_test in yeongye with log;
load from '[unl name]' insert into [table name];
touch [db space name]
chmod 660 [db space name]
chown informix:informix [db space name]
onmonitor 디비 공간 생성 및 공간 추가....
Dbspace -> Create
숙제 : stores7 -> kim 디비생성 및 데이타 로드
- iweb server , ~informix/Daou/temp/un.sh , load.sh 이용
* itislord님에 의해서 게시물 복사되었습니다 (2005-04-24 14:11)
'프로그래밍Tips' 카테고리의 다른 글
다른 서버에 달려있는 백업장비로 백업하기(remote backup) (0) | 2003.12.02 |
---|---|
메가패스 속도향상법 - 네트웍 설정변경법 (0) | 2003.10.18 |
Installing Oracle9i Database on Red Hat Linux 9 (0) | 2003.10.17 |