Questions tagged [replication]

Replication is the process of sharing any level of information so as to ensure consistency between redundant hardware/software resources to improve reliability, fault-tolerance, and accessibility

Filter by
Sorted by
Tagged with
1 vote
0 answers
18 views

MySQL Replication is online, but stalls with no errors or large transactions

Have a replica that runs MySql 5.6 Replication. It has been running without issue for a long time. Now replication is running, but it pauses on a transaction and will not move until you issue a stop/...
user avatar
  • 11
0 votes
1 answer
24 views

How to replicate between On-Premises and Azure in Mongodb

I have three 3 node cluster on-premises ( 1 Primary and 2 Secondary ). I have same 3 node cluster in AZURE ( 1 Primary and 2 Secondary ) with same version and data but with different FQDN in azure. ...
user avatar
0 votes
0 answers
9 views

Pgpool for HA of Postgres with repmgr switchover. Pgpool haw to follow primary

I'm trying to setup a highly available postgres (13) cluster(3 servers) with streaming replication. I first tried native replication and then decided to use repmgr to manage this so I could use the ...
user avatar
  • 1
0 votes
0 answers
29 views

Cannot connect to PostgreSQL replica [duplicate]

I can't to connect to PostgreSQL replica. When I try to connect to PostgreSQL replica it shows error message: psql: error: FATAL: canceling statement due to conflict with recovery DETAIL: User query ...
user avatar
1 vote
1 answer
52 views

How to rollback to earlier SQL Server version without data loss after SQL Server upgrade

We are planning for SQL Server 2019 upgrade from SQL Server 2014 version. One of the requirement from the business owners is that we should be able to fall back to earlier version without data loss ...
user avatar
  • 11
1 vote
1 answer
26 views

Drop Subscriber at SQL Transactional replication

We have SQL Transactional pull replication: Publisher and Distributor are at the same server - ServerA. It publicates Publication1. Pull Subscribers to Publication1 are - ServerB, ServerC and ...
user avatar
  • 11
0 votes
0 answers
41 views

Replicate MySQL table to MariaDB for System Versioning

We have some tables in an operational and busy MySQL database (AWS RDS) for which we require system versioning for some of the tables. (point-in-time queries) Is it possible to somehow replicate the ...
user avatar
0 votes
0 answers
15 views

MySQL Replication with Data Transformation and Replicant-specific Data

I have two MySQL 8.0.23 RDS's - one "Production" RDS that actual users use, and one "Performance" RDS that is used for performance testing. These databases have the same schema and ...
user avatar
  • 101
0 votes
1 answer
40 views

SQL Database Replication

I have requirement with below for SQL database replication. I have two separate SQL database servers on same network, one will be used as primary and another one as secondary. Primary is a central ...
user avatar
0 votes
1 answer
20 views

Can we use a mongodb 4.3.3 and mongodb 2.6.5 in same replica set?

we are running a mongo 2.6.5, 5 member replica set on CentOS and are looking to upgrade to 4.3.3. We do not use sharding. The tricky part for us is that we operate a service and can't have scheduled ...
user avatar
0 votes
1 answer
13 views

Enabling replication in MySQL in fresh database

We have a legacy TokuDB database that we would like to begin migrating to a new engine. Unfortunately taking the db offline for migration is not feasible. We also can reprocess all the data in the ...
user avatar
0 votes
0 answers
10 views

Finding the MySQL binlog positions to restore replication

I have a large database where replication became broken (a query to delete rows ran on the slave directly by mistake) The decision was taken to restore the slave from the master. I've made an export ...
user avatar
0 votes
1 answer
25 views

Postgresql Replication issues of clarity

In an effort to document myself I examined a few sources; these two from the official docs and this external one seemed promising Now the latter one seems to be updated in 2020, but refers to version ...
user avatar
  • 237
0 votes
1 answer
60 views

Is wal_keep_segments required with streaming replication when archive and restore commands are set?

I have a 2 node postresql(12.9) cluster with streaming replication enabled. I have also set the archive and restore commands which I verified is working as expected. No replication slots or ...
user avatar
0 votes
0 answers
26 views

Why is restoring a fresh database from a backup failing due to a duplicate key error?

I'm trying to build a replica from an active database with no downtime for replication purposes. I run the following statement to get a backup, avoid locking the tables, and flush the logs so that the ...
user avatar
1 vote
1 answer
48 views

SQL Server replication between standard and developer editions

I have one SQL Server Standard (2019), I want to add one server to developper (not used by production so the version if developper), it's possible to replicate data ? what is the best methode ? we ...
user avatar
0 votes
0 answers
17 views

Report (log) of each transaction on SQL Server Replication?

I've configured a transactional type of Replication between two SQL Servers. Since it's a project that it's still under review on my side I have only selected a couple of articles for the replication. ...
user avatar
0 votes
0 answers
14 views

How can replication break from a crashed replica?

I have a master-master relationship between two database servers, server A and B. Server B acts as a failover in case server A were to go down. Server B recently went down unexpectedly due to ...
user avatar
0 votes
1 answer
16 views

MySql (local-Online) replication

I am trying to apply MySql replication between a local server (Master) and an online server (Slave) and need your help. ** All names (username – password – server name) are just an example and not the ...
user avatar
0 votes
0 answers
66 views

AWS RDS database replication replicates everything regardless my parameters group

I have a database in RDS that I want to replicate. I made a parameter group where I described which tables I want to be replicated. I applied it to my replica, and still it replicated the whole ...
user avatar
0 votes
1 answer
54 views

fivetran replication from PostgreSQL (connector Broken with WAL log error)

PostgreSQL RDS instance having physical replication to multi-AZ, same instance also enabled for Fivetran replication copying data to BigQuery using WAL logical test-decoding. Multiple issues here: ...
user avatar
1 vote
0 answers
40 views

Which MariaDB-Galera Node Should I Start After Cluster Crushing or Failing?

Sometimes my 3-Node GaleraCluster fails and doesn't serve. When I check I see all of them are activated but two of them are not working, so I check log files I see one of them could not operate an ...
user avatar
0 votes
0 answers
21 views

ubutun 18.04 I did master and slave replication. before it was working fine but today it stopped all of a sudden I don't know why

2022-04-27T21:57:22.421118Z 2 [ERROR] Slave I/O for channel '': error connecting to master 'replicat@172.20.10.2:3306' - retry-time: 60 retries: 1, Error_code: 2003 2022-04-27T21:58:22.810750Z 2 [...
user avatar
1 vote
1 answer
47 views

Azure Database Performance Throttling - Use Replication or?

We keep a "rather large" azure database where we load all of our company data into every night. It uses temporal tables to keep track of changes to the data Now we want to start reading this ...
user avatar
  • 113
3 votes
1 answer
29 views

MySQL replication setup based on an LVM snapshot – am I forgetting anything?

I'm tasked with starting a brand new replica of a client's MySQL 5.7.35 database server. While I've observed others doing this in the past in various circumstances, I haven't been in charge of this ...
user avatar
  • 135
0 votes
1 answer
31 views

Restore SQL Server replication subscriber

We have merge replication in our system and there is a case when we need to deploy our system with subscriber database and time is crutial. I wonder if the is possibility to take configured subscriber ...
user avatar
0 votes
1 answer
33 views

Upgrading Logical Replica of PostgreSQL

I am trying to upgrade a logical replica from PostgreSQL V10 to V13. We are using pglogical for the logical replication. Though the upgrade process of the replica can be done, however the replication ...
user avatar
1 vote
1 answer
46 views

SQL Server replication msRepl_commands msRepls_transactions tables growing

I'm not getting any clue how to safely clean up the above tables. Last Friday, these tables had 22m and 6m records, respectively. Over the weekend, the number of rows has been reduced to 10m and 2.5m. ...
user avatar
1 vote
1 answer
79 views

How to re-sync the Mysql replication if Master down

I have a very simple webapp infra: FE => BE => MySQL. I have set up MySQL master-slave replication successfully. If my MySQL master node is down, I can manually point the MySQL IP to the Slave ...
user avatar
0 votes
0 answers
34 views

Postgres: one publication for all tables or one publication per table?

Are there any significant pros or cons to having one publication for all tables vs one per table? The ones I can think of are: Cons for one publication for all tables: If multiple services consume ...
user avatar
  • 101
0 votes
2 answers
32 views

Is better to copy value between DB table or create a reference?

I’m at a crossroads, and I don't know which is the best option to choose. Let's say I have a Table A which contains addresses and other information. As you can expect lot of rows contains the same ...
user avatar
1 vote
0 answers
26 views

SQL Replication - What is @frequency_recurrence_factor and what must it be set to?

The documentation says: [ @frequency_recurrence_factor = ] frequency_recurrence_factor Is the recurrence factor used by frequency_type. frequency_recurrence_factor is int, with a default of 0. Does ...
user avatar
  • 253
0 votes
0 answers
22 views

Large log backup files on subscriber side of merge replication

I have a merge replication setup in SQL Server 2019 (Full recovery model) that is working great with no problems in use. The publisher and the subscriber both have weekly full backups, and hourly log ...
user avatar
  • 101
1 vote
1 answer
16 views

How do I safely drop a table under replication

I have newly set up replication on my Sql 2012 Server. It is working OK. I occasionally have sql scripts that drop existing tables and recreate them. However, I cannot drop any table currently under ...
user avatar
  • 73
1 vote
1 answer
76 views

How to modify the Replication Subscription Job/script to make it point an IP Address and a Port number?

I have an SQL Server 2012 server set up replicating one Database. It is behind a firewall. I have poked a hole in the firewall so I can access the server on Port 1433. I am using an IP Address and a ...
user avatar
  • 73
0 votes
0 answers
38 views

SQL Server Database Migration from old data type to new SQL Server with new data type (VLDB)

I have a database sized 25+ TB. There are objects (almost all tables has) with nvarchar data typed columns with partitions. Recently we realized there is no necessity for maintaining nvarchar data ...
user avatar
0 votes
1 answer
34 views

SQL Server modification timestamps

I'm implementing ingestion job from SQL Server 2016. For performance reasons we want to implement incremental loads. Few facts: Customer has read replica as a part of always on availability group ...
user avatar
  • 101
0 votes
1 answer
383 views

MySQL 8 Replication

I've got this error message: Coordinator stopped because there were error(s) in the worker(s). The most recent failure being: Worker 1 failed executing transaction 'ANONYMOUS' at master log mysql-bin....
user avatar
0 votes
0 answers
19 views

Skip updates from postgres replication

I'm working on an app that is currently consuming from psql replication. I'm creating the publication like: create publication pub for table table1 with (publish = 'insert') When I start consuming ...
user avatar
0 votes
0 answers
11 views

Split data file into multiple files

We have a 7 TB database that currently consists of 2 files (~2 TB & ~5 TB). We are also migrating onto a new platform and haven't yet decided on the migration method. It has been recommended that ...
user avatar
  • 1
0 votes
1 answer
45 views

"The slave is lagging behind"-mystery

I have a testing scenario with one dedicated server (6 vCore x 3.6 GHz AMD Ryzen 5 Pro 3600, RAM: 32 GB, HDD: 2 x 1000 GB Software RAID 1 if that matters) and a MySQL (MariaDB) replication setup with ...
user avatar
  • 101
0 votes
0 answers
31 views

Add new table to existing Google Data Fusion replication job

I have functional replication job (MariaDB to BigQuery) in Google Data Fusion - replication module (accelerator), which was pretty simple to configure and it works great, even when altering tables. ...
user avatar
  • 1
0 votes
0 answers
36 views

Redis, replication and unreasonably high memory consumption

I'm trying to replicate a redis instance (keydb to be honest, but that's just a SMP flavor actually) with the following metrics: 16 Gb used memory, 24K rps, 4K clients, 1.4M items. While theoretically ...
user avatar
  • 197
0 votes
1 answer
17 views

Is it possible to logically replicate pg_catalog tables?

I would like to logically replicate pg_catalog tables from various (100s) databases to a single cluster to help me reliably compare schemas via query. I have tried FDW (and dblink) but found that ...
user avatar
0 votes
1 answer
111 views

Postgresql: how to enable pg_stat_replication_slots?

I have a streaming replication on pg 14.2 that seems to be working, on a slot named slot1. select * from pg_stat_replication_slots has no output. Do I need to enable anything else? I have those on: ...
user avatar
2 votes
1 answer
47 views

Fix mysql replication crashed due to underlying storage corruption

we have critical database server running on two virtual machines. one virtual machine crashed due to underlying storage problem and we had to move it to different storage medium and recover the xfs ...
user avatar
0 votes
0 answers
33 views

Replicating on-prem MS SQL databases with Azure DataFactory

Is it possible to replicate a database from an on-prem SQL server to a SQL Server running on an Azure VM (SQL on IaaS, not a SQL Managed Instance or an AzureSQL database) using Azure DataFactory? Most ...
user avatar
  • 101
0 votes
0 answers
16 views

Mysql replication and binlog position saving

I'm using Mysql replication sets for I don't really remember how long, and one thing really bothers me: it seems like something has changed between 5.7 and 8.0 in the binlog position syncing. I'l ...
user avatar
  • 197
2 votes
1 answer
22 views

Does executing mysql dump files trigger replication?

I have two servers A and B that have a source/replica replication set up. I need to bring a new database over from another server, say server C. If I create a dump file of it, and then execute the ...
user avatar
0 votes
0 answers
159 views

PostgreSQL logical replication : new table not replicated on distant server

PostgreSQL 13, windows server 12 In the context of a logical replication, I made a dump of a database without the data of a primary server (-s) and restored the backup on a secondary server. Then I ...
user avatar
  • 167

1
2 3 4 5
66