Oracle Index Rebuild Job - oracle

I am newly working on Oracle. our DB hit by thousands of DML every 5 mins, so after some time it throws an error for rebuild index. Please some one suggest me to how can i setup a job for rebuild all indexes regularly.
I am using Oracle SQL developer 4.2.
Oracle 11g

Related

Creating a empty table along with partition and index is taking Forever in oracle

We are trying to Creating an empty table along with partition and index in oracle, But it is taking a very long time is there a way to speed up the process like using Parallel processing, etc?
NOTE: We are using the following version "Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production"

Sybase to Oracle table Migration via Migration Wizard offline

How can I create a script of inserts for my sybase to oracle Migration? The Migration wizard only gives me the option to migrate procedures and triggers and such. But there is no select for just tables. When I try to migrate tables offline and move data. the datamove/ folder is empty. I would also want to only migrate specific tables (ones with long identifiers) because i was able to migrate the rest with Copy to Oracle.
I must also note that i do not want to upgrade to an new version of oracle. Currently on ~12.1 so i need to limit the identifiers.
How can I get the offline scripts for table inserts?
You (probably!) don't want INSERTs for offline migration scripts. If you're just running INSERTs, then the online method would probably suffice.
The point of the Offline strategy is to take the data from your Sybase instance to flat, delimited text files (using BCP), which we can THEN use to load back into an Oracle Database using SQLLDR or External Tables which will be EXPONENTIALLY faster than using INSERT scripts.
Take a look at this whitepaper where I go into offline Sybase migrations in detail.
You can consider DCO-based Sybase-to-Oracle replication via the Sybase Rep Server. This way, not only will you have all data moved, but you will also be able to have DML updates propagated online, which will make your system switchable live.

Oracle Express Synchronization from Another Orable Database

I have a Oracle 10g database currently in a server.
I will create a web which may have massive requests to get data from the Oracle 10g. So, to prevent degrade the Oracle 10g database and server performance, I would like to setup an Oracle Express 11g to another server, periodically (say 15 minutes) get the data from Oracle 10g to Oracle Express 11g.
Finally the web will just get the data from the new server. And the only loading to the Oracle 10g is the data synchronization. There are just 2 tables in Oracle 10g need to sync.
My question is how can I set up the data synchronization?
For example, can I set up linked server, and set materialized view with refresh period between 2 oracles.
I am new to Oracle, welcome any useful reference materials and idea.

Oracle database migration from 11g to 12c

I need to do a database migration from Oracle 11g to 12c. But I cannot do a direct export and import kind
of a migration since there are a lot of schema changes which are going to happen. I already have the column mappings
in a sparedsheet with old columns and new columns with all details such as data type, constraints, etc.
There are new columns added to many tables are the default values that should be populated are also known.
So what should be the best approach to do this migration?
There are more ways to do this. Start with getting a dba involved.
To minimize production downtime, you could check if making a logical standby database is feasible in your situation. In that case, make the target database a 12c one, that saves for upgrade time.This target database is in sync with the source database at all times and makes it very valuable. Clone the target database and use that clone to test the migration steps. If the migration fails, you can easily re create a new clone to correct the migration process on.
Working in this way could even enable bi-directional replication, replication from the migrated database back to the source database that could make it possible to revert to the original database in the unlikely event that after production start on the new database things don't work as expected.
Start with adding a dba to the project, a good dba can help minimize downtime and reduce risk.

unable to update a table for some times

I am facing a strange behaviour in my oracle 10g DB. Frequently I am unable to update one of my table via sql developer. When I fire "Update" Query more than 1000 Secs the query still running. The content of that table is very very less.
How can I resolve the above issue? Is there any methods.
Regards,
Jerald.

Resources