Check Oracle backup is running - oracle

Just wondering how do I check if a backup is running on an Oracle database. I am on version 11.2.0.2

That depends on how you are doing backups. Are you using RMAN? If you are using recovery manager you can use the corresponding database views like V$RMAN_BACKUP_JOB_DETAILS or V$RMAN_BACKUP_SUBJOB_DETAILS

Related

Need to migrate a production database to a new server in oracle

We want to migrate a production database to a new server
Existing server: Windows 2008/Oracle Enterprise 11g v11.2.0.2/DB size 350GB
New Server: Windows 2012/Oracle Enterprise 12c v12.2.0
As expdp/impdp take many hours due to huge size, please suggest any alternatives.
You want to migrate operating system as well as Oracle version upgrade too. The best choice is export/import. If the size of a database is large and you don't want to take export/import then another option is following.
Take a full cold backup of 11g database at the old server.
Install new Oracle 12c version software only on the new server.
Create spfile,bdump,cdump directories as well as a parameter file.
Restore old backup and upgrade it to Oracle 12c.
These process will take also your time and upgrade issues. As per my recommendation best option is export/import. If your database size is 350 gb then your export dump file will be around 100-120gb only (maybe lesser size). It won't take too much time.
To reduce database downtime, use standby technology.
Install Oracle software only 11g and 12c on the new server.
Perform a hot backup on the old server.
Restore the hot backup to the new server.
Configure the standby between the Oracle servers 11
Make a test migration from 11 to 12 version.
Make a test application on new version DB Oracle 12c
Make a hot backup on the old server.
Restore the hot backup to the new server.
Resync the standby between the Oracle servers 11
Make productive migration from 11 to 12 version.

Multiple Oracle 12C Database Installation - Same Server

We are having Windows Server 2012. In that, currently Oracle 12C is up and running. The oracle related files and database files are in a Hard Drive. If in case, that drive goes down, for a backup perspective i am planning to install one more oracle 12C in the same server, but in different drive. So that, if the Primary Database is crashed, the secondary database can be used.
Is that possible to install one more Oracle 12C version, in the same server, without the disturbing the 1st instance.
Best solution, create standby database for primary database. Using archive logs standby will be refreshed automatically.

PostgreSQL to Oracle Database with Oracle GoldenGate 11.2.1

I've spent 2 days to sync postgresql database to oracle. Read few books, googled many times..
1. I have setup PostgreSQL on CentOS 6.5 (A) also installed oracle database on this VPS. copied GoldenGate to it.
2. I have already setup 2 oracle VPS using Goldengate and setup as Source (B) and Target (C). I'm trying to sync PostgreSQL to Target VPS.
3. GoldenGate runs on A server without error.
The problem is when I setting up it requires ODBC config (page 14). I'm new to PostgreSQL so little confusing for this..
Also when I google i find only to postgresql from oracle.
Main doc I'm following is http://docs.oracle.com/cd/E35209_01/doc.1121/e29642.pdf
Actually I have found Oracle Golden Gate new features https://blogs.oracle.com/dataintegration/resource/2013-DIFamily/OGG_WinUnix_Rel_Notes_11.2.1.0.7.pdf
Oracle Golden Gate don't support what I want to do.
They say:
Oracle GoldenGate introduces support for PostgreSQL. This support includes the mapping, manipulation,
filtering, and delivery of data from other types of databases to a PostgreSQL database. Oracle GoldenGate
does not support the capture of data from PostgreSQL to other PostgreSQL databases or to other kinds of
databases.
GoldenGate does not support Postgres as a source - only target.
Check out Attunity for what you are trying to do.
Postgres support was only for delivery in Oracle GoldenGate 12.2. Oracle is working on a full capture/delivery support for Postgres. It will be out in a later release post 19c. Please check the OTN website for versions.

BEA : Migration of live workflow instances

I want to migrate database server from Oracle 9i to Oracle 11g (WebLogic version is 8.1 SP5).
After migration, WebLogic version will remain the same. Only database gets changed.
How can I achieve this?
Is taking DB dump before migration and importing dump after migration enough for this task?
Or do I need to do other things as well?
Thanks.
Yes, most likely a DB dump will do the trick. Oracle data types are backward compatible, so, you are covered.

Oracle : Use two different versions of EXP on the same machine?

i have a server (HP-UX) installed with Oracle 10g and several databases on it.
I've been asked to make dumps from these tables for a Oracle 8i database. In order to do this, i need to use the 8i version of the EXP (export) tool of Oracle.
It is still installed on my server but when i want to use it, i get the following error :
EXP-00056: ORACLE error 12705 encountered
ORA-12705: Cannot access NLS data files or invalid environment specified
I presume some files are missing or maybe one of the folder is not in the PATH but i can't find and i really don't want to break the 10g installation.
Someone knows how to do ?
Thanks
Install a 10G client on another system, without modifying the 8I database server,
and connect from the client to the 8I database. Use the export utilities on
the client to generate the export file.

Resources