Scheduling Automatic Database objects comparison through Oracle CHange Mana
HI,
I need to compare some schemas for two databases regularly to make sure that the databases are in sync state.Could you guys pls tell me if there is any option/way through which i can do the automatic scheduling to compare the DB objects of the two databases.
Your help would be highly appreicated.
Many Thanks
TOAD
Similar Messages
-
How to import Oracle 8i database objects into an Oracle 10g database ?
Hi all,
We plan to use Oracle 10g , but untill now we use Oracle 8i 8.1.7.4.1 .
I want to know how to import all of our Oracle 8i objects stuff to the new Oracle 10g database ; and should I create tablespaces or can I import simply the Oracle 8i tablespaces.
Thank you very much indeedIf you use 1 database schema for your application , export the schema only
for example
export NLS_LANG env before
export hr/hr file=hr.dmp log=hr.dmp
On 10g
======
create the user,tablespaces etc
import the user
run the utlrp.sql
you are ready
export NLS_LANG env before
import system/password file=hr.dmp log=hr.dmp fromuser=hr touser=hr -
Error while import Database Objects in Oracle Module
Hi All,
I am getting dialog window saying below error when I click on Finish button on Import database objects wizard for oracle module.
MMM 1034: Property ENCRYPT does not exist
When clicked on detail button on error window it show below errors in detail
MMM1034: Property ENCRYPT does not exist.
MMM1034: Property ENCRYPT does not exist.
at oracle.wh.repos.impl.extended.PropertyHelper.getProperty(PropertyHelper.java:741)
at oracle.wh.repos.impl.extended.PropertyHelper.getScalarPropertyValue(PropertyHelper.java:833)
at oracle.wh.repos.impl.extended.PropertyHelper.getScalarPropertyValue(PropertyHelper.java:828)
at oracle.wh.repos.pdl.foundation.OWBRoot.getScalarPropertyValue(OWBRoot.java:5121)
at oracle.wh.repos.impl.foundation.CMPElement.getScalarPropertyValue(CMPElement.java:1641)
at oracle.wh.repos.impl.foundation.CMPElement.getBooleanProperty(CMPElement.java:1740)
at oracle.wh.ui.integrator.common.ImportEntityAlgorithm.setColumnEncrypted(ImportEntityAlgorithm.java:4650)
at oracle.wh.ui.integrator.common.ImportEntityAlgorithm.doImportColumns(ImportEntityAlgorithm.java:4400)
at oracle.wh.ui.integrator.common.ImportEntityAlgorithm.importColumns(ImportEntityAlgorithm.java:3487)
at oracle.wh.ui.integrator.common.ImportEntityAlgorithm.importTable(ImportEntityAlgorithm.java:1267)
at oracle.wh.ui.integrator.common.ImportEntityAlgorithm.dispatchElement(ImportEntityAlgorithm.java:610)
at oracle.wh.ui.integrator.common.ImportEntityAlgorithm.importElement(ImportEntityAlgorithm.java:435)
at oracle.wh.ui.integrator.sdk.EntityAccessor.importElement(EntityAccessor.java:77)
at oracle.wh.ui.integrator.common.ImportService.importElement(ImportService.java:1144)
at oracle.wh.ui.integrator.common.wizards.ImportElementTransaction.run(ImportWizardDefinition.java:730)
Please see below information and steps I followed
1. My PC running on Windows 7 64 bit
2. Installed Oracle Database Enterprise Edition 11.2.0.1.0 software
3. Created a listner after insalling above database software
4. Created data warehouse database and unlocked OWBSYS and OWBSYS_AUDIT accounts
5. Set ORACLE_HOME=C:\oracle\product\11.2.0\dbhome_2\
6. Set TNS_ADMIN=C:\oracle\product\11.2.0\dbhome_2\NETWORK\ADMIN
7. After doing this I was able to connect all the source and data warehouse databases I am concerned with.
7. Installed Oracle Warehouse Builder Client 11.2.0.3.0 64 bit
8. Created repository using repository assistant insatlled duing database software.
9. Created oracle database module for the schema created under data warehouse database.
10. Tried to import database objects for the oracle module and got the error explained above when clicked on Finish
Please someone reply to this thread since I searched lot on google and didn't get any solution and not understanding what this issue is.
Thanks in advance
Bhushan
Edited by: Bhushan Bagul on Sep 7, 2012 2:46 AMit looks like not all objects are created for XX_BPEL_CREATEUSEMP
synonyms and all grants are there ? -
8.1.5.-automate database shutdown:hepl needed
I have tried to setup the automate database shutdown by following Oracle Manual. When rebooting the Unix system(sun solaris 2.6), nothing could be recorded in the alert logfile. After manually starting up the database, alert logfile indicated always a crash recovery during the process.
Any suggestion will be appreciated on above problem!
FelixHi,
Below is the information from orclALRT.log:
There's a write/open error. At July 21, 21:00PM our backup is start to run.
Is it because the backup software locked some oracle's files ?
But after the error, the next morning July 22 the ORACLE instance is started with no error, even though user can't connect to the database.
TIA
Andi
Thread 1 advanced to log sequence 46212
Current log# 4 seq# 46212 mem# 0: E:\ORANT\ORADATA\ORACLE\REDO01.LOG
Sun Jul 21 21:38:26 2002
KCF: write/open error block=0x11072 online=1
file=1 E:\ORANT\ORADATA\ORACLE\SYSTEM01.DBF
error=27072 txt: 'OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 33) The process cannot access the file because
another process has locked a portion of the file.'
DBW0: terminating instance due to error 1242
Instance terminated by DBW0, pid = 248
Mon Jul 22 03:00:04 2002
Starting ORACLE instance (normal)
Dump file E:\orant\admin\oracle\bdump\orclALRT.LOG
--------- -
Upgrade of Database with Oracle Change Data Capture
Hello,
We are upgrading and moving our database to a different server.
The move is from 10G R1 database on Solaris to 11G R2 on Linux.
Our database uses Oracle Change Data Capture.
What is the best way to perform this migration? Unlike in the approach below, ideally, it would be without any manual steps to drop and recreate CDC subscriptions, change tables, etc.
Thanks.
Considerations for Exporting and Importing Change Data Capture Objects
http://docs.oracle.com/cd/B13789_01/server.101/b10736/cdc.htm#i1027532
Starting in Oracle Databse 10g, Oracle Data Pump is the supported export and import utility for Change Data Capture. Change Data Capture change sources, change sets, change tables, and subscriptions are exported and imported by the Oracle Data Pump expdp and impdp commands with the following restrictions:
After a Data Pump full database import operation completes for a database containing AutoLog Change Data Capture objects, the following steps must be performed to restore these objects:
1. The publisher must manually drop the change tables with the SQL DROP TABLE command. This is needed because the tables are imported without the accompanying Change Data Capture metadata.
2. The publisher must re-create the AutoLog change sources, change sets, and change tables using the appropriate DBMS_CDC_PUBLISH procedures.
3. Subscribers must re-create their subscriptions to the AutoLog change sets.Hello,
I opened SR with Oracle Support, they are suggesting to perform full database import/export
Change Data Capture change sources, change sets, change tables, and subscriptions are exported and imported by the Oracle Data Pump expdp and impdp commands with the following restrictions.
Change Data Capture objects are exported and imported only as part of full database export and import operations (those in which the expdp and impdb commands specify the FULL=y parameter). Schema-level import and export operations include some underlying objects (for example, the table underlying a change table), but not the Change Data Capture metadata needed for change data capture to occur."
CDC has different implementation methods:
You may use the below query to determine-
select SOURCE_NAME, SOURCE_DESCRIPTION, CREATED, SOURCE_TYPE, SOURCE_DATABASE, SOURCE_ENABLED from change_sources;
– Synchronous CDC: with this implementation method you capture changes
synchronously on the source database into change tables. This method uses
internal database triggers to enable CDC. Capturing the change is part of the
original transaction that introduces the change thus impacting the performance
of the transaction.
– Asynchronous Autolog CDC: this implementation method requires a staging
database separate from the source database. Asynchronous Autolog CDC uses
the database's redo transport services to transport redo log information from
the source database to the staging database1. Changes are captured at the
staging database. The impact to the source system is minimal, but there is some
latency between the original transaction and the change being captured.
As suggested in the document-
Change Data Capture objects are exported and imported only as part of full database export and import operations (those in which the expdp and impdb commands specify the FULL=y parameter). Schema-level import and export
operations include some underlying objects (for example, the table underlying a change table), but not the Change Data Capture metadata needed for change data capture to occur.
■ AutoLog change sources, change sets, and change tables are not supported.
Starting in Oracle Database 10g, Oracle Data Pump is the supported export and import utility for Change Data Capture.
Re-Creating AutoLog Change Data Capture Objects After an Import Operation
http://docs.oracle.com/cd/B19306_01/server.102/b14223/cdc.htm#i1027532
After a Data Pump full database import operation completes for a database containing AutoLog Change Data Capture objects, the following steps must be performed to restore these objects:
a. The publisher must manually drop the database objects underlying AutoLog Change Data Capture objects.
b. The publisher must re-create the AutoLog change sources, change sets, and change tables using the appropriate DBMS_CDC_PUBLISH procedures.
c. Subscribers must re-create their subscriptions to the AutoLog change sets. -
How to install Oracle Change Management Pack for 11g database.
Hi,
I need to setup "Oracle Change Management Pack" for my oracle11g database. Can any body help to do the same. i am able to configure following.
Oracle Configuration Management Pack
Oracle Data Masking Pack
Oracle Diagnostic Pack
Oracle Tuning Pack
using following URL
http://docs.oracle.com/cd/B28359_01/license.111/b28287/options.htm#CIHBGJCC but not able to install "Oracle Change Management Pack for 11g database". Can any body share any pointers if any...
Regards
DBA.As far as I could understand, this is a part of Oracle EM/Grid installation:
The sections that follow describe the Oracle management packs. The management packs can be purchased only with Enterprise Edition. The features in these packs are accessible through Oracle Enterprise Manager Database Control, Oracle Enterprise Manager Grid Control, and APIs provided with Oracle Database software. -
Re: JDeveloper not showing database objects in"Oracle Applications"Adapter?
Hi
I am trying to create a BPEL process through JDeveloper10.1.3.4 and using a Oracle Application Service. When using the Adapter Configuration wizard, i am successfully able to connect to the database but when there is an option to select the inteface to the Oracle Application Data for table/views/APIs/Concurrent Programs after clicking Next
I am getting an alert that says you are connected to 11.5.10 instance, Add the database objects.
After clicking in Add - Oracle Aplications Module Browser comes up with Blank values and nothing works here, neither Search nor Browse and just has a cancel button.
Please if some body has faced similar issue or has understanding on it, help me on this.
ThanksYou'll have better luck posting in the right forum. This one is for issues relating to Oracle's ODBC driver.
I'm not familiar enough with JDEV to know which forum that is top of my head though.
Greg -
Where is the database object administration GUI in Oracle XE 11g?
Please read my whole question, because I'm sure people will misunderstand, and tell me to load http://localhost:8080/apex in my browser. I know that is there.
I am a previous user of Oracle XE 10g, but I just installed Oracle Express 11g. I only want to use it to get a local instance of Oracle database. The 10g APEX UI provided an easy way to administer database objects (users, schemas, and the like), but it appears the 11g APEX UI is some kind of weird application development environment that I don't want to use. It doesn't even seem aware of the schemas I created in the database using SQL Plus.
So, where is the regular admin GUI for Oracle database objects like users/schemas (i.e. something that will list the schemas that exist in the database, and allow me to add or delete them)? Or does 11g force you to do that using SQL (in which case, I'm going to go back to 10g).
Thanks,
JeffNo, SQL workshop is not what I want.
Basically, I don't want to deal with this concept of a "workspace" at all. It's useless to me and just gets in my way. All I want is a a UI where I can view a list of the schemas that exist in the database, and manipulate them easily.
I have TOAD, so I could use that, but I liked the old 10g administration GUI, since it provided the exact functionality at the exact level of complexity that I needed. -
Java App connection to an Oracle Database through Oracle Stored Procedure
My team's access to its Databases (Oracle only) is restricted to access through Oracle Stored Procedures that are part of the Oracle Database. So, in my Java App I need to call the Stored Procedure that will give me the access to the table that I need, declare the right parameters and execute the command. The Stored Procedure will then hand me the data I need.
I am finding support on the web for creating Stored Procedures in Java, but that is not what I need.
Can anyone post here a class that addresses this, or point me to a link that will shed some light on it?
Thanks
user606303user606303 wrote:
Sorry this code is unformatted - I can't see how to format it.Use \ tags
I am looking for Java code that will do what this .NET code below does (connects to a database and writes data to the table through an Oracle stored procedure that is part of the Oracle Database.)
So learn Java, learn JDBC and translate the requirements; don't attempt to translate the code as the platforms are too different.
From a quick glance it looks like a JDBC CallableStatement can do the job. -
Ensure that all database components/objects provided by Oracle are VALID
Hi Guys
need some clarification concern the below point from -> 1503653.1
Ensure that all database components/objects provided by Oracle are VALID in the source database prior to starting the upgrade.
Ensure that you do not have duplicate objects in the SYS and SYSTEM schema.
Question 1:
what do you really mean by all the database components/ objects provided by oracle are Valid?
does the below object consider an Oracle object? I got to know this objects is invalid after after running -> dbupgdiag.sql
SQLTXADMIN SYNONYM 1
Question 2:
if my user application objects is invalid? Can i still be able to forward with the upgrade?
It seem that the main concern is those ORACLE's component/ objects have to be VALID.hi all,
want to add on.
does ORACLE's component means objects own by SYS and SYSTEM?
like the below objects that is spool out by the script -> dbupgdiag.sql
that it is in invalid status.
SYS USER_AUDIT_TRAIL VIEW
SYS DBA_AUDIT_SESSION VIEW
SYS USER_AUDIT_SESSION VIEW
SYS DBA_AUDIT_STATEMENT VIEW
SYS DBA_COMMON_AUDIT_TRAIL VIEW
SYS DBA_AUDIT_OBJECT VIEW
SYS USER_AUDIT_OBJECT VIEW
SYS DBA_AUDIT_EXISTS VIEW
SYS USER_AUDIT_STATEMENT VIEW -
Unable to backup oracle 8i database objects
Hi ,
i got the following error :
Connected to: Oracle8i Enterprise Edition Release 8.1.7.2.0 - Production
With the Partitioning option
JServer Release 8.1.7.2.0 - Production
EXP-00056: ORACLE error 942 encountered
ORA-00942: table or view does not exist
EXP-00000: Export terminated unsuccessfullyi am using the Oracle 9i Client to backup the object of an Oracle 8i database.
is this the cause ?
previously , my client was still on 8i and it could actually backup both the 8i & 9i database objects
pls advise
rgdsFirst off, the export and import utilities should be considered useful supplements to a proper physical backup but should not be used as the primary backup method for a production database.
Second, Oracle pretty much requires that you use the version of the export utility that matches the lowest database version you're working with. You could generate the export files on the machine where the database runs, which guarantees that versions will match up, and move them elsewhere. Or you can have multiple versions of the Oracle client in different Oracle Homes on the same machine.
Justin -
How to install Oracle Database objects for BPA repository?
Hello,
I have installed Oracle database (10.2.0.1) EE.
I have run the following command to install BPA repository and site manager.
./install_bpr10.1.3.4.271679.sh -bpr_type BS_SM -jvm ./bpa10.1.3.4/jdk1.5.0/ -dbserver rstnxlin011.oracle.com -dbport 1521 -dbinstance pva011
Where are the database object creation scripts? I am sure I still have to create ARIS objects in the database.
MustafaWithin my installation i could find the scripts on Disk 2 (where the windows installation of the Repository resides) in the folder DBMS/Oracle.
-
What is maximum length of oracle database objects name
Hi all,
Can anyone tell me what is maximum length of oracle database objects name .
I guess it is 30 ,correct me if i am wrong thank you.
regards,
P PrakashSome objects (like synonyms or java classes) can have longer names than 30 chars:
SQL> create or replace synonym empempempempempempempempempempempempemp for emp
Synonym created.though internally oracle will generate short names for such objects:
SQL> select synonym_name from user_synonyms where synonym_name like '%EMPEMPEM%'
SYNONYM_NAME
/969ea190_EMPEMPEMPEMPEMPEMPEM
1 row selected.and not always will the long name be actually usable:
SQL> select * from empempempempempempempempempempempempemp
Error at line 1
ORA-00972: identifier is too long -
Can I schedule COBOL program directly through oracle scheduler
Hi,
I am scheduling a SHELL SCRIPT through scheduler, the shell script executes COBOL program internally.
Can I schedule COBOL program directly through oracle scheduler
Thanks,
Nagaraju A.Hi,
if your Shell script-cobol is runing without error, you can call from Oracle scheduler.
Regards -
Oracle Change and Configuration Management packs
Hi,
We are looking at implementing the Oracle Change and Configuration Management packs.
I would be very interested to hear from anybosy who is currently using these packs.
I have done some preliminary tests, and am getting what seems like a very simple error, but i am at a loss as to how to fix it.
Will respond to replies with exact error and scenario.
thanks in advance.
melvynHi Nayab,
We are looking to implement the change and configuration management packs, to automate our change control.
As part of my initial testing i have the following scenario...
I have three database (namely TEST_DB, QA_DB and PROD_DB) all configured and manageable in EM.
I have create a sample test schema in TEST_DB with tables, views, sequences, procedures and triggers.
Using EM, i am able to transfer the sample schema (with all objects) from the TEST_DB to the PROD_DB.
If i manually create the sample schema in the QA_DB, i am able to transfer the sample schema from the QA_DB to the PROD_DBm using EM.
When i try to transfer the sample schema from the TEST_DB to the QA_DB i get an error in the synchronization phase.
The capturing of the baseline, and the dictionary comparison phase complete successfully, but when i do the synchronization phase, i get
the follwing error...
SQL> ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
Process ID: 0
Session ID: 0 Serial number: 0
This seems strange because, it must have been able to see the destination database for it to complete the dictionary comparison phase, so
i cannot understand now why it cannot connect to the destination database to complete the synchronization phase.
any assistance would be greatly appreciated.
thanks
Melvyn
Maybe you are looking for
-
Stacking problem from Migrating photos to Photoshop Elements 12
I just installed Photoshop Elements 12 after my new computer program on Microsoft 8.1 would not support my old Photoshop Elements 5. In Photoshop Elements 5 my 34000 photos were stacked. All my photos were uploaded to the new Photoshop Elements 12
-
Ctrl/Alt click to activate link closes current document
We just upgraded from Framemaker 7.2 to 12, and there's a behavior I can't figure out. I have a book file with cross-references between FM documents. Before, in FM 7.2, when I used Ctrl/Alt+click to activate a cross-reference link and follow the mark
-
No information available.
Hi, when I enter channel no 507 to see whats on BT Sport, all I get is 'no information available'. Anyone know why this is suddenly happening? Been fine foir the sevferal weeks since I first started receiving it.
-
Applying Credit or Debit memo to the Invoice in AP
Plz guide me how to apply Credit or Debit memo to an Invoice in Accounts Payables.
-
Use of navigation without roaming
Is it possible to use BB or Google navigation when not roaming, i.e. just GPS and map info?