Mir Sayeed Hassan – Oracle Blog

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

  • Translate

  • It’s Me






  • My Certificates

  • Links

    My Acclaim Certification : Credly Profile
    My Oracle ACE Pro Profile

  • Achievements

    Awarded Top 100 Oracle Blogs from Worldwide - #RANK 39
  • VISITORS COUNT

  • Verified International Academic Qualification from World Education Service (WES)

    Verified International Academic Qualification from World Education Service (WES)

  • Jobs

Archive for October, 2017

Find the Quick General query as per your requirement

Posted by Mir Sayeed Hassan on 4th October 2017

Find the Quick General query as per your requirement Find the status of the database SQL> select status from v$instance; STATUS ———— OPEN SQL> select database_status from v$instance; DATABASE_STATUS —————– ACTIVE Or – To get… Read more..

Posted in MISCELLANEOUS | Comments Off on Find the Quick General query as per your requirement

Manually generate AWR Report in oracle database

Posted by Mir Sayeed Hassan on 3rd October 2017

Manually generating the AWR Report in oracle database SQL> @$ORACLE_HOME/rdbms/admin/awrrpt.sql; Current Instance ~~~~~~~~~~~~~~~~ DB Id    DB Name      Inst Num Instance ———– ———— ——– ———— 4187434325 TESTDB              1 testdb Specify the Report Type ~~~~~~~~~~~~~~~~~~~~~~~ Would… Read more..

Posted in DBA Administration | Comments Off on Manually generate AWR Report in oracle database

Change the existing DB Name to New DB NAME (SID)

Posted by Mir Sayeed Hassan on 3rd October 2017

Change the existing DB Name to New DB NAME (SID) Before performing the below operation, safer side to take a full backup of the database using rman or dumpfile (expdp) Check the existing database name SQL> SELECT DBID,NAME,open_mode from v$database; DBID NAME      OPEN_MODE ——— ———… Read more..

Posted in DBA Administration | Comments Off on Change the existing DB Name to New DB NAME (SID)

Restrict a schema to drop a table from its own

Posted by Mir Sayeed Hassan on 3rd October 2017

Restrict a schema to drop a table from its own SQL> sho user USER is “SYS” SQL> create user mir identified by mir; User created. SQL> grant connect,resource to mir; Grant succeeded. SQL> connect mir/mir; Connected. SQL>  create table… Read more..

Posted in DBA Administration | Comments Off on Restrict a schema to drop a table from its own

Restrict a user to drop from sys user

Posted by Mir Sayeed Hassan on 3rd October 2017

Restrict a user to drop from sys user Find the below tested & verified method SQL> Create user mir identified by mir; SQL> Grant connect, resource to mir; Now user have the privilege to connect & perform DDL,DML Etc Operation SQL> SHO USER USER is “SYS” Create… Read more..

Posted in DBA Administration | Comments Off on Restrict a user to drop from sys user

Install SQL Instant client on Ubuntu

Posted by Mir Sayeed Hassan on 3rd October 2017

Install SQL Instant client on Ubuntu Directly we don’t have the RPM/Zip Packages to install the instant client on Ubuntu, as we need to download the Linux Packages/Zip Files from the Oracle Site (http://www.oracle.com/technetwork/database/features/instant-client/index…)  And convert… Read more..

Posted in DB Install & Create | Comments Off on Install SQL Instant client on Ubuntu