* failure 유형 및 HAA statement failure :DBAuser process failure :PMONnetwork failure :Network 관리자user error :DBAinstance failure :SMONmedia failure :DBA cf.HAA: 다운타임의 원인과 해결책들 http://gseducation.blog.me/20104367973 * SPOF * backup noarchievelog mode archievelog mode closed backup o o 몽땅 open backup x o **아래정리** * 계속**** database = control file := redo log file : 백업의 대상이 아니다(해도 되지만 안해도된다)= datafile..
* architecture - memory 1. SGA 2. PGA - process 1. user process 2. server process 3. background process 4. 기타 - storage 1. physical - database - redo log file - control file - data file - other files - parameter file - password file - diagnostic file - archieved log file - backup file 2. logical - tablespace -segment- extent- block * oracle database server? = database+instance --------- * block ..
gseducation@naver.com * a/b test 의 중요성.----------------------------------------------------------------------------------------------------------------------------[data 의 발생] - 사람- service- machine 등---------------------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------..
* undo data- a copy of original, premodified data- captured for every tx that changes data- retained at least until the tx is ended- used support to :- rollback operation- read-consistent query 읽기 일관성 (SCN => oracle의 내부시계, 정수값증가)- oracle flashback query, oracle,flashback tx, and oracle flashback table- recovery from failed tx * CR-Block (consistent read block 읽기 일관성을 위해 buffer cache 에 만든 block)*..
ws1 291p ~ * Enterprise manager: user interface 와 유사하다 (직관적). * temp table : (임시 table space) lock 매커니즘의 영향을 받지않는다, drop 되지않는다(?), 영구적으로 보존되지않는다, 다른세션에서 접근할수없다. * undo table: undo segment 자동할당index 용 table space 를 따로 두는것이 일반적이다. * user table: 따로 지정하지않으면 user 의 기본 table space 가 된다.* offline mode : normal 지정시 buffer cache 에 작업하던내용은 저장이 된후에 offline 된다* offline temporary : 논리적으로 잠깐 offline 시킨다. (다시온..
* oracle net service client -> tnsname.ora -> connection alias -> TNS_ADMIN oracle server -> linstner.ora/ sqlnet.ora(profile) / tnsname.ora * connection descripter * listner.ora/sqlnet.ora 의 위치 :$ORACLE_HOME/network/admin /network/admin/listener.ora./sqlnet.ora * names resolution * local naming - ez connect - local connect* central - directory - external * shared server - dedicated server보다 동시에..
* oracle 접속 batch file 생성 * * 오라클 DB 수동 생성 ** - 수동 DB 이름: bigdb 1. 데이터베이스 설치할 디렉토리 구성 - OFA (Optimal Flexible Architecture) - UMF vs. OMF 2. 초기화 파라미터 파일 생성 - pfile (텍스트 파일) 3. 생성하려는 데이터베이스의 인스턴스 결정 - ORACLE_SID 4. SQL*Plus를 사용하여 관리자 권한으로 접속 - startup nomount 5. DATABASE 생성 - CREATE DATABASE ... 6. DB 생성이 끝난 후 추가 작업 - 필수 스크립트 파일 실행 - /etc/oratab 편집 (.oraenv 사용을 위해) - 원격접속지원: 패스워드파일 생성 - 네트워크 설정 -..
* ADR : directory 구조(oracle system 자체에서 관리)- trace- alert log- health monitor reports + single instance 에서도 쓰이지만 multi 에서 더 유용하게 쓰인다 * ADR base (ADR manage) : DIAGNOSTIC_DEST 초기화 파라미터가 ADR BASE 를 나타낸다.ORACLE_BASE 환경변수에 들어간다따로 지정을 안할경우 ORACLE_HOME/LOGADR_BASE = ORACLE_BASEADR_HOME = ADR_BASE/DIAGNOSIC_DEST/(INSTANCE TYPE)/(DB NAME)/INSTANCE NAME)/u01/app/oracle/diag/rdbms/orcl/orcl/(trace or hm o..