공부하는가비
2021.05.03 Oracle Storage Structures/User Security 본문
4. Storage Structures
netca
Listener configuration
Naming Methids configuration
Local Net Service configuration
Directory Usage configuration
or
netmgr
*tableapace
: 세그먼트들을 저장하는 공간으로 하나의 세그먼트를 하나의 테이블 스페이스에 분류해서 저장
tablespace type
*contens
-permanent : 휘발되지않고 영구적으로 저장되는것
-undo : 휘발성(해당데이터 전용), 읽기 일관선을 유지하기 위해 사용됨. DML작업시 수정이전의 값을 저장
-temparary : 휘발성, 필수 요소 메모리에 부담을 덜어주기 위해 사용되는 공간
*system관련
-system관련 : 원래 존재 (딕셔너리 저장용 공간,meta data, oracle이 스스로 만들어 존재)
1.system
2.sysaux
-non-system : 나머지 all
*Extent Management
-Dctionary : from system file
단점이 많음, 쓰지 않음 역호환성위해 존재
-Local : 각 datafile의 header에 extent상태를 나타내는 bitmap관리
dba_tablespaces, dba_data_files, EM >server>storage>tablespace
tablespace 관리명령(Permanent tablespace 중심)
1. 생성
create tablespace 'tablespace이름'
datafile '경로,이름' size ;
2. 상태 변경
alter tablespace
1.online (read write)
2.offline
3.read only
3. 용량추가
-file 추가 : alter tablespace 'tablespace이름' add datafile '경로,이름' size' __ ';
-file resize : alter database datafile '경로, 이름' resize' __ ';
4. 삭제
-drop tablespace 'tablespace이름' including contents and datafiles
5.User Security
-인증방식
1.db인증(password)
2.external : 외부인증 잘 사용하지 않는방식
3.global
-Profile : 자원관리, 암호관리에 관한 설정
여러개의 Profile만들 수 있음
-Account status : 유저를 사용할지 하지않을지 결정
Schema = user
(같은 의미로 사용하고 있다)
system권한 : db에 ... 할 수 있다
데이터베이스에서 수행할수있는 시스템 권한
(create table, create view ...)
object권한 : ~의 ....를 access할 수 있는
특정 data를 엑세스하거나 조작하는 권한
(select in emp, insert on, updata, delete)
****권한을 묶어서 한번에 표현하기 위헤
Role
관리가 편하다 성능이 빨라진다 보안을 강화할 수 있다
권한 관리 동적이다
미리 만들어진 롤
resource -> Unlimited Tablespace 권한이 부여된다
table space Quotas 지정 x
'개발 > Oracle' 카테고리의 다른 글
2021.05.06 Oracle implementing Oracle Database Auditing (0) | 2021.05.06 |
---|---|
2021.05.04 Oracle PL/SQL , Oracle Pakege (0) | 2021.05.04 |
2021.04.30 Oracle Network (0) | 2021.04.30 |
2021.04.29 Oracle (0) | 2021.04.29 |
2021.04.29 Oracle (0) | 2021.04.29 |