티스토리 뷰
원격 연결 테스트
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' 카테고리의 다른 글
Admin 1. 13장 Performance Management (0) | 2012.10.18 |
---|---|
Admin 1. 12장 Proactive Maintenance(현재냉무) (0) | 2012.10.18 |
Admin 1. 10장 Implementing Oracle Database Security (0) | 2012.10.18 |
Admin 1. 09장 Managing Undo Data (0) | 2012.10.18 |
Admin 1. 08-1 장 PL/SQL (0) | 2012.10.18 |
- Total
- Today
- Yesterday
- 아이폰4
- query 잘림
- 독도
- parameter
- postgresql jsonb
- index
- iPhone
- PL/SQL
- Flashback
- oracle
- 리눅스
- MS-SQL
- postgresql jsonb index
- 출시일
- Backup
- PostgreSQL
- 오라클
- 한글
- postgresql pg_stat_activity
- 아이폰
- 투싼
- 갤럭시S
- SQLPlus
- linux
- Managing Schema Objects
- 인덱스
- 윈도우
- recovery
- tablespace
- iOS5