刪除 Datastax Advanced Replication 生成的重新日誌 (Deleting replogs generated by Datastax Advanced Replication)


問題描述

刪除 Datastax Advanced Replication 生成的重新日誌 (Deleting replogs generated by Datastax Advanced Replication)

我在一個表的兩個 datastax 集群之間設置了複製。我現在已經刪除了複製通道,因為我不再需要復制數據。該通道已生成大量尚未傳輸的重新日誌,但不再需要(因為複制已終止)。我可以繼續刪除這些文件嗎?是否有任何執行此類清理的 datastax 命令?


參考解法

方法 1:

Have you looked to the official documentation on the disable the advanced replication? If you didn't delete the channels already, you simply were need to stop replication and truncate unreplicated data with dse advrep channel truncate.

In case if you dropped the channels, then I go the road of disabling this feature as disabling the advanced replication as described in documentation, and when restarting the node, remove the files from the disk... And after you restart all nodes, then you can drop dse_advrep keyspace.

(by jsnAlex Ott)

參考文件

  1. Deleting replogs generated by Datastax Advanced Replication (CC BY‑SA 2.5/3.0/4.0)

#database-replication #replication #datastax






相關問題

C# 移動設備應用程序中的 SQL 複製 (SQL Replication in C# mobile device application)

在主文件日誌中獲得最後位置(MySQL 複製)? (Getting last position in master-file-log (MySQL replication)?)

複製集同步時發生Mongod慢查詢 (Mongod slow query be happend when replicate set sync)

sql server 2005 複製文章衝突 (sql server 2005 replication article conflict)

SQL 合併複製中“邏輯記錄”的未來 (Future of "Logical Records" in SQL Merge Replication)

GAE:關於高複制數據的使用 (GAE: About the Usage of High Replication Data)

在兩個不同的 PostgreSQL 數據庫服務器中更新數據 (Update data in two differents PostgreSQL database servers)

刪除 Datastax Advanced Replication 生成的重新日誌 (Deleting replogs generated by Datastax Advanced Replication)

我們可以在不同版本的 marklogic 之間進行森林或數據複製嗎? (Can we have forests or data replication between different versions of marklogic?)

MongoDB Atlas 輔助分片保持空閒 (MongoDB Atlas secondary shards remain idle)

升級過程中從 5.6 到 5.7 的 AWS RDS MySQL 複製 (AWS RDS MySQL replication from 5.6 to 5.7 during the upgrade process)

我可以編寫一個 activerecord 範圍,在查詢時將結果包裝在一個塊中嗎? (Can I write an activerecord scope which wraps the result in a block at query time?)







留言討論