Mir Sayeed Hassan – Oracle Blog

Oracle DBA – Tips & Techniques | Learn with real-time examples

How to Kill Single & Multiple Sessions in Oracle Database 11gR2

Posted by Mir Sayeed Hassan on January 15th, 2019

How to Kill Single & Multiple Sessions in Oracle Database 11gR2

To kill the Oracle session in a database, you should be careful with the consult team to kill the correct session as per there requirement.

Database Status:

sys@TESTDB> select instance_name,version,status from v$instance;

INSTANCE_NAME    VERSION           ... 
Read more..

Posted in DBA Administration | Comments Off on How to Kill Single & Multiple Sessions in Oracle Database 11gR2

ORA-04063: package body “SYS.KUPW$WORKER” has errors

Posted by Mir Sayeed Hassan on January 12th, 2019

ORA-04063: package body “SYS.KUPW$WORKER” has errors

The above error occurs while performing the expdp of the full database in Oracle 11gR2.

Error Log:

[oracle@testdb new_dump]$ cat fulldbrec.log
 ;;;
 Export: Release 11.2.0.4.0 - Production on Sat Jan 12 15:43:42 2019

Copyright (c) 1982, 2011, Oracle and/or its affiliates.... 
Read more..

Posted in ORA-Error | Comments Off on ORA-04063: package body “SYS.KUPW$WORKER” has errors

ORACLE DBA – ACTIVITY CHECKLIST on DAILY/WEEKLY/MONTHLY/NIGHTLY

Posted by Mir Sayeed Hassan on October 21st, 2018

ORACLE DBA – ACTIVITY CHECKLISTon DAILY/WEEKLY/MONTHLY/NIGHTLY

Aim:

This activity checklist is for Oracle DBA to perform the complete health check report of production databases on Daily/Weekly/Monthly basis as per the requirement.

DAILY CHECKLIST

  1. Read more..

Posted in DBA Daily Activity | Comments Off on ORACLE DBA – ACTIVITY CHECKLIST on DAILY/WEEKLY/MONTHLY/NIGHTLY

How to reopen the expired db account without changing the password

Posted by Mir Sayeed Hassan on October 13th, 2018

How to reopen the expired db account without changing the password

Consider you have an expired db account & you need to recover this acccount at any cost as per your client request, Yes its possible to recover it, Find the below scenario tested in our env

Create a test user in database & try to expire this user & recover...
Read more..

Posted in Oracle SQL | Comments Off on How to reopen the expired db account without changing the password

How to export schema with Parallel method by using expdp

Posted by Mir Sayeed Hassan on October 13th, 2018

How to export schema with Parallel method by using expdp

[oracle@testdb dump_bkp]$ expdp system directory=dump_bkp dumpfile=expdp%U-`date '+%d%m%Y_%H%M%S'`.dmp logfile=expdp-`date '+%d%m%Y_%H%M%S'`.log schemas=mir PARALLEL=2

Export: Release 11.2.0.4.0 - Production on Sat Oct 13 15:25:00 2018

Copyright (c) 1982, 2011, Oracle and/or... 
Read more..

Posted in Datapump (Expdp/Impdp) | Comments Off on How to export schema with Parallel method by using expdp

Switchover in Realtime Production database in Oracle 11gR2

Posted by Mir Sayeed Hassan on September 15th, 2018

Switchover in Realtime Production database in Oracle 11gR2

=================
PRIMARY DATABASE
=================

Pre-requisite

SQL> select INSTANCE_NAME,VERSION,STATUS from V$instance;
 
INSTANCE_NAME VERSION STATUS
 ----------------... 
Read more..

Posted in DataGuard (DR) | Comments Off on Switchover in Realtime Production database in Oracle 11gR2