Oracle: Copy Database Oracle 10.2.0.2 to Oracle 12c - oracle

Currently we have a database running on Oracle 10g (10.2.0.2) in production which needs to be up 24/7, but since it is not supported by the data center, both server OS and Oracle database 10g, we have to move to Oracle 12c as agreed by the superiors. I know I can't use a direct expdp/impdp from 10.2.0.2 to 12.2.0.1. And with limited resources, meaning server resources and no access to oracle support to download oracle 10.2.0.5 patch set or any patch set that is available.
What is the safest and best way with minimal downtime option to move it from 10g to 12c? Do I need to install an 11gR2 software and use it to expdp the data?

The impdp should be downward compatible, but what you can do is:
Do the expdp of your 10.2 database with the 12c software
Use the VERSION parameter of expdp and impdp if you still have problems
You have not told us how big your 10.2 database is and whether you have a limited budget or not. Sometimes the 'superiors' want every last transaction accounted for, and the only way to do this is to use Goldengate. So you can setup the target database, take as long as you need to import the data, and all the while goldengate is keeping the source and target in synch. Goldengate is expensive though and should only be necessary if you have terabytes to deal with.

Related

Reading and Updating data of Oracle DB without License

I've got to update the data of an Oracle DB but I'm not the owner and ain't got any Oracle License.
The goal is to explain to my interlocutor how to create a dump from his Oracle DB, to find out how to restore this dump in a DB (a free version of Oracle or something else), update some data in some tables, and then make another dump to send it back to my interlocutor.
So the differents questions I have are:
1- Is it possible to create a dump (maybe in SQL format) without any specifics dependencies to Oracle ?
2- Is there a way to restore this dump in a free lightweight Oracle, or another kind of DB like Postgresql ?
3- Does Oracle, is able to handle any kind of dump et restore it in an Oracle DB or is there any constraints to respect ?
I am very new to Oracle and ain't got, on my personal computer, any possibility to try out the dump/restore by myself; that's why, any help will be appreciated !
1- Is it possible to create a dump (maybe in SQL format) without any specifics dependencies to Oracle ?
Oracle offers Data Pump utilities (export and import) for such purposes. You'd export table (or schema) - result is a ".dmp" file, readable by import utility. You'd then move that file to your own server (see #2 for the rest)
2- Is there a way to restore this dump in a free lightweight Oracle, or another kind of DB like Postgresql ?
On your own server (which could be a laptop; no problem), you'd install a free Oracle Express Edition (XE) database. Currently, the last version is 21c, but some others should still be available in Oracle Technology Network's Download section.
3- Does Oracle, is able to handle any kind of dump et restore it in an Oracle DB or is there any constraints to respect ?
XE database has its limits - from your point of view, the most important is that it can handle up to 12GB of user data. Therefore, if the .dmp file doesn't contain more data than that, you should be able to import it.
Another constraint is the compatibility. Not all exports can be imported into all databases. There's a matrix which shows which versions match; it is available on My Oracle Support site (but you have to have access to it, which you - as you said - don't. Though, generally speaking, "close" Oracle database versions can interchange .dmp files. It would be best if these two database versions match, of course.

Oracle- How to check if streaming functionality is enabled in the database

I need to consume streaming data from an oracle database.
The database team informed me, that the streaming functions are enabled, but how can I make sure of that?
Database version: 19.0.0.0.0
Streams are desupported in Oracle 19c meaning that they can not be used at all. See Oracle Support Doc 2388741.1. It is also mentioned in the release notes for 19c.

Oracle 11g to 12c migration gotchas?

I am embarking on an 11g to 12c Oracle DB migration. I will need to do it at least twice, once for testing, a 2nd time fro production. My initial thought is to use expdp/impdp. I export "full" the DB nightly using expdp.
My problem in the past when importing a full DB is it can get squirrely regarding the system schema/users. A full import tries to muck with system schemas (sys, system, sysman...). My new 12c DB is a portable DB, and obviously I want none of the settings or data from the system schemas, that may hose my new DB.
I do however want all of the non system schemas and users, of which there are 5 or so real schemas, and 30 or so "users."
I have been looking for some blogs or documents that address this issue, and can't find any. A pointer to documentation on how to avoid the problems described above would be great.
Also if there are any other gotchas when doing the migration, a heads up on that would be useful as well.

Oracle apex 5 limitations

can anyone please let me know that what limitations does oracle apex have,
limitations like Storage, RAM or other.
How long will i be able to use it without licensing the database?
Oracle APEX is a no-cost feature of the Oracle Database. If you use a free Oracle database (Oracle XE) then Oracle APEX is free to use. You can also gain free access to Oracle APEX at http://apex.oracle.com. If wish to use Oracle APEX on the cloud you can do so with Oracle Exadata Express (http://cloud.oracle.com/database) and many other database cloud services. Free cloud 1 month trials may also be available.
i found this in oracle website, and i now understand that storage differ in each version.
With respect to growing needs for storage, Oracle Database 11g XE now offers a full 11GB for user data alone, which is almost threefold increase since previous 4GB limit in Oracle Database 10g XE. Other hardware restrictions remain the same with CPU usage capped at one physical core and memory at 1GB. Oracle Database 11g XE is available immediately for Windows and Linux platforms.
Source:
http://www.oracle.com/technetwork/articles/sql/11g-xe-quicktour-498681.html

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.

Resources