欧美一级特黄大片做受成人-亚洲成人一区二区电影-激情熟女一区二区三区-日韩专区欧美专区国产专区

OGG復(fù)制進(jìn)程延遲不斷增長(zhǎng)怎么辦

小編給大家分享一下OGG復(fù)制進(jìn)程延遲不斷增長(zhǎng)怎么辦,相信大部分人都還不怎么了解,因此分享這篇文章給大家參考一下,希望大家閱讀完這篇文章后大有收獲,下面讓我們一起去了解一下吧!

成都創(chuàng)新互聯(lián)專(zhuān)注為客戶(hù)提供全方位的互聯(lián)網(wǎng)綜合服務(wù),包含不限于網(wǎng)站設(shè)計(jì)制作、做網(wǎng)站、商水網(wǎng)絡(luò)推廣、重慶小程序開(kāi)發(fā)、商水網(wǎng)絡(luò)營(yíng)銷(xiāo)、商水企業(yè)策劃、商水品牌公關(guān)、搜索引擎seo、人物專(zhuān)訪(fǎng)、企業(yè)宣傳片、企業(yè)代運(yùn)營(yíng)等,從售前售中售后,我們都將竭誠(chéng)為您服務(wù),您的肯定,是我們最大的嘉獎(jiǎng);成都創(chuàng)新互聯(lián)為所有大學(xué)生創(chuàng)業(yè)者提供商水建站搭建服務(wù),24小時(shí)服務(wù)熱線(xiàn):13518219792,官方網(wǎng)址:aaarwkj.com

-bash-3.2$ ogg

Oracle GoldenGate Command Interpreter for Oracle

Version 11.2.1.0.6 16211226 OGGCORE_11.2.1.0.6_PLATFORMS_130418.1829_FBO

Solaris, sparc, 64bit (optimized), Oracle 11g on Apr 22 2013 15:23:39

Copyright (C) 1995, 2013, Oracle and/or its affiliates. All rights reserved.

GGSCI (ODSDB) 1> info all

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     RUNNING                                           

JAGENT      STOPPED                                           

REPLICAT    RUNNING     RP10        00:00:00      00:00:03    

REPLICAT    RUNNING     RP7         00:00:06      00:00:03    

REPLICAT    RUNNING     RPS1        42:41:14      00:00:01    

REPLICAT    RUNNING     RPS2        00:00:00      00:00:10    

REPLICAT    RUNNING     RPS2A       00:00:00      00:00:00    

REPLICAT    RUNNING     RPS2B       00:00:00      00:00:00    

REPLICAT    RUNNING     RPS3        00:00:00      00:00:02    

REPLICAT    RUNNING     RPS3A       00:00:00      00:00:03    

REPLICAT    RUNNING     RPS3B       00:00:00      00:00:02    

REPLICAT    RUNNING     RPS4        00:00:00      00:00:07    

REPLICAT    RUNNING     RPS4A       00:00:00      00:00:07    

REPLICAT    RUNNING     RPS4B       00:00:00      00:00:07    

REPLICAT    RUNNING     RPS4C       00:00:00      00:00:07    

REPLICAT    RUNNING     RPS4D       00:00:00      00:00:08    

REPLICAT    RUNNING     RPS4E       00:00:00      00:00:07    

REPLICAT    RUNNING     RPS4F       00:00:00      00:00:07    

REPLICAT    RUNNING     RPS4G       00:00:00      00:00:07    

REPLICAT    RUNNING     RPS4H       00:00:00      00:00:07    

REPLICAT    RUNNING     RPS4I       00:00:00      00:00:08    

REPLICAT    RUNNING     RPS4J       00:00:00      00:00:07    

跟他去了終端旁邊,發(fā)現(xiàn)確實(shí)有個(gè)rps1進(jìn)程延遲有點(diǎn)高??粗M(jìn)程狀態(tài)是RUNNING,但是根據(jù)我維護(hù)六年ogg來(lái)看,有可能是假象,那么怎么判斷呢?

1,查看ggserr.log

2,查看dirrpt下面該進(jìn)程的dsc文件

3,info 進(jìn)程名多次,看看RBA是否有變化

經(jīng)過(guò)以上幾步rps1進(jìn)程狀態(tài)是正常的,延遲高問(wèn)題出在哪里?view params rps1看到該進(jìn)程只有一張表。那我們看看這個(gè)進(jìn)程到底卡在哪里了

SQL> !ps -ef |grep rps1 |grep -v grep

  orao 12169 11012   0   Jun 07 ?         614:58 /odogg/baseogg/replicat PARAMFILE /odsogg/baseogg/dirprm/rps1.prm REPORTFILE /

SQL> !ps -ef |grep 12169 |grep -v grep

  orao 12170 12169   1   Jun 07 ?        2315:30 oracleodb (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))

  orao 12169 11012   0   Jun 07 ?         614:58 /odogg/baseogg/replicat PARAMFILE /odsogg/baseogg/dirprm/rps1.prm REPORTFILE /

SQL> select s.sid,s.SERIAL#,sql_id from v$process p,v$session s where p.addr=s.paddr and p.spid=12170;

       SID    SERIAL# SQL_ID

---------- ---------- -------------

      5146        113 5099dwmx3s4mf

SQL> /

       SID    SERIAL# SQL_ID

---------- ---------- -------------

      5146        113 dzubcf8jm69yx

SQL> /

       SID    SERIAL# SQL_ID

---------- ---------- -------------

      5146        113 dzubcf8jm69yx

SQL> /

       SID    SERIAL# SQL_ID

---------- ---------- -------------

      5146        113 dzubcf8jm69yx

詢(xún)問(wèn)了一下維護(hù)過(guò)該系統(tǒng)的同事,說(shuō)是不是統(tǒng)計(jì)信息太舊。順著思路往下走走

SQL> select OWNER,TABLE_NAME,LAST_ANALYZED from dba_tables where table_name='TF_F_USER_REVGRPTAG';

OWNER             TABLE_NAME        LAST_ANALYZED

-------------------------------------------------------------------------------

TTT              TF_F_USER_REXXX     2017-06-26 00:20:56

SQL>  select table_name,num_rows from dba_tables where owner='TTT' and table_name='TF_F_USER_REXXX';

TABLE_NAME              NUM_ROWS

------------------------------ ----------

TF_F_USER_REXXX          409269832

SQL> select count(*) from TTT.TF_F_USER_REXXX;

  COUNT(*)

----------

 409955510

接下來(lái)我們看看該sql執(zhí)行計(jì)劃是不是走錯(cuò)了?

OGG復(fù)制進(jìn)程延遲不斷增長(zhǎng)怎么辦

兩條執(zhí)行計(jì)劃,很明顯137632316運(yùn)行了5400次但是執(zhí)行時(shí)間卻遠(yuǎn)遠(yuǎn)高于第二個(gè)執(zhí)行計(jì)劃。

OGG復(fù)制進(jìn)程延遲不斷增長(zhǎng)怎么辦

OGG復(fù)制進(jìn)程延遲不斷增長(zhǎng)怎么辦

用sql profile綁定一下執(zhí)行計(jì)劃

SQL> @coe_xfr_sql_profile.sql

Parameter 1:

SQL_ID (required)

Enter value for 1: dzubcf8jm69yx

PLAN_HASH_VALUE AVG_ET_SECS

--------------- -----------

     2320424968        .004

      137632316      21.119

Parameter 2:

PLAN_HASH_VALUE (required)

Enter value for 2: 2320424968

Values passed to coe_xfr_sql_profile:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

SQL_ID         : "dzubcf8jm69yx"

PLAN_HASH_VALUE: "2320424968"

查看是否綁定成功

SQL>select name from dba_sql_profiles;

NAME

------------------------------

coe_dzubcf8jm69yx_2320424968

SYS_SQLPROF_015d075ccdd40000

coe_a5hgtqfq09tcu_229988255

在將內(nèi)存中的該sql語(yǔ)句清除出去

SQL>select address,hash_value,executions,parse_calls from v$sql where sql_TEXT like 'UPDATE "TTT"."TF_F_USER_RExxxx" SET "PARTITION_ID" = :a27,"USER_ID" = :a28%';

ADDRESS          HASH_VALUE EXECUTIONS PARSE_CALLS

---------------- ---------- ---------- -----------

00000017673EA5E8 4198240878        100           0

00000017CF3E0000  897328139        673           0

00000017982D40D0 1588244011          8           0

000000049D04B1A8  590555101         10           0

00000017AA525230 4271852353          2           0

0000001777FC6A20 3666847391        735           0

00000017B9154A58 1180290247          1           0

7 rows selected.

SQL>alter session set events '5614566 trace name context forever';

Session altered.

SQL>exec dbms_shared_pool.purge('00000017673EA5E8,4198240878','C');

PL/SQL procedure successfully completed.

SQL>exec dbms_shared_pool.purge('00000017CF3E0000,897328139','C');

exec db

PL/SQL procedure successfully completed.

SQL>ms_shared_pool.purge('00000017982D40D0,1588244011','C');

PL/SQL procedure successfully completed.

SQL>exec dbms_shared_pool.purge('000000049D04B1A8,590555101','C');

PL/SQL procedure successfully completed.

SQL>exec dbms_shared_pool.purge('00000017AA525230,4271852353','C');

PL/SQL procedure successfully completed.

SQL>exec dbms_shared_pool.purge('0000001777FC6A20,3666847391','C');

PL/SQL procedure successfully completed.

SQL>exec dbms_shared_pool.purge('00000017B9154A58,1180290247','C');

PL/SQL procedure successfully completed.

觀(guān)察ogg復(fù)制進(jìn)程延遲已經(jīng)開(kāi)始減小。該隱患順利解決!

GGSCI (ODSDB) 8> info all

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     RUNNING                                           

JAGENT      STOPPED                                           

REPLICAT    RUNNING     RP10        00:00:00      00:00:01    

REPLICAT    RUNNING     RP7         00:00:00      00:00:07    

REPLICAT    RUNNING     RPS1        31:10:29      00:00:50    

REPLICAT    RUNNING     RPS2        00:00:00      00:00:00    

REPLICAT    RUNNING     RPS2A       00:00:00      00:00:00    

REPLICAT    RUNNING     RPS2B       00:00:00      00:00:00    

REPLICAT    RUNNING     RPS3        00:00:00      00:00:01    

REPLICAT    RUNNING     RPS3A       00:00:00      00:00:02    

REPLICAT    RUNNING     RPS3B       00:00:00      00:00:01    

REPLICAT    RUNNING     RPS4        00:00:00      00:00:05    

REPLICAT    RUNNING     RPS4A       00:00:00      00:00:04    

REPLICAT    RUNNING     RPS4B       00:00:00      00:00:04    

REPLICAT    RUNNING     RPS4C       00:00:00      00:00:04    

REPLICAT    RUNNING     RPS4D       00:00:00      00:00:04    

REPLICAT    RUNNING     RPS4E       00:00:00      00:00:04    

REPLICAT    RUNNING     RPS4F       00:00:00      00:00:04    

REPLICAT    RUNNING     RPS4G       00:00:00      00:00:05    

REPLICAT    RUNNING     RPS4H       00:00:00      00:00:04    

REPLICAT    RUNNING     RPS4I       00:00:00      00:00:04    

REPLICAT    RUNNING     RPS4J       00:00:00      00:00:04  

以上是“OGG復(fù)制進(jìn)程延遲不斷增長(zhǎng)怎么辦”這篇文章的所有內(nèi)容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內(nèi)容對(duì)大家有所幫助,如果還想學(xué)習(xí)更多知識(shí),歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道!

文章標(biāo)題:OGG復(fù)制進(jìn)程延遲不斷增長(zhǎng)怎么辦
標(biāo)題來(lái)源:http://aaarwkj.com/article34/iggjse.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供定制網(wǎng)站軟件開(kāi)發(fā)、網(wǎng)站導(dǎo)航網(wǎng)站營(yíng)銷(xiāo)、關(guān)鍵詞優(yōu)化、虛擬主機(jī)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶(hù)投稿、用戶(hù)轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀(guān)點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話(huà):028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

營(yíng)銷(xiāo)型網(wǎng)站建設(shè)
成人深夜福利视频在线| 麻豆国产免费av在线| 男人天堂av一区二区| 日本一区二区精品视频| 黄色国产欧美国产亚洲| 日韩黄色大片免费在线观看| 中国一区二区三区毛片| 亚洲精品一区二区免费看| 992免费影院 在线观看| 91国产熟女自拍视频| 欧美三级在线完整版免费| 亚洲福利网址一二三区| 中国女人内射69xx| 国产裸体无遮挡免费精品| 亚洲av乱码一区二区三| 国产日产精品一区二区三区四区| 色欧美在线视频观看日韩| 国产一区二区三区不卡视频| 亚洲午夜精品一区二区久久| 国产精品久久99真精品| 亚洲精品尤物福利在线一区| 久久亚洲一区二区三区乱码| 69久久精品费精品国产| 欧美伊香蕉久久综合网99| 国产精品不卡一不卡二| 蜜臀av在线精品国自产拍| 日韩一级片精品视频在线| 国产精品成人亚洲一区二区| 国产激情一区二区三区不卡| 成人免费中文字幕电影| 国产精品国产三级国产av一区| 人妻一少妇一区二区三区| 色婷婷激一区二区三区| 日本特黄特黄录像在线| 粉嫩av北条麻妃电影| 精品久久人人做爽综合| 一区二区三区欧美黑人| 国自产偷精品不卡在线| 日本女优中文字幕久久| 国产亚洲精品免费视频| 99精品亚洲一区二区|