• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How To Run ggsci In “silent” Mode

by admin

Question: Like sqlplus -S, how does one suppress the ggsci banner and extraneous output?

Oracle GoldenGate enables the exchange and manipulation of data at the transaction level among multiple, heterogeneous platforms across the enterprise. It moves committed transactions from redo logs and maintains transaction integrity with sub-second latency. Its reliability is especially critical for enabling continuous-availability solutions, including high availability, zero downtime for upgrades and migrations, live reporting, operational business intelligence, and transactional data integration.

Running ggsci in silent mode

You can use “ggsci -S” similar to “sqlplus -S” with ‘end of file (EOF)’ marker. For example:

$ code1=`ggsci -S << EOF
> info all
> EOF`
$ echo $code1
GGSCI> Program Status Group Lag at Chkpt Time Since Chkpt MANAGER RUNNING EXTRACT STOPPED 00:00:07 484:17:40 EXTRACT STOPPED 00:00:09 457:10:23 EXTRACT STOPPED

Same can be used in a script.

$ vi myscript.sh
ggsci -S << EOF
info all
EOF

Run the script as any normal script. For example:

$ ./myscript.sh

Filed Under: GoldenGate, oracle

Some more articles you might also be interested in …

  1. Oracle – How To Check if Autoextensible Datafiles Set To Maxsize Unlimited
  2. Oracle GoldenGate: Extract Sample Parameter File
  3. How to move ASM spfile to a different disk group
  4. Oracle Database – How to Rename a Datafile with Special Characters Created by Mistake
  5. Oracle Database 18c : How to Merge Partitions And Subpartitions Online
  6. Oracle RAC: How to modify private hostname, Private network IP & MTU
  7. TSPITR fails With RMAN-06553
  8. New Background Processes In Oracle 11g
  9. CentOS / RHEL 7 : Oracleasm Create Disk Failed “Instantiating disk: failed”
  10. How to Configure client connectivity in Oracle Data Guard configuration (Implement failover procedures)

You May Also Like

Primary Sidebar

Recent Posts

  • qm Command Examples in Linux
  • qm wait Command Examples in Linux
  • qm start Command Examples in Linux
  • qm snapshot Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright