Quantcast
Channel: StackExchange Replication Questions
↧

Create a transactional replication of SQL managed instance with CDC enabled

I have a SQL managed instance with failover group enabled. One user group needs to access the database with CDC enabled. So I consider to create a transactional replication of the managed instance.Can...

View Article


SQL Server Replication - accidentally unselected table from snapshot: how do...

Using SQL Server merge replication, one of the tables was accidentally unselected (check box unticked). How do I add it back in to the snapshot again? It was unfortunately a large table with plenty of...

View Article


Merge replication Column-level tracking configuration not work as expected

I have merge replication setup in 2 servers running SQL Server 2016 and now I'm struggling with the conflict detection level, the column-level tracking is not working as expected.Let's say I have the...

View Article

Sql server transactional replication latency

I'm analyzing the distribution database to see if there any latency in the replication between publisher and subscriberThe architecture is one publisher, 1 distrubution db (on publisher server) and one...

View Article

how to determine how much data is being replicated on a daily basis based on...

We use transactional replication in our environment and I would like to know if there is a way or script to figure out how much data is being pushed per day in replicated databases?How to determine how...

View Article


How to configure transactional replication with availability groups

I'm looking to implement transactional replication with AOAGs.Has anyone implemented it? If so, have the steps been documented?Otherwise, can anyone direct me to documentation that supports such a...

View Article

Postgres difference between restart_lsn and confirmed_flush

According to the documentation, restart_lsn isThe address (LSN) of oldest WAL which still might be required by the consumer of this slot and thus won't be automatically removed during...

View Article

Merge replication between Express and Enterprise editions of SQL Server

I have two SQL Server servers.1st is an Enterprise edition and it is a local server2nd is an Express edition and it is onlineNow, the 1st pushes transactional replication to the 2nd.My question: is it...

View Article


MS SQL Server - initial data anonymization for replicated database

I have 2 SQL Server databases - publisher and subscriber. Since the subscriber is being used for statistics I have to provide anonymization for some records.My idea is to:Load data into the replica...

View Article


Listing conflict column name in merge replication

Does anyone know how to list the affected column name of a merge conflict? I can list the table, but identifying the column is less obvious. I've got column level conflict tracking set.

View Article

Image may be NSFW.
Clik here to view.

Performing operation on transactional insert

Using MS SQL Server to replicate data between 2 servers for security purposes. Is it possible to perform an operation on the data sent from the publisher database before it is inserted into the...

View Article

Calling triggers on replicated table when reinitalising from snapshot

I noticed my triggers weren't being fired after a subscriber was reinitialised. Is there a configuration to allow this functionality.Currently my setting for 'Action if name is in use' is 'Delete data'...

View Article

Prevent SQL Serve merge replication from deleting unmatched filter rows from...

I have a billing system and each bill have a state, one of the states is draft.What i want is the draft bill created by subscriber not to replicate to publisher and stay in subscriber until it's not a...

View Article


The process could not execute 'sp_replcmds' on '********'. (Source:...

Yes, I know this issue is scattered all over the Internet, but none quite deal with my issue. Both Publisher and Subscriber are SQL Server 2017 on Windows Server 2016. The Log Reader fails with the...

View Article

How to set up MySQL replication between two MySQL instances

I developed a Laravel application (using Mysql for my database locally and remotly) for a small business and they asked me to make the application usable even if there is no internet connection, so I...

View Article


Image may be NSFW.
Clik here to view.

The replication agent encountered a failure

I have created a new merge replication. I am facing this issue:When I go to ​start the 'View Agent Snapshot Status', it shows an error:I clicked start but still got the same error.I have viewed at the...

View Article

Partial or Lightweight Replica of MySQL on AWS RDS

I have a MySQL database on Amazon RDS, few of the tables are growing fast so we are thinking to have a lighter/smaller database (or may be just specific tables) replica so that we can fetch current...

View Article


mongodb replication cannot add secondary replica

I have configured the replica set with primary and 2 secondary nodes, did managed to add one secondary to primary and can see the replication works not am trying to add the 2 secondary and get errors...

View Article

How to get last SQL replication error when multithreading is enabled?

Since MySQL 8.0.27, multithreading is now enabled by default for replica servers. SourceUntil then, if the replication failed, we could get the exact error from Last_Error in the result of show replica...

View Article

is there a way to limit bandwidth usage for CouchDB replication?

I have a setup with one CouchDB master database hosted at a cloud provider and several slave CouchDB databases located at sites with LTE/mobile connection (=clients).The goal is to replicate the master...

View Article

mysql replication duplicate entry [migrated]

I replicate my mysql master to a slave. They works very well but once in a while, duplicate entry would happen and I don't know how to resolve it ending up copy the master over and start replicate...

View Article


Consolidating data from Subscriber database at Publisher

We have some tables published from one SQL server and another server subscribed to it. However we just realised on two tables data was added at the subscriber end that doesn't exist at the publisher. I...

View Article


Configure Redisson client to simulataneously use two codecs

We use Redisson & are experimenting with Snappy compression codec to reduce Redis storage. We currently use JSON codec for custom data serialization. For the purpose of rollbacks on production, I'm...

View Article

How to sync a postgres database in local network with a postgres database in...

I have a postgres database that is installed on the local network with no public ip address and a postgres database in the cloud that has a public ip address.The existing system includes copying all...

View Article

mongodb replication configuration issue during failover

can someone suggest on the heartbeatIntervalMillis parameter,its default it 2000 milliseconds, i am thinking to change it to zero because of my application behavior which is zero switchover , can any...

View Article


Is there anyway in sql server transactional replication to not drop the...

I have transactional replication setup between Server1 database and Server2 database on few tables.Now the problem is when I start the replication for the first time, it drops the table on target...

View Article

sync mongo collections to elastic search using mongo-connector

I want to sync mongo collections to elastic search using mongo-connector. created the replica-set and trying to sync the data. getting few issues. below versions used so far. mongo 4.4 elastic search...

View Article

(Replication) System.Data.SqlClient.SqlException: 'Invalid column name'

I encounter this error while trying to load data from a subscriptionSubscription's articles:Subscription's articlesError:Error detailsTranslation:In table SINHVIEN(Student) there are columns include...

View Article

Distribution Cleanup failure

The [Distribution Cleanup: Distribution] job, which removes replicated transactions from the distribution database, failed due to an error when executing the sp_MSdelete_publisherdb_trans procedure. I...

View Article



max_replication_slots in RDS replica

We have enabled the on-prem PostgreSQL (Source) to AWS-RDS (Target) replication by following the official guide and which is worked well. Our RDS cluster has multiple replica's and am trying the enable...

View Article

HyperV Replication with more .vhdx files

I'm looking into HyperV replication for a failover scenario.I want to set up a VM with 3 .vhdx files. Each vhdx file is on a separate Raid1 on the Host Server. One vhdx for Guest Os(Raid1 SATA), one...

View Article

How to specify a sync source when adding a new member to a MongoDB replicaset?

Recently we had a machine physically destroyed, so our replicaset is now: Primary - Secondary - Arbiter (250G on disk, 20G (70hrs) oplog).So, I'm trying to add a new member (4.4.10) to the replicaset...

View Article

Microservices Replication: What about the Database?

Let's say you are using either ServiceFabric or Kubernetes, and you are hosting a transaction data warehouse microservice (maybe a bad example, but suppose all it dose is a simple CQRS architecture...

View Article


MySQL replication with read/write tables

I'm trying to implement replicas between master database and secondary databases. I've tried binary replication - it works as suggested. But I want use some service to manage this without manual...

View Article

CouchDB - Overwrite deleted documents from backup database to original database

Replicate the documents which marked deleted on original database, but that document is present into the replicated database. Now I am performing the replication, but the deleted document is not...

View Article

MariaDB Galera - 'wsrep_restart_slave=ON' does not work

The problem is we have replication issues on various servers - the error looks like this on the slave node (there is no any other error before these lines):2021-12-06 1:11:12 379 [ERROR] Slave SQL:...

View Article


How do I set up one server to replicate X schemas from X different server,...

In other words; I'm trying to figure out how to restore multiple mariabackup dumps to one server (different databases). I assume I'm missing something obvious in the documentation, but I've been...

View Article


Postgresql - recover slave after out of sync with master using WAL

I've setup a master / slave Postgresql(13.4) group, 1 master and 1 slave, using WAL warm standby.(refer: https://postgresql.org/docs/current/warm-standby.html#STANDBY-SERVER-SETUP)But, due to some...

View Article

mongodb with hot standby and automatic failover?

Let me start by saying I'm a relational (Oracle) DBA. And, I think in that paradigm.This cluster will be the backend to a Angular application.I've been asked to install and configure mongodb on a 2...

View Article

Postgresql - increase WAL retention to avoid slave go out of sync with master

I've setup a master / slave Postgresql(13.4) group, 1 master and 1 slave, using WAL warm standby. (refer: https://postgresql.org/docs/current/warm-standby.html#STANDBY-SERVER-SETUP)The slave gone out...

View Article

Kubernetes HPA. Settings for right down scale

I use Kubernetes in my project, specially HPA. So, every minute in project we started check-status request for checking if all microservices are available. Availability is defined by simple response...

View Article


Is it possible to dump the Mongodb database (the only one of many on the...

Is it possible to dump the database (the only one of many on the host) while the database and related services are running? At this time, data will continue to be written to the database. It is...

View Article

Sonatype Nexus Replicator not Replicating Repositories as expected using...

Scenario: We are trying to setup Bi-Directional Repository Replication in Nexus Pro. (refer -...

View Article


Need to enable backup replication feature in AWS RDS through Terraform

Need to enable backup replication feature in AWS RDS - oracle through terraform. So do we have any attributes from terraform side for that particular feature?

View Article

How to have multi-region replication for SQS messages?

I have an Active-Passive multi region architecture on AWS. We have cross-region replication for our RDS and DynamoDB; however, I'm not sure what to do with our messages in SQS when we failover. Based...

View Article


SQL Server environment with simple recovery mode T-Log filling up space

the issue I am having is due to replication problems that we have been having, transaction logs completely filled up our drive where data and log files reside. we are not able to connect to ssms at...

View Article

SQL Server environment with simple recovery mode T-Log filling up space...

the issue I am having is due to replication problems that we have been having, transaction logs completely filled up our drive where data and log files reside. we are not able to connect to ssms at...

View Article

Column name or number of supplied values does not match table definition....

I am trying transactional replication.After the replication is done when I checked the replication monitor an error is showing.Column name or number of supplied values does not match table definition....

View Article

[UE4][Blueprint] How i can write in a replicate array with a client?

I'm trying to implement a ready button in my lobby and depending on whether the player is ready or not I change the status image from red to green. For example, the Call of Duty Black Ops 1 zombie...

View Article


How to do database replication correctly in this case?

I have a large PostgreSQL database on my local computer in docker volume, then I need to copy the database to a remote computer (VPS). This database will be static (read only), the data will be updated...

View Article



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>