티스토리 뷰

반응형

- tablespace 확인


select tablespace_name, bytes, file_name from dba_data_files;


- tablespace 생성


create tablespace [new table name] datafile '[tablespace name].dbf' size 500M


- user 생성

create user [user name]

identified by [password]

default tablespace [new tablespace name]

quota unlimited on [new tablespace name];

12c에서 ORA-65096: invalid common user or role name 발생 시 user name 앞에 "c##" 을 붙인다. 또는 "alter session set "_ORACLE_SCRIPT"=true;" 를 실행하여 예전 방식으로 사용가능하도록 한다.

예) user name 이 "test" 인 경우 "c##test"로 입력한다.


- user 제거
drop user [user name] cascade;

- user password 변경
alter user [user name] identified by [password];

- 사용자 권한 부여
grant connect, resource to [user name];


반응형
댓글
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함