Questions tagged [replication]

The use of redundant resources to improve reliability, fault-tolerance, or performance.

Replication is the process of sharing information so as to ensure consistency between redundant resources, such as software or hardware components, to improve reliability, fault-tolerance, or accessibility.

It could be data replication if the same data is stored on multiple storage devices, or computation replication if the same computing task is executed many times.

A computational task is typically replicated in space, i.e. executed on separate devices, or it could be replicated in time, if it is executed repeatedly on a single device.

The access to a replicated entity is typically uniform with access to a single, non-replicated entity. The replication itself should be transparent to an external user. Also, in a failure scenario, a failover of replicas is hidden as much as possible.

More info on Wikipedia

3869 questions
14
votes
2 answers

Encountered a MongoDB warning after converting a replica set to stand alone server

I encountered the following warning after converting a mongodb replica set to a stand alone server. I did rs.remove('host') and removed the replSet arguments when starting the mongo db. [root@sam ~]# mongo MongoDB shell version: 2.4.3 connecting to:…
Sam
  • 141
  • 1
  • 3
14
votes
2 answers

Does Redis support strong consistency

I am looking at porting a Java application to .NET, the application currently uses EhCache quite heavily and insists that it wants to support strong consistency (http://ehcache.org/documentation/get-started/consistency-options). I am would like to…
Steve Newstead
  • 1,223
  • 2
  • 10
  • 20
14
votes
2 answers

mysql - do locks propagate over replication?

I have a Mysql master-slave(s) replication with MyISAM tables. All updates are done on the master and selects are done on either the master or slaves. It appears that we might need to manually lock a few tables when we do certain updates. While…
adamSpline
  • 483
  • 4
  • 13
13
votes
10 answers

MySql Replication - slave lagging behind master

I have a master/slave replication on my MySql DB. my slave DB was down for a few hours and is back up again (master was up all the time), when issuing show slave status I can see that the slave is X seconds behind the master. the problem is that the…
Ran
  • 3,455
  • 12
  • 47
  • 60
13
votes
1 answer

Guide for Replication in MS SQL Server 2008

I want to set up a Replication between two different computers that run MS SQL Server 2008, the master runs on Windows Vista, and the slave will run on Windows XP. I´ve done this before between two MySQL-servers. Question: Does anyone have a guide…
Tommy
  • 298
  • 1
  • 3
  • 9
13
votes
2 answers

Set Identity_insert on - Merge Replication

I have merge replication set up between two databases and am using identity ranges on both. I want to add a specific row to a merged table (setting the identity value to something outside of the identity range) on the publisher. When I try this, I…
13
votes
1 answer

Apache Solr Failover Support in Master-Slave Setup

Our development team is currently looking into migrating our search system to Apache Solr, and we would greatly appreciate some advice on setup. We are indexing approximately two hundred million database rows. We add about a hundred thousand new…
ikarous
  • 165
  • 3
  • 7
13
votes
2 answers

Database Mirroring / Postgres Streaming Replication

I am not a DBA; I'm the primary developer of an enterprise database based application. I'm currently specing out some new machines to upgrade our existing enterprise database. Currently we're running Postgres 8.4 with a database at our DR site that…
TrevorB
  • 257
  • 1
  • 3
  • 10
13
votes
4 answers

The best technology to synchronize data between different database schemas?

I have an existing SQL Server 2005 database that runs our accounting/inventory application. We are looking at using a new on-line ordering framework - which has it's own database. If we use this new framework, we will need to transfer the on-line…
Clinemi
  • 906
  • 6
  • 20
  • 33
13
votes
4 answers

Kubernetes scale down specific pods

I have a set of Pods running commands that can take up to a couple seconds. There is a process that keeps track of open request & which Pod the request is running on. I'd like the use that information when scaling down pods - either by specifying…
Charles L.
  • 5,795
  • 10
  • 40
  • 60
13
votes
3 answers

Can 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 replication become broken by some reason (A->B) can I…
tamerlaha
  • 1,902
  • 1
  • 17
  • 25
13
votes
3 answers

What is the difference between failover vs high availability?

According to my reading on jboss documentation it says, We define high availability as the ability for the system to continue functioning after failure of one or more of the servers. A part of high availability is failover which we define as…
Techie
  • 44,706
  • 42
  • 157
  • 243
13
votes
1 answer

Mysql error 1236 from master when reading data from binary log

I have 2 MySql with a master/slave configuration and the replication is failing. The MySql Master crashed and a new register in the mysql-bin.index was created. I deleted this new register because this file was not existed in the file system. Then…
eltortuganegra
  • 159
  • 1
  • 2
  • 9
13
votes
4 answers

Selective replication with CouchDB

I'm currently evaluating possible solutions to the follwing problem: A set of data entries must be synchonized between multiple clients, where each client may only view (or even know about the existence of) a subset of the data. Each client "owns"…
FRotthowe
  • 3,662
  • 25
  • 31
13
votes
3 answers

pymongo MongoClient connect to ReplicaSet

I adopted pymongo's MongoClient class to do connect to a replicaset which has three node, 1 primary 2 secondary. The code snippet as following: c = MongoClient([secondary1_hostname, secondary2_hostname], replicaSet='rs0') When check the three…
Avalon
  • 321
  • 1
  • 2
  • 8