Oracle GoldenGate Miscellaneous commands (Part-1)

Share via:
Dear Readers,

In the article, we will see Oracle GoldenGate Miscellaneous commands (Part-1)

To install Oracle GoldenGate use below link

Installation of Oracle GoldenGate

Miscellaneous Commands are :

  • INFO ALL,
  • ALLOWNESTED | NOALLOWNESTED,,
  • CREATE SUBDIRS,
  • DEFAULTJOURNAL,
  • FC,
  • HELP,
  • HISTORY
  • OBEY,
  • SHELL,
  • VERSIONS,

I want to explain each every Miscellaneous Commands with an output.

1.INFO ALL :

Use INFO ALL to display the status and lag (where relevant) for all Manager,
Extract, and Replicat processes on a system. When Oracle

INFO MANAGER :

To know Manager port ,Process ID and Host ID.

INFO extract <extract_name>

To know about  extract process checkpoint Lag,,SCN ans Last started time and status

INFO extract <extract name> detail 

To know  more about extract process like  RBA,Report file,Parameter file,Checkpoint file,Process file and Error log

info extract extint,showch

It will show Latest Read,write CHECKPOINT details

INFO extract extint,showch 5

It will show history Read,write CHECKPOINT details(Count 5)

INFO ER*

It will show EXTRACT  and RMTTRAIL file.

INFO EXTRAIL *

It will show extrail file details like Extrailfile,SEQNO,RBA and Filesize

INFO RMTTRAIL *

It will show extrail file details like Extrailfile,SEQNO,RBA and Filesize

 

info credentialstore 

To get information regrading credential store

 

ALLOWNESTED | NOALLOWNESTED

Use the ALLOWNESTED and NOALLOWNESTED commands to enable or disable the use of nested OBEY files. A nested OBEY file is one that contains another OBEY file.

When you exit your GGSCI session, the next GGSCI session will revert back to NOALLOWNESTED.

For more information, see “OBEY”.

Syntax

ALLOWNESTED
Enables the use of nested OBEY files. The maximum number of nested levels is 16.
NOALLOWNESTED
This is the default. An attempt to run a nested OBEY file in the default mode of NOALLOWNESTED will cause an error that is similar to the following:
  • CREATE SUBDIRS

  • Use CREATE SUBDIRS when installing Oracle GoldenGate. This command creates the default directories within the Oracle GoldenGate home directory. Use CREATE SUBDIRS before any other configuration tasks.

    Syntax

    It will create below directories

    List of directories :

    dirdat –> Extract data files
    dirchk –> Checkpoint file
    dirtmp –> Temporary files
    dirrpt –> Report file
    dirdef –> Database definitions files
    dirpcs –> Process status files
    dirtmp –> Temporary files

    dirsql –> SQL script files
    dircrd –> Credential store files
    dirwlt –> Master key wallet files
    dirdmp –> Dump files

     

History and FC Commands :

The history command-line lists the last 10 executed GGSCI commands. When passing an argument of positive number such as 15, to the HISTORY command, GGSCI lists the last 15 executed commands. The FC command fetches the command from the history list for re-execution.  The example below illustrates using the three commands HISTORY and FC.


HELP :

Help command displays all commands structure with examples in GGSCI prompt

HELP OBEY 

It will show how to add obey files  &  examples

HELP ADD EXTRACT 

It will show how to add extract examples

SHELL :

To execute an operating system shell command from within GGSCI, enter the shell ggsci command followed by the operating system command.

VERSIONS :

The GGSCI command is used to determine the operating system details and database version

 

I hope above information was very helpful.

Thank you for giving your valuable time to read the above information. Please click here to subscribe for further updates

KTEXPERTS is always active on below social media platforms.

Facebook : https://www.facebook.com/ktexperts/
LinkedIn : https://www.linkedin.com/company/ktexperts/
Twitter : https://twitter.com/ktexpertsadmin
YouTube : https://www.youtube.com/c/ktexperts

 

Share via:
Note: Please test scripts in Non Prod before trying in Production.
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

Add Comment