Posts

Showing posts from November, 2014

Stop or kill a datapump job

Summary  A very simple way to stop/kill a datapump job. 1. First check what datapump jobs are running: SQL> select * from dba_datapump_jobs; OWNER_NAME JOB_NAME OPERATION JOB_MODE STATE DEGREE ATTAC ------------------------------ ------------------------------ ------------------- SYSTEM SYS_EXPORT_FULL_01 EXPORT FULL EXECUTING 32 1 2. To stop/kill the datapump job, login as sysdba and execute from sqlplus: DECLARE h1 NUMBER; BEGIN h1 := DBMS_DATAPUMP.ATTACH('JOB_NAME','OWNER_NAME'); DBMS_DATAPUMP.STOP_JOB (h1,1,0); END; / for example: DECLARE h1 NUMBER; BEGIN h1 := DBMS_DATAPUMP.ATTACH('SYS_EXPORT_FULL_01','SYSTEM'); DBMS_DATAPUMP.STOP_JOB (h1,1,0); END; / 3. After stopping the datapump job, oracle removes and the dmp files that already have been produced. Check again:  SQL> select * from dba_datapump_jobs;

Install Oracle 11G Release 2 RAC (11.2) on Oracle Linux 5 (OEL5)

Article presents quick installation of Oracle Enterprise RAC 11.2.0.3 on Oracle Enterprise Linux 5 using Oracle Virtual Box. Architecture Software used: Oracle Virtual Box – 64 bit Oracle Enterprise Linux 5 – 64 bit Oracle Database 11G Release 2(11.2.0.3) – 64 bit for Linux Binaries 11.2.0.3 p10404530_112030_Linux-x86-64_1of7.zip - database software p10404530_112030_Linux-x86-64_2of7.zip - database software p10404530_112030_Linux-x86-64_3of7.zip - grid software Two virtual machines are created: yesbolisetty1.localdomain yesbolisetty2.localdomain.com # Public 192.168.0.135   yesbolisetty1.localdomain        yesbolisetty1 192.168.0.136   yesbolisetty2.localdomain        yesbolisetty2 # Private 192.168.1.135   yesbolisetty1-priv.localdomain   yesbolisetty1-priv 192.168.1.136   yesbolisetty2-priv.localdomain   yesbolisetty2-priv # Virtual 192.168.0.137   yesbolisetty1-vip.localdomain    yesbolisetty1-vip 192.168.0.138   yesbolisetty2-vip.localdomain    yesbolise