user 생성
SYS>create user bob
2 identified by aaaa
3 default tablespace insa
4 temporary tablespace temp
5 quota 1m on insa
6 quota 1m on indx;
password expire
account unlock
profile scott_prof;
quota unlimited on insa;
2 identified by aaaa
3 default tablespace insa
4 temporary tablespace temp
5 quota 1m on insa
6 quota 1m on indx;
password expire
account unlock
profile scott_prof;
quota unlimited on insa;
user 삭제
SYS>drop user kay;
User dropped.
User dropped.
user에게 권한 부여
SYS>grant create session, create table to bob,kay;
Grant succeeded.
Grant succeeded.
user의 default_tablespace와 temporary_tablespace 검색
SYS>select username, default_tablespace, temporary_tablespace from dba_users
2 where lower(username) in ('kay','bob');
2 where lower(username) in ('kay','bob');
사용자별 talbespace 할당량 검색
SYS>select *
2 from dba_ts_quotas;
2 from dba_ts_quotas;
사용자의 password 지우기
SYS>alter user bob
2 password expire;
2 password expire;
user의 속성 바꾸기
SYS>alter user <user명>
<바뀐 속성 내용>
<바뀐 속성 내용>
'Admin' 카테고리의 다른 글
| undo tablespace 생성과 관리 9i (0) | 2008/10/29 |
|---|---|
| archive log mod 설정(9i 10g) (0) | 2008/10/28 |
| user 생성과 관리 (0) | 2008/10/24 |
| index 사용 유무 모니터링 (0) | 2008/10/22 |
| Checking indexes (0) | 2008/10/22 |
| Temporary tablespace 생성과 default temporary tablespace 지정 (0) | 2008/10/22 |
TAG User

댓글을 달아 주세요