Pglogical replication sets not working as expected
I am trying to setup up pglogical replication. I have a table which has around 4 rows in the provider server. ========= employee_id | visitor_email | vistor_id | date | message...
View ArticleRecommendation for synchronizing SQL Server DBs
I have two databases, prod and dev. Each DB is about 500GB. At the end of each work day, the prod database gets several million new rows and several thousands of updates. After the data is loaded in...
View ArticlePermanent count of waiting tasks (2) in Activity monitor
Now I'm observing in Activity Monitor permanent count of waiting tasks: and at "Resource waits" tab I see next: so, my question is: How to find and resolve this wait tasks? I suspect that it related...
View ArticleWhat is the difference between physical and logical backup?
I was reading about backup. I understood what physical backup is. But I am not able understand what logical backup is? how does it work? Pictorial representation of the working would help. Thanks in...
View ArticleHow to prioritise delete and update based on timestamp during replication?
We have two MS SQL Server 2012 servers running merge replication. We have used the SQL Server DATETIME (Later Wins) Conflict Resolver to resolve conflicts based on the latest updated time. However, in...
View ArticleWhen I do transactional replication does SQL truncate T-Logs on the Publisher?
I would like to do Transactional replication 10 tables on a Prod server to a Secondary server. The prod server is in Full mode and has t-logs. Secondary is in Simple. Can I still capture T-Logs from...
View ArticleMySQL DB replication hook to clean local cache
I have the app a MySQL DB is a slave for other remote Master DB. And i use memcache to do caching of some DB data. My slave DB can be updated if there are updates in a Master DB. So in my application i...
View ArticleUpdate LastUpdated field on SQL Server from Local MS Access Table
I am trying to have my query update a field called LastUpdated and B1BirthYear on SQL Server by replicating the data on the local table. However, LastUpdated is being updated for every record while...
View ArticleFixed effects model without time?
I have a problem with replicating a fixed effects estimations with some kind of panel data structure (but no time index). I've seen several good explanations for FE-models and some easy application in...
View ArticleIs `log_bin` necessary on slave in master-slave MySQL replication?
I'm running out of disk space on a slave due to MySQL binary logs (mysql-bin.000xxx) being stored on the slave. Here's the relevant portion of the slave's my.cnf: binlog_format = mixed log_bin =...
View ArticleMariaDB "Checking master version" during replication
Multithreaded replication is up continuously between one master instance and one slave instance. Every day at around the same time SHOW SLAVE STATUS on the slave shows these two states: Slave_IO_State:...
View ArticleSQL Transactional replication
So I have setup T-replication from Publisher (SQL 2014) Distributor (SQL 2014) Subscriber (SQL 2008R2) and initialized it using a snapshot Checking in the replication monitor I find that the Snapshot...
View ArticleHow to measure or estimate the streaming replication lag in Postgres 9.2
I've been asked to reverse engineer an app that uses postgresql in the back end. I can see that there is some database replica tion going on... based on my reading, I *think it's called streaming...
View ArticleGap between initializing database and setup transactional replication?
I will need to setup transactional replication for a big database. I use backup/restore to initialize the database because it's too big to use snapshot over slow network. So the following steps are...
View ArticleSQL Server 2014 Replication Over Route Setup
I have an OLTP server that I am thinking of setting up transactional replication for in order to support OLAP Reporting. I have a server named Yoda that we are using for our OLTP and one named Chewie...
View ArticleGerrit project not replicating to bitbucket, ERROR: channel is not opened
One of our Gerrit projects stopped working after a certain date with the following error: Error from the Gerrit logs /var/gerrit/logs/error_log:[2016-07-29 17:59:51,676] ERROR...
View ArticleHow to know if MySQL replication is working?
I am replicating from a MySQL v 5.5.50 master, to a MySQL v 5.5.46 slave hosted in RDS. I've followed the AWS documentation on how to do this to the letter, got the dump file imported into the slave...
View ArticleUpgrading MongoDB ReplicaSet to 3.0 causes BSONElement: bad type 108
I followed the official guide to upgrade a MongoDB ReplicaSet from 2.6 to 3.0 on the secondary member. Shutdown mongod (systemctl stop mongodb.service) on secondary Installed binaries (via apt-get)...
View ArticleReplication via Kafka vs. mysql events
I have a need to maintain a copy of an external database (including some additional derived data). With the same set of hardware, which one of the following solutions would give me faster consistency...
View ArticleIssues with self signed certificates, SSL and MongoDB
Note: As specified in my comment I've figured out a solution to this issue regarding a single client/mongo connection. The next step is to figure out a solution for a replica set involving this fix. So...
View Article