티스토리 뷰
원격 연결 테스트
ipconfig ip 확인
lsnrctl status 포트 확인
show parameter service_name 이름 확인
ex) sqlplus scott/tiger@192.168.0.2:1521/orcl
주의!!!
원격 접속 후 conn / as sysdba .. 등 을 할경우 자기 pc로 연결이 됨
** Nat 모드의 vmWare Image(oracle포함)를 Bridge 모드로
Nat모드 : 피씨가 공유처럼 작동(외부에서 연결 안됨. ip개수가 모자랄때 유리.)
Bridge 모드 : vmWareImage가 ip를 직접 할당 받음
절차
-
vmWareSetting 변경
-
db의 셋팅 바꾸기
-
em 재구성
링크 만들기
S SYS> create table student2 as select * from student@lec;
S SCOTT>create database link lec
connect to scott identified by tiger
using 'LEC';
데이타베이스 링크가 생성되었습니다.
S SCOTT>create table student2 as select * from student@lec;
테이블이 생성되었습니다.
Shared server setting
S SYS> create pfile ='/home/oracle/init.ora.090609' from spfile;
File created.
S SYS> alter system set DISPATCHERS = '' scope=both;
System altered.
S SYS> alter system set DISPATCHERS ="(PROTOCOL=TCP)(SERVICE=orcl)(dispatchers=3)" scope=both;
System altered.
S SYS> alter system set MAX_DISPATCHERS=3 scope=both;
System altered.
S SYS> alter system set shared_servers=10 scope=both;
System altered.
S SYS> alter system set MAX_shared_servers=20 scope=both;
System altered.
S SYS> alter system set circuits=300 scope=both;
System altered.
S SYS> alter system set shared_server_sessions=20 scope=both;
System altered.
'DataBase > Oracle' 카테고리의 다른 글
Performing Database Backups (0) | 2010.05.18 |
---|---|
Backup and Recovery Concepts (0) | 2010.05.18 |
Managing Undo Data (0) | 2010.05.18 |
Tablespace (0) | 2010.05.18 |
Port 정보 보는 파일 (0) | 2010.05.18 |
- Total
- Today
- Yesterday
- 아이폰4
- query 잘림
- 아이폰
- MS-SQL
- Backup
- Flashback
- 독도
- Managing Schema Objects
- postgresql jsonb
- PL/SQL
- parameter
- linux
- index
- 인덱스
- 윈도우
- 리눅스
- 오라클
- SQLPlus
- postgresql jsonb index
- 한글
- recovery
- iOS5
- PostgreSQL
- postgresql pg_stat_activity
- 투싼
- 출시일
- iPhone
- 갤럭시S
- oracle
- tablespace