티스토리 뷰
DBA를 하다 보니 개발자들이 개발/운영 DB에 CREATE TABLE 하거나 ALTER 문을 날리는 경우가 발생했다.
시노님을 생성해서 작업을 해야 하는게 원칙이긴 하지만 프로젝트 막바지에 이르다 보니 새로 권한 정의가 어렵기 때문에 잠시 트리거(시스템) 을 이용하여 DDL변경을 모니터링 하는 방법을 참고 했다.
Triggers on System Events and User Events
You can use triggers to publish information about database events to subscribers. Applications can subscribe to database events just as they subscribe to messages from other applications. These database events can include:
-
System events
-
Database startup and shutdown
-
Data Guard role transitions
-
Server error message events
-
-
User events
-
User logon and logoff
-
DDL statements (
CREATE
,ALTER
, andDROP
) -
DML statements (
INSERT
,DELETE
, andUPDATE
)
-
Triggers on system events can be defined at the database level or schema level. The DBMS_AQ
package is one example of using database triggers to perform certain actions. For example, a database shutdown trigger is defined at the database level:
'데이터베이스 > 오라클' 카테고리의 다른 글
오라클 DEPENDANCY CHECK SQL (0) | 2008.01.22 |
---|---|
오라클 DB 오브젝트 현황표 만들기 (0) | 2008.01.22 |
DBA 는 얼마나 시간을 쓰나?(오라클 PT자료 중에서..) (0) | 2008.01.20 |
LOB 타입 DB link 카피 방법 (0) | 2008.01.16 |
Using Oracle DDL Triggers (0) | 2008.01.16 |
오라클 DBA VIEW (0) | 2008.01.15 |
insert 문에 values 안에 select 문이 들어 간다? (0) | 2008.01.15 |
오라클 오브젝트 사용 현황 (0) | 2008.01.10 |
import 시 분당 insert 갯수 보기 (0) | 2007.12.28 |
NHN 2차 최종 면접 - 어리버리 1차 면접 합격(경력직) (4) | 2007.12.12 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- DB
- 오라클
- 습관의힘
- shared everything
- 튜닝
- oracle
- 다짐
- 아웃라이어
- CUBRID
- auto increment
- 일본전산
- 꿈
- 셀프 조인
- shared all
- 성공의길
- 프로젝트
- getGeneratedKeys
- 디자인패턴
- 바이오해킹
- 퇴사
- 카이에 소바주 시리즈
- Datapump
- ChatGPT
- 구글
- 데이터과학
- 구조주의 인류학
- 브레인피드백
- 커뮤니케이션의 7가지 나쁜 습관들
- NHN 면접
- 큐브리드
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함