본문 바로가기

Oracle

Oracle 11g LISTENER OS: Windows Server 2008 DB: Oracle 11g Network: Private Network (Public IP 공유기 사용) ㅁ 특정포트로 리스너를 세팅 후 Database 연결 * 시나리오 환경 - 전역 데이터 베이스 명으로 'dbnet.XXX.com' - 데이터 베이스 SID : dbnet - Private IP : 10.0.0.4 - 리스너명 : LISTENR_DBNET - 리스너포트: 1550 (default 1521를 사용하지 않음) A. 리스너 생성 1. Oracle Net Manager 실행 2. 리스너를 선택 후 [+] 버튼으로 리스너생성 3. [수신위치] 에 탭에 호스트 및 포트 지정 * 서비스 이름 지정의 dbnet은 Database 생성하기 전에 나타나 있지 않.. 더보기
Oracle 11g Client 제거 - Windows 7(x64) [환경] - Windows 7 (x64) - Oracle 11g Client x64 * TOAD 를 사용하려면 32bit용 Oracle Client를 설치해야함 .. x64설치시 'You have no Oracle clients installed' 등의 오류발생 * TOAD는 10.X 버전을 써야 Oracle 11g Client 사용가능(OCI.dll version 문제) * Oracle 10g Client 는 설치시 오류가 발생 # 2011/09/28 현재 - 전적으로 개인 환경임 (XP/Oracle 이전 버전에서는 큰 불편함이 없었는데.. --; ) [Oracle Download] http://www.oracle.com/technetwork/database/enterprise-edition/downl.. 더보기
HINTs #2 - [Oracle] Specifies if any of the tables or indexes in the statement are analyzed, use the Cost Based optimizer otherwise use the Rule Based. If they are analyzed, it uses the cost based optimizer to provide the best response time for batch processing. Processing the SQL statements using ALL_ROWS is the best practice for databases that have large amounts of batch processing, such as Data Warehouses. It is.. 더보기
Hint 요약 - [Oracle] A. initialization parameter중 OPTIMIZER_MODE 지정가능 값 1.ALL_ROWS Goal : Best Throughput 용도 : 전체 RESOURCE 소비를 최소화 시키기 위한 힌트. Cost-Based 접근방식. 예 : SELECT /*+ALL_ROWS */ EMPNO,ENAME FROM EMP WHERE EMPNO = 7655; 2.FIRST_ROWS Goal : Best Response Time 용도 : 조건에 맞는 첫번째 row를 리턴하기 위한 Resource 소비를 최소화 시키기위한 힌트. Cost-Based 접근방식. 특징 : - Index Scan 이 가능하다면 Optimizer가 Full Table Scan 대신 Index Scan을 선택한다. - Index.. 더보기