Syncing a table between two PostgreSQL databases consistently
I have 2 databases: postgres (new) ; tnpm (old). Currently, I need to copy data from [tnpm] to [postgres]. I am able to copy it using: INSERT INTO ip_cpu_mn(datetime, resource_name, cpu_utilization)...
View ArticleFuton status shows null% for active replication
I noticed in our application that during one-off replications futon status shows null% under its output of _active_tasks and remains so for a very long time without any increase in document count....
View Articlemysql cluster replication on a 20mbps link
I have a 20mbps link at my office. I wanted to know whether mysql clustre replication is possible or not. The db to be replicated is small around 1 gb. Please explain the reason why or why not can it...
View ArticleHow to enable the session replication in 2 tomcat instances installed on...
I followed the below steps to implement that 1 - I just commented the cluster line in server.xml file for both tomcat instances so that I can use the default configs for clustering 2 - VM1...
View ArticleHow to delete duplicate rows in merge replication
Somehow two rows in a table that is party to merge replication are identical, including their rowguid. I have no idea how this happened, it is only with two rows in my entire database (which is used in...
View ArticleTransaction Log won't shrink, DB thinks it is replicating
I've got a SQL Server 2008 R2 Express database running Kaspersky Security Center, and I have no idea under what circumstances the install happened, but the database appears to think that it's being...
View ArticleHow to setup SQL Server 2014 replication for a demo site
Background: We have been looking at replication of our SQL Server 2014 databases for a couple of scenarios.One which just works and its hunky dory and the other which just doesn't seem to work,...
View ArticleGalera cluster: fix out of sync tables
I have a table XXX, this table has on all 3 nodes different number of records. This table uses auto_increment key. I wish to resync this table from master to slaves. # yum install...
View ArticleIncremental snapshot in transactional replication [duplicate]
This question already has an answer here: Add article to transactional publication without generating new snapshot 3 answers Is there a way to increment the snapshot at the distributor instead of...
View ArticleMySQL - Force replication to statement for INSERT to a table to fire trigger...
We have a PROD DB which replicates into a slave DB using mixed replication. We want to add a trigger so that a row is added to our DW when a row is INSERTed into table_a (on master). The issue is that...
View ArticlePeriodic Updates to Broadcast Variables
I am building a spark streaming application that receives primary streaming data from Kinesis, joins that data with data from other sources (e.g., JSON files in S3) and stores the final output in S3 as...
View ArticleMultimaster replication over HTTPS CouchDB with Stunnel
¨How setup stunnel for couchdb multimaster replication?? .---------------------------------------------------------- The mailing list hinted that the SSL implementation in Erlang might be flawed. As...
View ArticleSQL Server Express 2008 replication/synchronisation
We are looking at developing a small, simple, Access system for a client using SQL Server Express (2005 or 2008) as database. The only complicating factor is they have two offices and they will need to...
View ArticleData Replication error in Hadoop
I am implementing the Hadoop Single Node Cluster on my machine by following Michael Noll's tutorial and have come across data replication error: Here's the full error message: >...
View ArticleReplicated Caching using RMI EhCache data is not loading in all Tomcat instances
I am trying to implement EhCache Replicated Caching using RMI. I have a Spring Web application wich uses EhCache for data caching. Ehcache holds few Java.Util.Map, that is used through out the...
View ArticleReplication throw an error after failover mirror partner is down in SQL Server
Received an error mentioned below after failover when mirror partner is down. Error : to fail over to a database which is not configured for database mirroring. code: 22037, text: 'Invalid connection...
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 ArticleGalera 3 node cluster - force an online state transfer without downtime on...
We have 3 node Galera cluster. On node 3 I wish to force a state transfer. We have out of sync issues, because table was MyISAM. Now InnoDB. Howto do that? Delete data files and restart? The cluster...
View ArticleHow could let MariaDB's replication using GTID?
My master and slave are both MariaDB 10.0.22,and I build the slave using following steps: 1.do a backup from master using mydumper,and found gtid_pos in backdir's meta file 2.(slave)>SET GLOBAL...
View ArticleTransactional replication (snapshot) when column order does not match on target
I've an almost identical schema on the subscriber, same columns but sometimes different order (that happened because of different evolution of databases). Everything would be OK if INSERTS generated by...
View Article