DBA가 되고 싶은 병아리
SQL Dictionary의 정리 본문
ALL_COL_PRIVS_MADE
ALL_COL_PRIVS_MADE에서 설명되는 것은 칼럼의 object grants의 상황이 현재 사용자에 대해서 어떻게 구성되어 있는가를 보여준다.
Related View
USER_COL_PRIVS_MADE의 칼럼을 전개하게 되면 현재 사용자가 소유하고 있는 오브젝트의 상황을 파악할 수 있습니다. 이 View는 OWNER열에 표시되지 않습니다.
Column | Datatype | NULL | Description |
GRANTEE | VARCHAR2(30) | NOT NULL | Name of the user to whom access was granted |
OWNER | VARCHAR2(30) | NOT NULL | Owner of the object |
TABLE_NAME | VARCHAR2(30) | NOT NULL | Name of the object |
COLUMN_NAME | VARCHAR2(30) | NOT NULL | Name of the column |
GRANTOR | VARCHAR2(30) | NOT NULL | Name of the user who performed the grant |
PRIVILEGE | VARCHAR2(40) | NOT NULL | Privilege on the column |
GRANTABLE | VARCHAR2(3) |
| Indicates whether the privilege was granted with the GRANT OPTION (YES) or not (NO) |
ALL_COL_PRIVS_RECD
ALL_COL_PRIVS_RECD는grant의 타입을 알 수가 있습니다.
현 사용자에게 부여된 컬럼 오브젝트의 권한
role혹은 Public으로 부여된 컬럼 오브젝트의 권한
Related View
USER_COL_PRIVS_RECD는 현 사용자에게 부여된 컬럼 오브젝트의 권한을 볼수가 있습니다. 이 뷰에서는GRANTEE컬럼은 표시되지 않습니다.
Column | Datatype | NULL | Description |
GRANTEE | VARCHAR2(30) | NOT NULL | Name of the user to whom access was granted |
OWNER | VARCHAR2(30) | NOT NUL | Owner of the object |
TABLE_NAME | VARCHAR2(30) | NOT NULL | Name of the object |
COLUMN_NAME | VARCHAR2(30) | NOT NULL | Name of the column |
GRANTOR | VARCHAR2(30) | NOT NULL | Name of the user who performed the grant |
PRIVILEGE | VARCHAR2(40) | NOT NULL | Privilege on the column |
GRANTABLE | VARCHAR2(3) |
| Indicates whether the privilege was granted with the GRANT OPTION (YES) or not (NO) |
ALL_TAB_PRIVS_MADE
ALL_TAB_PRIVS_MADE는 현 사용자에 대한 오브젝트의 권한과 소유권에 대해서 알 수가 있습니다.
Related View
USER_TAB_PRIVS_MADE는 현 사용자에 대한 오브젝트의 권한과 소유권에 대해서 알 수가 있습니다.
이 View는 Owner 컬럼을 표시하지 않습니다.
Column | Datatype | NULL | Description |
GRANTEE | VARCHAR2(30) | NOT NULL | Name of the user to whom access was granted |
OWNER | VARCHAR2(30) | NOT NULL | Owner of the object |
TABLE_NAME | VARCHAR2(30) | NOT NULL | Name of the object |
GRANTOR | VARCHAR2(30) | NOT NULL | Name of the user who performed the grant |
PRIVILEGE | VARCHAR2(40) | NOT NULL | Privilege on the object |
GRANTABLE | VARCHAR2(3) |
| Indicates whether the privilege was granted with the GRANT OPTION (YES) or not (NO) |
HIERARCHY | VARCHAR2(3) |
| Indicates whether the privilege was granted with the HIERARCHY OPTION (YES) or not (NO) |
ALL_TAB_PRIVS_RECD
ALL_TAB_PRIVS_RECD은 다음 타입에 대한 권한을 따릅니다.
현 사용자의 오브젝트 권한
사용이 가능한 Role 혹은 Public에 관련된 오브젝트 권한
Related View
USER_TAB_PRIVS_RECD은 현 사용자에 대한 오브젝트 권한을 표시합니다. 이 뷰에서는 Grantee컬럼을 표시하지 않습니다.
Column | Datatype | NULL | Description |
GRANTEE | VARCHAR2(30) | NOT NULL | Name of the user to whom access was granted |
OWNER | VARCHAR2(30) | NOT NULL | Owner of the object |
TABLE_NAME | VARCHAR2(30) | NOT NULL | Name of the object |
GRANTOR | VARCHAR2(30) | NOT NULL | Name of the user who performed the grant |
PRIVILEGE | VARCHAR2(40) | NOT NULL | Privilege on the object |
GRANTABLE | VARCHAR2(3) |
| Indicates whether the privilege was granted with the GRANT OPTION (YES) or not (NO) |
HIERARCHY | VARCHAR2(3) |
| Indicates whether the privilege was granted with the HIERARCHY OPTION (YES) or not (NO) |
DBA_COL_PRIVS
DBA_COL_PRIVS는 데이터베이스에 존재하는 모든 컬럼 오브젝트의 권한을 나타냅니다.
Related View
USER_COL_PRIVS는 현 사용자의 오브젝트 소유권, 권한부여, 권한에 대한 컬럼 오브젝트의 권한을 나타냅니다.
Column | Datatype | NULL | Description |
GRANTEE | VARCHAR2(30) | NOT NULL | Name of the user to whom access was granted |
OWNER | VARCHAR2(30) | NOT NULL | Owner of the object |
TABLE_NAME | VARCHAR2(30) | NOT NULL | Name of the object |
COLUMN_NAME | VARCHAR2(30) | NOT NULL | Name of the column |
GRANTOR | VARCHAR2(30) | NOT NULL | Name of the user who performed the grant |
PRIVILEGE | VARCHAR2(40) | NOT NULL | Privilege on the column |
GRANTABLE | VARCHAR2(3) |
| Indicates whether the privilege was granted with the GRANT OPTION (YES) or not (NO) |
참고 : "USER_COL_PRIVS"
DBA_ROLES
DBA_ROLES는 데이터베이스에 존재하는 모든 role에 관련된 리스트를 표시합니다.
Column | Datatype | NULL | Description |
ROLE | VARCHAR2(30) | NOT NULL | Role name |
PASSWORD_REQUIRED | VARCHAR2(8) |
| Indicates if the role requires a password to be enabled |
DBA_SYS_PRIVS
DBA_SYS_PRIVS는 사용자나 role에 주어진 시스템 권한을 나타냅니다. 이 뷰에는 username 컬럼을 표시하지 않습니다.
Related View
DBA_SYS_PRIVS는 현 사용자가 소유한 시스템 권한을 나타냅니다.
Column | Datatype | NULL | Description |
GRANTEE | VARCHAR2(30) | NOT NULL | Grantee name, user, or role receiving the grant |
USERNAME | VARCHAR2(30) |
| Name of the current user |
PRIVILEGE | VARCHAR2(40) | NOT NULL | System privilege |
ADMIN_OPTION | VARCHAR2(3) |
| Grant was with the ADMIN option |
DBA_TAB_PRIVS
DBA_TAB_PRIVS는 데이터베이스의 모든 오브젝트의 권한을 나타냅니다.
Related View
USER_TAB_PRIVS은 사용자의 오브젝트 소유와 소유의 이전, 권한에 대한 설명을 볼 수 있습니다.
Related View
USER_TAB_PRIVS은 사용자의 오브젝트 소유와 소유의 이전, 권한에 대한 설명을 볼 수 있습니다.
Column | Datatype | NULL | Description |
GRANTEE | VARCHAR2(30) | NOT NULL | Name of the user to whom access was granted |
OWNER | VARCHAR2(30) | NOT NULL | Owner of the object |
TABLE_NAME | VARCHAR2(30) | NOT NULL | Name of the object. The object can be any object, including tables, packages, indexes, sequences, and so on. |
GRANTOR | VARCHAR2(30) | NOT NULL | Name of the user who performed the grant |
PRIVILEGE | VARCHAR2(40) | NOT NULL | Privilege on the object |
GRANTABLE | VARCHAR2(3) |
| Indicates whether the privilege was granted with the GRANT OPTION (YES) or not (NO) |
HIERARCHY | VARCHAR2(3) |
| Indicates whether the privilege was granted with the HIERARCHY OPTION (YES) or not (NO) |
참고 : "USER_TAB_PRIVS"
ROLE_ROLE_PRIVS
ROLE_ROLE_PRIVS는 Role의 다른 roles에 대한 권한에 대한 내용입니다. 이 내용에 대해서는 권한이 있는 사용자만 접근이 가능 합니다.
Column | Datatype | NULL | Description |
ROLE | VARCHAR2(30) | NOT NULL | Name of the role |
GRANTED_ROLE | VARCHAR2(30) | NOT NULL | Role that was granted |
ADMIN_OPTION | VARCHAR2(3) |
| Signifies that the role was granted with ADMIN option |
ROLE_SYS_PRIVS
ROLE_SYS_PRIVS은 role에 부여된 시스템 권한에 대한 내용입니다. 권한이 있는 사용자만 접근이 가능 합니다.
Column | Datatype | NULL | Description |
ROLE | VARCHAR2(30) | NOT NULL | Name of the role |
PRIVILEGE | VARCHAR2(40) | NOT NULL | System privilege granted to the role |
ADMIN_OPTION | VARCHAR2(3) |
| Signifies the grant was with the ADMIN option |
ROLE_TAB_PRIVS
ROLE_TAB_PRIVS는 테이블에 부여된 role의 권한을 나타냅니다. 사용자가 접근 가능한 role에 대한 정보를 나타냅니다.
Column | Datatype | NULL | Description |
ROLE | VARCHAR2(30) | NOT NULL | Name of the role |
OWNER | VARCHAR2(30) | NOT NULL | Owner of the object |
TABLE_NAME | VARCHAR2(30) | NOT NULL | Name of the object |
COLUMN_NAME | VARCHAR2(30) |
| Name of the column, if applicable |
PRIVILEGE | VARCHAR2(40) | NOT NULL | Object privilege granted to the role |
GRANTABLE | VARCHAR2(3) |
| YES if the role was granted with ADMIN OPTION; otherwise NO |
SESSION_PRIVS
SESSION_PRIVS는 사용자의 현재 사용이 가능한 권한 리스트를 나타냅니다.
Column | Datatype | NULL | Description |
PRIVILEGE | VARCHAR2(40) | NOT NULL | Name of the privilege |
SESSION_ROLES
SESSION_ROLES는 현재 사용자가 사용 중인 role의 리스트를 나타냅니다.
Column | Datatype | NULL | Description |
ROLE | VARCHAR2(30) | NOT NULL | Name of the role |
USER_COL_PRIVS
USER_COL_PRIVS은 현 사용자에게 부여된 오브젝트의 권한, 소유권,
'Oracle Study > Admin I' 카테고리의 다른 글
ASM, DB 자동/수동 구성 (0) | 2012.03.29 |
---|---|
관리 시 유용한 기본 파라메터 (0) | 2012.03.29 |
테이블 용량 조사하는 쿼리 예시 (0) | 2012.02.03 |
대기 이벤트인 10046 진단이벤트 (0) | 2012.02.03 |
IOT(INDEX ORGANIZED TABLE) 란? (0) | 2011.09.05 |