-- ORA-28000: the account is locked 오류시
-- 30일동안(Default) 해당 계정으로 로그인을 하지 않았을 경우 lock 걸림
--
sqlplus "/ as sysdba" 로 접속
-- lock 걸린 User 찾기
SELECT username, account_status, to_char(lock_date,'yy/mm/dd hh24:mi') lock_date, profile
FROM dba_users;
-- Lock 풀기 (유저가 system 일 경우)
ALTER USER SYSTEM account unlock;
-- 패스워드 변경
ALTER USER SYSTEM IDENTIFIED BY manager;
sqlplus hr/hr
conn hr/hr
C:\oraclexe\app\oracle\product\10.2.0\server\RDBMS\ADMIN(실행계획)
@utlxplan.sql
desc plan_table
set autotrace traceonly explan
select * from employees;
[출처] ORA-28000: the account is locked 오류시|작성자 해피보스
1. commit;
alter session enable parallel dml;
alter session set sort_area_size = 1000000;
2. create table temp_table
storage(initial 50m) -- 충분한 extent 할당으로 동적 exent 할당 예방
tablespace another_disk_ts -- 서로 다른 디스크에 저장하여 I/O 분산
nologging -- log양을 최소화시킴
as
select * from the_table
where 1=2; -- table 정의만 생성
3. insert /*+ parallel(temp_table, 4) */ -- 병렬 direct path loading
into temp_table
nologging
select * from the_table
where 삭제되지 않는 row만;
4. truncate table the_table reuse storage; -- 저장공간은 그대로 두고 row만 삭제
5. insert /*+ parallel(the_table, 4) */
into the_table
nologging
select * from temp_table;
위 방법은 3가지 원리를 이용한 것입니다.
1. delete보다 insert가 훨씬 적은양의 rollback 및 redolog 양을 발생시킴.
2. delete보다 truncate가 훨씬 빠름.
3. parallel direct path loading 및 nologging을 이용한 속도향상
delete되는 양이 많다면 위 방법이 효과가 있을 것입니다.
parallel operation은 CPU 가 많고 메모리도 충분할 때 효과가 있습니다.
[출처] 대랑 Delete 작업시..|작성자 난나
Tag : delete, Direct loading, Oracle
장점
1. Memory 안씀
2. HWM Bumpup 안씀
3. Undo 안씀
Undo에는 각 user들의 transaction의 내용들이 기록(블록 위치)
4. Log ahead 안씀(옵션)
5. 1분당 2GB처리
Tag : APPEND, Direct loading, Oracle
기존 프로파일을 *.REG 형식으로 저장하는 방법입니다..참고하세요..
1.시작->실행->regedit
2.레지스트리 편집기에서 [HKEY_USERS] - [.DEFUALT] - [Software]- [IPOperator] - 백업하려는 프로파일 마우스 오른쪽 버튼 - 내보내기 하실경우( 설정 파일이름.REG) 로저장 됩니다.
3. 설정된 파일을 적용 하는 방법은..더블클릭만 하시면 끝 입니다.
|
| About | ||||
| The EditorList Plug-in provides a view that displays Eclipse's editors in a list for improved editor management. The current version of the EditorList Plug-in is 1.0.7, released Aug. 4, 2005. |
||||
| Get the EditorList Plug-in | ||||
| SourceForge Project |
Download the plug-in and participate in the project development | |||
| Install/Update site | Install the EditorList Plug-in from within Eclipse using the EditorList Install/Update site: http://editorlist.sourceforge.net/site |
|||
| HOWTO | ||||
| 1. If you download the EditorList plug-in zip from the SourceForge project, install it by unzipping the contents of the archive to the "plugins" folder in your Eclipse install directory. 2. Open the EditorList view by clicking Window->Show View->Other...->Basic->EditorList |
||||
| Screenshots | ||||
| ||||
Tag : eclipse, EditorList
ex) select nvl2('','Corea','Korea') from dual;