Mir Sayeed Hassan – Oracle Blog

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

Managing Temporary Tablespaces in Oracle database 11gR2

Posted by Mir Sayeed Hassan on February 10th, 2018

Managing Temporary Tablespaces in Oracle database 11gR2

The temporary tablespace is basically used for sorting the large tables in database & database should contain 1 temp tbs in it, this temp tbs are created while creation of the database itself, Therefore if it requires you can create multiple temp tbs in the database.

sys@TESTDB>... 
Read more..

Posted in DBA Administration | Comments Off on Managing Temporary Tablespaces in Oracle database 11gR2

Increase or decrease the size of Tablespace and Datafiles in Oracle database 11gR2

Posted by Mir Sayeed Hassan on February 10th, 2018

Increase or decrease the size of Tablespace and Datafiles in Oracle database 11gR2

 To Increase/extend the Size of a tablespace

Method 1 – Increase/Extend the size of the tbs using the resize keyword as shown below:

sys@TESTDB> select INSTANCE_NAME, VERSION from v$instance;

INSTANCE_NAME   ... 
Read more..

Posted in DBA Administration | Comments Off on Increase or decrease the size of Tablespace and Datafiles in Oracle database 11gR2

Managing Redo Logfiles in Oracle database 11gR2

Posted by Mir Sayeed Hassan on February 7th, 2018

Managing Redo Logfiles in Oracle database 11gR2

Brief about the Redo logfiles in an Oracle databases it should contain atleast 2 redo logfile group as mandatory & Oracle writes every statement expect the select statement, Example – update etc, The Oracle writes to the datafile in case if there is power failure or any system crush occur...

Read more..

Posted in DBA Administration | Comments Off on Managing Redo Logfiles in Oracle database 11gR2

Creation of dblink from Oracle to SQL Server

Posted by Mir Sayeed Hassan on January 31st, 2018

Creation of dblink from Oracle to SQL Server

Step by step procedure to create a database link from Oracle Database 11g to SQL Server.

Database Version:

sys@testdb> select INSTANCE_NAME, VERSION from v$instance;

INSTANCE_NAME    VERSION
---------------- -----------
testdb          ... 
Read more..

Posted in DBA Administration | Comments Off on Creation of dblink from Oracle to SQL Server

How to move the table from one tablespace to another in Oracle database 11gR2

Posted by Mir Sayeed Hassan on January 22nd, 2018

How to move the table from one tablespace to another in Oracle database 11gR2

Fallow the step by step procedure as shown below for testing env:

sys@testdb> sho user
USER is "SYS"
sys@testdb> create user mir identified by mir;
User created.
sys@testdb> grant connect,resource... 
Read more..

Posted in DBA Administration | Comments Off on How to move the table from one tablespace to another in Oracle database 11gR2

Installation of the SQL Developer in Linux

Posted by Mir Sayeed Hassan on January 22nd, 2018

Installation of the SQL Developer in Linux

Step by step Procedure to set up the SQL Developer in Linux:

[oracle@testdb etc]$ cat system-release
CentOS Linux release 7.1.1503 (Core)
Dowload the RPM Package for Sql Developer for Linux JDK

Download: JDK1.8

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Filename:...

Read more..

Posted in DB Install & Create | Comments Off on Installation of the SQL Developer in Linux