久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <legend id='4KUGx'><style id='4KUGx'><dir id='4KUGx'><q id='4KUGx'></q></dir></style></legend>
      • <bdo id='4KUGx'></bdo><ul id='4KUGx'></ul>

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

        <small id='4KUGx'></small><noframes id='4KUGx'>

        Debezium:數(shù)據(jù)庫(kù)中沒(méi)有記錄最大LSN;請(qǐng)確保 SQL Se

        Debezium: No maximum LSN recorded in the database; please ensure that the SQL Server Agent is running(Debezium:數(shù)據(jù)庫(kù)中沒(méi)有記錄最大LSN;請(qǐng)確保 SQL Server 代理正在運(yùn)行)
        • <i id='resl8'><tr id='resl8'><dt id='resl8'><q id='resl8'><span id='resl8'><b id='resl8'><form id='resl8'><ins id='resl8'></ins><ul id='resl8'></ul><sub id='resl8'></sub></form><legend id='resl8'></legend><bdo id='resl8'><pre id='resl8'><center id='resl8'></center></pre></bdo></b><th id='resl8'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='resl8'><tfoot id='resl8'></tfoot><dl id='resl8'><fieldset id='resl8'></fieldset></dl></div>

                <tbody id='resl8'></tbody>
              • <bdo id='resl8'></bdo><ul id='resl8'></ul>
                <tfoot id='resl8'></tfoot>

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

                  <legend id='resl8'><style id='resl8'><dir id='resl8'><q id='resl8'></q></dir></style></legend>
                  本文介紹了Debezium:數(shù)據(jù)庫(kù)中沒(méi)有記錄最大LSN;請(qǐng)確保 SQL Server 代理正在運(yùn)行的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                  問(wèn)題描述

                  這個(gè)問(wèn)題與:Debezium 如何使用 Kafka Connect 正確注冊(cè) SqlServer 連接器 - 連接被拒絕

                  在 Windows 10 中,我在 Docker 容器外部的 Microsoft SQL Server 實(shí)例上運(yùn)行 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ù)庫(kù)中沒(méi)有記錄最大LSN;請(qǐng)確保 SQL服務(wù)器代理正在運(yùn)行
                  [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ùn)行時(shí)才應(yīng)拋出此警告.我已確認(rèn) SQL Server 代理正在運(yùn)行.

                  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.

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

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

                  注意:

                  我當(dāng)前的解決方案似乎只適用于非生產(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)的片段"信息.如果您沒(méi)有 LSN,則可能是您的 CDC 未運(yùn)行或未正確配置.Debezium 使用 LSN 進(jìn)行復(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. 您是否檢查過(guò)您的表是否啟用了 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ù)庫(kù)已啟用并運(yùn)行?(參見(jiàn) 這里)

                  檢查是否啟用:

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

                  并檢查是否正在運(yùn)行:

                  EXECUTE sys.sp_cdc_enable_db;  
                  GO  
                  

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

                  EXEC sys.sp_cdc_start_job;  
                  GO  
                  

                  1. 在 CDC 中啟用表時(shí),我在使用角色名稱(chēng)時(shí)遇到了一些問(wèn)題.就我而言,在 null 處配置解決了我的問(wèn)題(更多詳細(xì)信息 此處)
                  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ù)庫(kù)中沒(méi)有記錄最大LSN;請(qǐng)確保 SQL Server 代理正在運(yùn)行的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(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 個(gè)先前值來(lái)決定接下來(lái)的 N 個(gè)行)
                  reuse the result of a select expression in the quot;GROUP BYquot; clause?(在“GROUP BY中重用選擇表達(dá)式的結(jié)果;條款?)
                  Does ignore option of Pyspark DataFrameWriter jdbc function ignore entire transaction or just offending rows?(Pyspark DataFrameWriter jdbc 函數(shù)的 ignore 選項(xiàng)是忽略整個(gè)事務(wù)還是只是有問(wèn)題的行?) - IT屋-程序員軟件開(kāi)發(fā)技
                  How to integrate Apache Spark with MySQL for reading database tables as a spark dataframe?(如何將 Apache Spark 與 MySQL 集成以將數(shù)據(jù)庫(kù)表作為 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ù)庫(kù)獲取查詢(xún)(而不是獲取整個(gè)表)?) - IT屋-程序員軟件開(kāi)
                  Break down a table to pivot in columns (SQL,PYSPARK)(分解表以按列進(jìn)行透視(SQL、PYSPARK))

                  1. <i id='rVgEc'><tr id='rVgEc'><dt id='rVgEc'><q id='rVgEc'><span id='rVgEc'><b id='rVgEc'><form id='rVgEc'><ins id='rVgEc'></ins><ul id='rVgEc'></ul><sub id='rVgEc'></sub></form><legend id='rVgEc'></legend><bdo id='rVgEc'><pre id='rVgEc'><center id='rVgEc'></center></pre></bdo></b><th id='rVgEc'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='rVgEc'><tfoot id='rVgEc'></tfoot><dl id='rVgEc'><fieldset id='rVgEc'></fieldset></dl></div>

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

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

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

                            <bdo id='rVgEc'></bdo><ul id='rVgEc'></ul>
                          • 主站蜘蛛池模板: 欧美在线一区二区三区 | 999热精品视频 | 亚洲444eee在线观看 | 国产操操操 | 午夜精品一区 | 国产精品视频在线播放 | 精品久久久久久久久久久久 | 欧美精品欧美精品系列 | 综合国产第二页 | 欧美一区二区 | 国产精品久久久乱弄 | 精品在线一区 | 日韩一区二区免费视频 | 欧美久久久久久久久 | 黄色精品 | 国产午夜av片 | 中文字幕高清 | 天堂av免费观看 | 黄色国产在线播放 | 国产在线视频网 | 国产欧美日韩综合精品一区二区 | 成人午夜免费福利视频 | 日韩一二区 | 国产精品久久久久久妇女6080 | 自拍视频网 | 精品久久一区 | h视频在线播放 | 国产视频第一页 | 在线看91 | 亚洲欧洲成人av每日更新 | 97久久精品午夜一区二区 | 久久久久国产精品 | 国产一区二区视频在线 | 超碰男人天堂 | 九九九视频在线观看 | 中文一区 | 久久躁日日躁aaaaxxxx | 国产在线播放一区二区三区 | 韩日在线 | 欧美小视频在线观看 | 欧美日韩一区二区在线观看 |