논리적 이름: 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이름
'문돌이의 IT > Oracle' 카테고리의 다른 글
오픈소스DB mariadb 설치하기 (0) | 2016.12.07 |
---|---|
데이터베이스 쿼리문 연습 (0) | 2016.07.29 |
오라클 ORA-02298: cannot validate() - parent keys not found 에러 (0) | 2016.04.19 |
오라클 java.sql.SQLSyntaxErrorException: ORA-00917: missing comma (0) | 2016.04.17 |
오라클(oracle) 시퀀스(sequence) 생성, 변경 및 삭제 (0) | 2016.04.16 |