您好,登錄后才能下訂單哦!
goldengate在遇到大的事務或者異常時,使用stop 無法正常關閉進程,遇到這個問題的時候很是頭疼,于是help一下,發現兩個大殺器,從此再也不用擔心stop不掉進程了,如果是遇到大的事務還是建議stop后等待事務提交或者回滾正常關閉,但是遇到一些異常時,可以使用如下kill掉進程:
GGSCI>KILL REPLICAT group_name
GGSCI>KILL EXTRACT finance
正常停掉進程:
GGSCI>stop REPLICAT group_name
GGSCI>stop EXTRACT finance
下面是兩個命令的詳細說明
GGSCI> help kill replicat
Use KILL REPLICAT to kill a Replicat process. Killing a process leaves the
most recent checkpoint in place, and the current transaction is rolled back
by the database, guaranteeing that no data is lost when the process is
restarted. The Manager process will not attempt to restart a killed Replicat
process. Use this command only if Replicat cannot be stopped gracefully with
the STOP REPLICAT command.
Syntax
KILL REPLICAT group_name
group_name
The name of a Replicat group or a wildcard () to specify multiple groups.
For example, T kills all Replicat processes whose group names begin with T.
Example
KILL REPLICAT finance
GGSCI > help kill extract
Use KILL EXTRACT to kill an Extract process running in regular or PASSIVE mode.
Use this command only if a process cannot be stopped gracefully with the STOP
EXTRACT command. The Manager process will not attempt to restart a killed
Extract process.
Syntax
KILL EXTRACT group_name
group_name
The name of an Extract group or a wildcard () to specify multiple groups.
For example, T kills all Extract processes whose group names start with T.
Example
KILL EXTRACT finance
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。