Mir Sayeed Hassan – Oracle Blog

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

Reorganizing or Shrink table/index in Oracle 11gR2 DB

Posted by Mir Sayeed Hassan on November 28th, 2017

Reorganizing or Shrink table/index in Oracle 11gR2 DB

A Simple demonstration to perform shrinking the object in Oracle Database 11gR2

[oracle@testdb ~]$ !sq
SQL> conn mir/****
Connected.
SQL> create table shrink_test as select 'Oracle_shrink_method' as product, mod(rownum,5) as... 
Read more..

Posted in DBA Administration | Comments Off on Reorganizing or Shrink table/index in Oracle 11gR2 DB

Clear old alert in Enterprise Manager (EM) manually from database

Posted by Mir Sayeed Hassan on November 26th, 2017

Clear old alert in Enterprise Manager (EM) in Oracle Database

Given alert shows the old alert which is not require to be present in database, Hence need to clear manually as shown below:

Read more..

Posted in EM (Enterprise Manager) | Comments Off on Clear old alert in Enterprise Manager (EM) manually from database

How to connect Oracle 12c database (CDB and PDB)

Posted by Mir Sayeed Hassan on October 14th, 2017

How to connect Oracle 12c database (CDB and PDB) 

  • Container Database (CDB)
  • Pluggable Database (PDB)
[oracle@ora12c ~]$ !sq
sqlplus / as sysdba
SQL> show con_name

CON_NAME
------------------------------
CDB$ROOT
SQL> select... 
Read more..

Posted in Oracle 12C & 18C | Comments Off on How to connect Oracle 12c database (CDB and PDB)

How to export partition table by using expdp

Posted by Mir Sayeed Hassan on October 9th, 2017

How to export partition table by using expdp

 Consider the below example tested in our test env & verified

Create the directory at OS Level to place the backup of the dumpfile

[oracle@testdb backup]$ mkdir db_dump_bkp
[root@testdb backup]#... 
Read more..

Posted in Datapump (Expdp/Impdp) | Comments Off on How to export partition table by using expdp

How to export schema with compression method by using expdp

Posted by Mir Sayeed Hassan on October 9th, 2017

How to export schema with compression method by using expdp

Consider the below example tested in our test env & verified

Create the directory at OS Level to place the backup of the dumpfile

[oracle@testdb backup]$ mkdir db_dump_bkp
[root@testdb backup]# chmod -R 777 db_dump_bkp/

Create...
Read more..

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

How to export full database level by using expdp

Posted by Mir Sayeed Hassan on October 9th, 2017

How to export full database level by using expdp

Consider the below example tested in our test env & verified

Create the directory at OS Level to place the backup of the dumpfile

[oracle@testdb backup]$ mkdir db_dump_bkp
[root@testdb backup]# chmod -R 777 db_dump_bkp/

Create...
Read more..

Posted in Datapump (Expdp/Impdp) | Comments Off on How to export full database level by using expdp