postgresql replay_location in pg_stat_replication is empty
I'm running a cluster of PostgreSQL 9.5.2, and export the stream log with confluentinc/bottledwater-pg: Change data capture from PostgreSQL into Kafka. The replication works fine, but I'm wondering...
View ArticlePostgres pg_basebackup Automation
I have been working on setting up a script that will automate my postgres base backups and then use pg_archivecleanup to remove all the unneeded log files. I want to ensure that the old base backup...
View ArticleHow do I fix a PostgreSQL 9.3 Slave that Cannot Keep Up with the Master?
We have a master-slave replication configuration as follows. On the master: postgresql.conf has replication configured as follows (commented line taken out for brevity): max_wal_senders = 1...
View ArticleRDS Replication Error (Apply Error 1406 / Truncation)
I have a MySQL RDS instance as a master, created a Read Replica from it, and ran some schema change operations on it. To be specific, I changed the charset and collation of all the tables and columns...
View ArticleReplication with fail over cluster in SQL Server 2014
Presently I am Using Replication Feature in SQL Server 2012 .I want to migrate to SQL server 2014 .I want to use fail over cluster feature .Does it effect the replication feature which we are using for...
View ArticleAutomatic status change of the replica
We have a MongoDb replicaset set up on three nodes, and we have this in both errorlog. This is an example. All of them at same time in the different nodes. Mar 27 10:31:49 Node 1: Mar 27 10:31:49...
View ArticleGlusterfs- Volume is mounted but i get this Error "cannot access 'file':...
]2 Log Error :root@mail:/var/log/glusterfs/bricks# tail var-rad.log [2017-04-20 12:30:52.554541] E [MSGID: 113002] [posix.c:206:posix_lookup] 0-datapoint-posix: buf->ia_gfid is null for /var/rad/l...
View Articlesequelize.js mysql replication ssl
I am using Google Cloud SQL (MySQL Second Generation) configured with ssl. Within sequelize, I can configure the replication: option if I turn off ssl, and it works fine. My project requires ssl...
View ArticleWhy in cluster PSQL with 3 node one node - sync_state= sync and next node...
I want PostgreSQL Synchronous Streaming Database Replication Status = sync. I deployed PostgreSQL cluster with 3 node and write sync type - Synchronous. But when i check type SELECT * FROM...
View ArticleHyper V replication - vs - sql replication solutions
I need to establish an offsite copy of a number of production servers, including SQL server. Hyper V replication has been chosen as a simple solution (all servers are virtual). This is to supplement...
View ArticleReplication: Procedure or function sp_MSupd_PROC has too many arguments...
Source is one service pack behind destination (2012). I know service packs can be issues here, but it looks like this is only for versions 2000 and 2005. When using sp_helptext sp_MSupd_PROC the...
View ArticleSlave Waiting to reconnect
I have added new slave host to master for replication, but missing some of the parameters. mysql> show slave status\G *************************** 1. row *************************** Slave_IO_State:...
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 ArticleBest way to set up two-way replication with SQLite
I am developing a medical solution that needs to be available both on and offline to the doctor. It is built in node.js and calls REST APIs built in PHP (Laravel) located on a central server. The user...
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 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 ArticleSQL AlwaysOn & System Center Configuration Manager TP 4 1601
Recently Microsoft released Technical Preview 4 for Configuration Manager (1601). Per TechNet, "Configuration Manager now supports using a SQL Server AlwaysOn availability groups to host the site...
View ArticleRedis mirror datacenter for active-active (xdcr feature)
Newbie to redis here so please bear with me. I am looking for a method to have dual datacenter in active-active configuration. My need here is that: if a datacenter goes down the other datacenter...
View ArticleHDFS Reduced Replication Factor
I've reduced the replication factor from 3 to 1, yet do not see any activity from the namenode or between datanodes to remove overly-replicated HDFS file blocks. Is there a way to monitor or force the...
View ArticleLDAP - write concern / guaranteed write to replicas prior to return
Is OpenLDAP (or are any of LDAP's flavors) capable of providing write concern? I know it's an eventually consistent model, but there's more then a few DB's that have eventual consistency + write...
View Article