Mongo replicated shard member not able to recover, stuck in STARTUP2 mode
I have following setup for a sharded replica set in Amazon VPC: mongo1: 8G RAM Duo core (Primary) mongo2: 8G RAM Duo core (Secondary) mongo3: 4G RAM (Arbiter) Mongo1 is the primary member in the...
View ArticleWhy do we need an 'arbiter' in MongoDB replication?
Assume we setup a MongoDB replication without arbiter, If the primary is unavailable, the replica set will elect a secondary to be primary. So I think it's kind of implicit arbiter, since the replica...
View Articlemysql replication missed quite a lot SQL statement
I have set up a master/slave with mysql-5.1.73 The master's binlog format is "statement". The master and slave seemed running very well with slave status: Slave_IO_Running: Yes Slave_SQL_Running: Yes...
View ArticleWrite-lock a whole table during transaction
I need to perform a delicate operation to my table in which I will solely insert, delete and select upon all of my rows and no God may interfere with the table during this operation: the table will be...
View ArticleDocument Store & Relational DB Hybrid. Exists? Possible?
Does anyone know of any product or open source project that attempts to strap together Mongo DB and MySQL for instance? I hear a lot about how relational DBs being ACID compliant makes it nearly...
View ArticleTablespace symlink error after changing data_directory location in PSQL 9.4
Problem: After changing the 'data_directory' location in PSQL 9.4 (Windows Server 2012 R2) an error is thrown to the user when: (a) trying to connect to the PSQL server using PgAdmin or (b) when...
View ArticleKeepalived vIP as Galera wsrep_cluster_address
I have a MariaDB Galera cluster. If some nodes fail, I cannot blindly restart them, I have to determine a good wsrep_cluster_address first. If I can keep a keepalived virtual IP on one of the healthy...
View ArticleError adding replication set due to invalid election id and config version
We are in the process of moving our MongoDb replication sets to new hardware but is encountering a problem when adding our new replication set to the cluster. 2017-03-28T20:07:18.434+0200 W NETWORK...
View ArticleAttunity Replicate sample installation
I am trying to install Attunity Replicate into a local virtual machine with CentOS 7 on it. I can see that it is running - using 'ps -ef | grep repctl', and I know that the 3552 port is open in the...
View ArticleFix broken mysql master-master replication with GTID
I have a couple of mysql master-master servers running. Skipping transactions with GTID replication requires injecting empty transactions like so: STOP SLAVE; SET...
View ArticleReplicating MySQL Database programmatically with Qt
I want to replicate two mysql databases, I know how to do that. The problem is these two servers aren't connected to each other. they connect at certain times and then doing replication then disconnect...
View ArticleHow To Prevent Replication Failure
If I become a MySQL DBA, will I had to deal all day with those kind of issues or do you have tips to prevent from breaking the whole replication? I received this message because I removed manually the...
View ArticleData mismatch in Transactional replication with updatable subscription
Replication champs, I have a Transactional replication with updatable subscription setup having 1 publisher and 3 subscribers. All the servers are SQL 2008 and have conflict resolution policy set as...
View ArticleProblem when using gtid with MySQL replication
I am faced with this problem when using gtid in MySQL replication: When @@SESSION.GTID_NEXT is set to a GTID, you must explicitly set it to a different value after a COMMIT or ROLLBACK. Please check...
View ArticleMySQL Strange Replication Error
I have a strange problem here. My Replication Slave has stopped with the error: Column 9 of table 'xxxxxxxxxxxxx' cannot be converted from type 'varchar(4096)' to type 'text' However, when I look at...
View ArticleChange schema for Cloudant to dashDB replication
I am able to choose to customize the schema for replication from Cloudant to dashDB, but I am unable to change field types, specifically a field identified as BIGINT which needs to be FLOAT. How to I...
View ArticleSynchronizing missing data on publisher and subscriber database tables...
In my case, we have some extra data rows in few tables on subscriber database, which I need to retain. I tried tablediff.exe utility which is traversing all the tables and creating Insert, update and...
View ArticleMySQL slave server getting stopped after each replication request from Master
Basic master-slave MySQL configuration has been done on Windows machine. Master and slave servers are running on localhost with different ports. Now when executing update or insert in master server,...
View ArticleCan I use mysql binlog from master as relay log on slave?
I have following Mysql replication schema: A(master)->B(slave/master)->C(slave) A writes binlog B reads A's binlog applies relaylog and writes it's own binlog C reads from B and applies. If...
View ArticlePausing Transactional Replication
Scenario: I'm working with a customer that has a live database. On a separate server, they have a copy of this database and they have transactional replication setup, which runs constantly. I have an...
View Article