DATABASE

Compile Invalid objects in oracle

Objects in the database can become invalid, if there are any changes to the dependent objects. Even patch and upgrade can also make the object invalid. Compiling the invalid objects can make them valid if they are eligible.   Below is the query to find the invalid objects currently present in the database.

1. […]

Load data from excel sheet to oracle table

  In this article, we will explain different methods to load data from excel sheet into Oracle database. Below are the methods that can be used. SQL DEVELOPER  SQLCL utility  TOAD SQLLOADER Here we will explain how to do this with SQL developer and SQLCL utility. USING SQLDEVELOPER TOOL: SQL developer is a free tool […]

Force logging in oracle

What is force logging: If force logging is enabled, all the database changes will be logged in redo log files, even for nologging operations.The above means that if FORCE LOGGING is enabled at a higher level, the NOLOGGING at a lower level has no effect. That means that even for a nologging table redo information […]

resumable_timeout parameter in oracle database

resumable_timeout is an initialization parameter introduced in Oracle 9i.  This parameter defines the duration in seconds, for which the statements will be suspended if there is no space available in the tablespace for that operation. Once we add space to that tablespace, those transactions will resume their operation. Let’s see the below example:

The […]

Schedule expdp job in dbms_scheduler

We usually schedule expdp jobs in a standard shell script.  But the same can be achieved using dbms_scheduler utility also. Below are steps for scheduling expdp job. Here we will schedule a full expdp backup of the database, which will run daily at 11:30 HRS. 1. First, prepare the parfile

2. Now create the […]

Scheduler jobs in oracle

To schedule a job at a particular time in the database, first we need to create a schedule, then a program and then job. 1. Create a schedule A schedule defines the start date, end time and repeat interval details

2. Create a program: A program defines the name and type of the procedure, […]

User Management in Oracle

User is basically used to connect to database. All db objects like table,index,view etc can be created under that user.In Oracle, users and schemas are essentially the same thing. You can consider that a user is the account you use to connect to a database, and a schema is the set of objects (tables, views, […]

Tablespace Management in oracle

What is a tablespace and datafile: Tablespace is the primary logic structure of the oracle database. It consists of one or more physical datafiles. Datafiles physical stores database data in storage.(DISKS) . So when we create a datafile of 30G in database, it will eat 30G of space from defined storage. All the table or […]

Cloning Oracle home from one server to another server

    Below are the steps for cloning ORACLE_HOME from one server to another server. 1. Check the oracle_home inventory [ SOURCE DB]

2. Check the ORACLE_HOME size[ SOURCE DB]

3. Create the ORACLE_HOME directory [TARGET HOST]

4. Take ORACLE_HOME binary backup [ SOURCE HOST]

5. Scp the tar file to […]

Clone a RAC database to Standalone database using RMAN backup

                    Cloning from a RAC database to standalone database, can be done either using ACTIVE CLONE or by taking  a RMAN backup from RAC database and restoring in standalone database. SEE ALSO – RMAN ACTIVE CLONING Here in this article,we will show db cloning by taking […]

Page 2 of 512345
Skip to toolbar