논리적 이름: tablespace

물리적 파일

Tablespace --db1.dbf

     db2.dbf

 

Create tablespace tablespace 이름

Datafile '파일의 저장경로/~.dbf size 용량

 

Create user user

indentified by 비번

Default tablespace tablespace 이름

Quota unlimited on tabelspace 이름;

 

Grant create session, create table to 유저;

 

Drop tablespace tablespace including contents; <-- 테이블이 있어도 무시하고 지워버림, 이후 손으로 DB파일을 지우는데 순서를 반대로 하면 안 됨

 

네트워크를 통해 다른 오라클 접속

Tnsnames.ora 파일을 열고, 편집을 해야 . Xe 파일을 복사해서 위에 붙여넣고

Xe명칭을 바꾸고 ip 넣고

 

Conn 접속 id/pwd@편집할 기재한 tns이름

+ Recent posts