Describe how to monitor replication

          

Describe how to monitor replication.


Oracle - Describe how to monitor replication. posted by Babu Kunwar
<<Previous   Next>>

Describe how to monitor replication.

We can monitor replication from both the command line and within your programs. The ttStatus and ttRepAdmin utilities are used for the command line utilities. To manage replication from the programs we can use built in procedure or create your own SQL SELECT statements to query the replication tables. We can invoke these procedures using the ODBC or JDBC procedure call interface.

The procedure takes the position of the SQL statement, as illustrated in the following examples. The following ODBC call tells the optimizer that it should not generate temporary hash indexes when preparing commands:

SQLExecDirect (hstmt, (SQLCHAR*)
"{CALL ttOptSetFlag ('TmpHash', 0)}", SQL_NTS);

This is the equivalent JDBC call.
Another way is to use the supplied packages that are coming along with Oracle.



Write your comment - Share Knowledge and Experience


<<Previous   Next >> 
More links
PL/SQL packages

What is a PL/SQL package?
Advantages of PL/SQL Packages
What are the types and layers of Packages? Explain them
PL/SQL Packages features
Guidelines for writing packages.........

Interview questions
Latest MCQs
» General awareness - Banking » ASP.NET » PL/SQL » Mechanical Engineering
» IAS Prelims GS » Java » Programming Language » Electrical Engineering
» English » C++ » Software Engineering » Electronic Engineering
» Quantitative Aptitude » Oracle » English » Finance
Home | About us | Sitemap | Contact us | We are hiring