Solved

database RESYNC???

Posted on 2007-04-09
2
798 Views
Last Modified: 2013-12-19
Hi,
       What is a database RESYNC?  I have two databases DEV and  PROD. All the database links, the net service names are already in place and the two databases ar communicating with each other. Some how im getting this error of ORA-00942: table or view does not exist. I know this erro occurs if we do not have the referenced table in place or a view has been referenced inplace of a table and vice-versa, or necessary privliges does not exist. I have issued " grant all on <tabele_name> to public". Some one here told to do a database resync of DEV with PROD, what does this database RESYNC mean? what is the process that needs to be followed to implement this? what does it actually do.

This DEV and PROD are not related to a primary and standby scenario, they are same databases but one is development and the other is production.

Any information will be of a great help,

Thanks,
Harris.
0
Comment
Question by:harris2107
2 Comments
 
LVL 17

Accepted Solution

by:
NicksonKoh earned 500 total points
ID: 18880149
Hi harris2107,

I would think the resync mentioned was to compare your production with your test database and sychronise the database objects that are different.

That message "ORA-00942: table or view does not exist" you mentioned is probably due to the structural differences in your test and production databases. For this error, you can simply check the tables/views which this SQL was checking and then check whether the table/view structures are the same.

For a complete check of the database differences, it is quite tedious and need to execute numerous SQL to do it. There are also tools like TOAD with the DBA option that can do this check with just a few clicks.

Cheers,
NicksonKoh
0
 

Author Comment

by:harris2107
ID: 18882958
Thanks Nick.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question