pbootcms网站模板|日韩1区2区|织梦模板||网站源码|日韩1区2区|jquery建站特效-html5模板网

  • <tfoot id='xBViN'></tfoot>

      <legend id='xBViN'><style id='xBViN'><dir id='xBViN'><q id='xBViN'></q></dir></style></legend>

        <i id='xBViN'><tr id='xBViN'><dt id='xBViN'><q id='xBViN'><span id='xBViN'><b id='xBViN'><form id='xBViN'><ins id='xBViN'></ins><ul id='xBViN'></ul><sub id='xBViN'></sub></form><legend id='xBViN'></legend><bdo id='xBViN'><pre id='xBViN'><center id='xBViN'></center></pre></bdo></b><th id='xBViN'></th></span></q></dt></tr></i><div class="7pbrp7h" id='xBViN'><tfoot id='xBViN'></tfoot><dl id='xBViN'><fieldset id='xBViN'></fieldset></dl></div>

          <bdo id='xBViN'></bdo><ul id='xBViN'></ul>

        <small id='xBViN'></small><noframes id='xBViN'>

      1. Debezium:數(shù)據(jù)庫中沒有記錄最大LSN;請確保 SQL Se

        Debezium: No maximum LSN recorded in the database; please ensure that the SQL Server Agent is running(Debezium:數(shù)據(jù)庫中沒有記錄最大LSN;請確保 SQL Server 代理正在運行)

          • <i id='eZ9Bj'><tr id='eZ9Bj'><dt id='eZ9Bj'><q id='eZ9Bj'><span id='eZ9Bj'><b id='eZ9Bj'><form id='eZ9Bj'><ins id='eZ9Bj'></ins><ul id='eZ9Bj'></ul><sub id='eZ9Bj'></sub></form><legend id='eZ9Bj'></legend><bdo id='eZ9Bj'><pre id='eZ9Bj'><center id='eZ9Bj'></center></pre></bdo></b><th id='eZ9Bj'></th></span></q></dt></tr></i><div class="zxld5rd" id='eZ9Bj'><tfoot id='eZ9Bj'></tfoot><dl id='eZ9Bj'><fieldset id='eZ9Bj'></fieldset></dl></div>

              <small id='eZ9Bj'></small><noframes id='eZ9Bj'>

              <tfoot id='eZ9Bj'></tfoot>

                <legend id='eZ9Bj'><style id='eZ9Bj'><dir id='eZ9Bj'><q id='eZ9Bj'></q></dir></style></legend>
                  <tbody id='eZ9Bj'></tbody>

                  <bdo id='eZ9Bj'></bdo><ul id='eZ9Bj'></ul>
                  本文介紹了Debezium:數(shù)據(jù)庫中沒有記錄最大LSN;請確保 SQL Server 代理正在運行的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  這個問題與:Debezium 如何使用 Kafka Connect 正確注冊 SqlServer 連接器 - 連接被拒絕

                  在 Windows 10 中,我在 Docker 容器外部的 Microsoft SQL Server 實例上運行 Debezium.我每 390 毫秒收到以下警告:

                  In Windows 10, I have Debezium running on an instance of Microsoft SQL Server that is outside of a Docker container. I am getting the following warning every 390 milliseconds:

                  數(shù)據(jù)庫中沒有記錄最大LSN;請確保 SQL服務(wù)器代理正在運行
                  [io.debezium.connector.sqlserver.SqlServerStreamingChangeEventSource]

                  No maximum LSN recorded in the database; please ensure that the SQL Server Agent is running
                  [io.debezium.connector.sqlserver.SqlServerStreamingChangeEventSource]

                  我在 Github 上檢查了 Debezium 的代碼,唯一能找到此警告的地方在代碼注釋中指出,只有在 Agent 未運行時才應(yīng)拋出此警告.我已確認 SQL Server 代理正在運行.

                  I checked Debezium's code on Github and the only place that I can find this warning states in the code comments that this warning should only be thrown if the Agent is not running. I have confirmed that the SQL Server Agent is running.

                  為什么會出現(xiàn)此警告,我該如何解決?

                  Why is this warning showing up and how do I fix it?

                  注意:

                  我當前的解決方案似乎只適用于非生產(chǎn)環(huán)境 - 根據(jù) Docker 的文檔.

                  My current solution appears to only work in a non-production environment - per Docker's documentation.

                  推薦答案

                  LSN 是與 SQL Server 更改相關(guān)的片段"信息.如果您沒有 LSN,則可能是您的 CDC 未運行或未正確配置.Debezium 使用 LSN 進行復(fù)制,因此您的 SQL Server 需要生成它.

                  LSN is the "pieces" of information related about your SQL Server changes. If you don't have LSN, is possible that your CDC is not running or not configured properly. Debezium consumes LSNs to replicate so, your SQL Server need to generate this.

                  一些方法:

                  1. 您是否檢查過您的表是否啟用了 CDC?這將列出啟用 CDC 的表:

                  SELECT s.name AS Schema_Name, tb.name AS Table_Name
                  , tb.object_id, tb.type, tb.type_desc, tb.is_tracked_by_cdc
                  FROM sys.tables tb
                  INNER JOIN sys.schemas s on s.schema_id = tb.schema_id
                  WHERE tb.is_tracked_by_cdc = 1
                  

                  1. 您的 CDC 數(shù)據(jù)庫已啟用并運行?(參見 這里)

                  檢查是否啟用:

                  SELECT * 
                  FROM sys.change_tracking_databases 
                  WHERE database_id=DB_ID('MyDatabase')
                  

                  并檢查是否正在運行:

                  EXECUTE sys.sp_cdc_enable_db;  
                  GO  
                  

                  1. 您的 CDC 服務(wù)是否在 SQL Server 上運行?請參閱 在文檔中

                  EXEC sys.sp_cdc_start_job;  
                  GO  
                  

                  1. 在 CDC 中啟用表時,我在使用角色名稱時遇到了一些問題.就我而言,在 null 處配置解決了我的問題(更多詳細信息 此處)
                  1. On enabling table in CDC, I had some issues with rolename. For my case, configuring at null solved my problem (more details here)

                      EXEC sys.sp_cdc_enable_table
                          @source_schema=N'dbo',
                          @source_name=N'AD6010',
                          @capture_instance=N'ZZZZ_AD6010',
                          @role_name = NULL,
                          @filegroup_name=N'CDC_DATA',
                          @supports_net_changes=1
                       GO
                  

                  這篇關(guān)于Debezium:數(shù)據(jù)庫中沒有記錄最大LSN;請確保 SQL Server 代理正在運行的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  How to use windowing functions efficiently to decide next N number of rows based on N number of previous values(如何有效地使用窗口函數(shù)根據(jù) N 個先前值來決定接下來的 N 個行)
                  reuse the result of a select expression in the quot;GROUP BYquot; clause?(在“GROUP BY中重用選擇表達式的結(jié)果;條款?)
                  Does ignore option of Pyspark DataFrameWriter jdbc function ignore entire transaction or just offending rows?(Pyspark DataFrameWriter jdbc 函數(shù)的 ignore 選項是忽略整個事務(wù)還是只是有問題的行?) - IT屋-程序員軟件開發(fā)技
                  How to integrate Apache Spark with MySQL for reading database tables as a spark dataframe?(如何將 Apache Spark 與 MySQL 集成以將數(shù)據(jù)庫表作為 Spark 數(shù)據(jù)幀讀取?)
                  In Apache Spark 2.0.0, is it possible to fetch a query from an external database (rather than grab the whole table)?(在 Apache Spark 2.0.0 中,是否可以從外部數(shù)據(jù)庫獲取查詢(而不是獲取整個表)?) - IT屋-程序員軟件開
                  Break down a table to pivot in columns (SQL,PYSPARK)(分解表以按列進行透視(SQL、PYSPARK))

                  <tfoot id='Ga68i'></tfoot>

                        <bdo id='Ga68i'></bdo><ul id='Ga68i'></ul>
                        <legend id='Ga68i'><style id='Ga68i'><dir id='Ga68i'><q id='Ga68i'></q></dir></style></legend>

                      • <small id='Ga68i'></small><noframes id='Ga68i'>

                          <tbody id='Ga68i'></tbody>

                        • <i id='Ga68i'><tr id='Ga68i'><dt id='Ga68i'><q id='Ga68i'><span id='Ga68i'><b id='Ga68i'><form id='Ga68i'><ins id='Ga68i'></ins><ul id='Ga68i'></ul><sub id='Ga68i'></sub></form><legend id='Ga68i'></legend><bdo id='Ga68i'><pre id='Ga68i'><center id='Ga68i'></center></pre></bdo></b><th id='Ga68i'></th></span></q></dt></tr></i><div class="bvzh3zd" id='Ga68i'><tfoot id='Ga68i'></tfoot><dl id='Ga68i'><fieldset id='Ga68i'></fieldset></dl></div>
                            主站蜘蛛池模板: 全自动包装机_灌装机生产厂家-迈驰包装设备有限公司 | 深圳希玛林顺潮眼科医院(官网)│深圳眼科医院│医保定点│香港希玛林顺潮眼科中心连锁品牌 | 蓝牙音频分析仪-多功能-四通道-八通道音频分析仪-东莞市奥普新音频技术有限公司 | 联系我们-腾龙公司上分客服微信19116098882 | 散热器-电子散热器-型材散热器-电源散热片-镇江新区宏图电子散热片厂家 | 世界箱包品牌十大排名,女包小众轻奢品牌推荐200元左右,男包十大奢侈品牌排行榜双肩,学生拉杆箱什么品牌好质量好 - Gouwu3.com | 济南宣传册设计-画册设计_济南莫都品牌设计公司 | 酒店厨房设计_中央厨房设计_北京商用厨房设计公司-奇能商厨 | 电梯装饰-北京万达中意电梯装饰有限公司| 深圳天际源广告-形象堆头,企业文化墙,喷绘,门头招牌设计制作专家 | 广州中央空调回收,二手中央空调回收,旧空调回收,制冷设备回收,冷气机组回收公司-广州益夫制冷设备回收公司 | nalgene洗瓶,nalgene量筒,nalgene窄口瓶,nalgene放水口大瓶,浙江省nalgene代理-杭州雷琪实验器材有限公司 | 陶氏道康宁消泡剂_瓦克消泡剂_蓝星_海明斯德谦_广百进口消泡剂 | 陕西高职单招-陕西高职分类考试网| 液氨泵,液化气泵-淄博「亚泰」燃气设备制造有限公司 | 涿州网站建设_网站设计_网站制作_做网站_固安良言多米网络公司 | 气体热式流量计-定量控制流量计(空气流量计厂家)-湖北南控仪表科技有限公司 | 手术示教系统-数字化手术室系统-林之硕医疗云智能视频平台 | 上海佳武自动化科技有限公司 | 金属抛光机-磁悬浮抛光机-磁力研磨机-磁力清洗机 - 苏州冠古科技 | 干法制粒机_智能干法制粒机_张家港市开创机械制造有限公司 | 企典软件一站式企业管理平台,可私有、本地化部署!在线CRM客户关系管理系统|移动办公OA管理系统|HR人事管理系统|人力 | 机构创新组合设计实验台_液压实验台_气动实训台-戴育教仪厂 | elisa试剂盒价格-酶联免疫试剂盒-猪elisa试剂盒-上海恒远生物科技有限公司 | 安徽泰科检测科技有限公司【官方网站】| 玉米深加工设备|玉米加工机械|玉米加工设备|玉米深加工机械-河南成立粮油机械有限公司 | 电气控制系统集成商-PLC控制柜变频控制柜-非标自动化定制-电气控制柜成套-NIDEC CT变频器-威肯自动化控制 | 低温柔性试验仪-土工布淤堵-沥青车辙试验仪-莱博特(天津)试验机有限公司 | 微水泥_硅藻泥_艺术涂料_艺术漆_艺术漆加盟-青岛泥之韵环保壁材 武汉EPS线条_EPS装饰线条_EPS构件_湖北博欧EPS线条厂家 | 上海洗地机-洗地机厂家-全自动洗地机-手推式洗地机-上海滢皓洗地机 | 珠海白蚁防治_珠海灭鼠_珠海杀虫灭鼠_珠海灭蟑螂_珠海酒店消杀_珠海工厂杀虫灭鼠_立净虫控防治服务有限公司 | 流量卡中心-流量卡套餐查询系统_移动电信联通流量卡套餐大全 | AGV叉车|无人叉车|AGV智能叉车|AGV搬运车-江西丹巴赫机器人股份有限公司 | 咖啡加盟,咖啡店加盟连锁品牌-卡小逗 | 连续密炼机_双转子连续密炼机_连续式密炼机-南京永睿机械制造有限公司 | 慢回弹测试仪-落球回弹测试仪-北京冠测精电仪器设备有限公司 | 轻型地埋电缆故障测试仪,频响法绕组变形测试仪,静荷式卧式拉力试验机-扬州苏电 | 广东成考网-广东成人高考网| Akribis直线电机_直线模组_力矩电机_直线电机平台|雅科贝思Akribis-杭州摩森机电科技有限公司 | 三板富 | 专注于新三板的第一垂直服务平台 | 量子管通环-自清洗过滤器-全自动反冲洗过滤器-沼河浸过滤器 |