replication

MySQL Binary Log Replication: Can it be set to ignore errors?

混江龙づ霸主 提交于 2019-12-03 06:05:46
I'm running a master-slave MySQL binary log replication system (phew!) that, for some data, is not in sync (meaning, the master holds more data than the slave). But the slave stops very frequently on the slightest MySQL error, can this be disabled? (perhaps a my.cnf setting for the replicating slave ignore-replicating-errors or some of the sort ;) ) This is what happens, every now and then, when the slave tries to replicate an item that does not exist, the slave just dies. a quick check at SHOW SLAVE STATUS \G; gives Slave-IO-Running: Yes Slave-SQL-Running: No Replicate-Do-DB: Last-Errno: 1062

Which database has the best support for replication

喜你入骨 提交于 2019-12-03 05:56:26
I have a fairly good feel for what MySQL replication can do. I'm wondering what other databases support replication, and how they compare to MySQL and others? Some questions I would have are: Is replication built in, or an add-on/plugin? How does the replication work (high-level)? MySQL provides statement-based replication (and row-based replication in 5.1). I'm interested in how other databases compare. What gets shipped over the wire? How do changes get applied to the replicas? Is it easy to check consistency between master and slaves? How easy is it to get a failed replica back in sync with

Data Replication error in Hadoop

你。 提交于 2019-12-03 05:44:02
问题 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: > hadoop@laptop:~/hadoop$ bin/hadoop dfs -copyFromLocal > tmp/testfiles testfiles > > 12/05/04 16:18:41 WARN hdfs.DFSClient: DataStreamer Exception: > org.apache.hadoop.ipc.RemoteException: java.io.IOException: File > /user/hadoop/testfiles/testfiles/file1.txt could only be replicated to > 0 nodes, instead of 1 at > org

What are the scenarios for using mirroring, log shipping, replication and clustering in SQL Server

爱⌒轻易说出口 提交于 2019-12-03 05:41:32
问题 As far as i know SQL Server provides 4 techniques for better availability. I think these are the primary usage scenarios, in summary :- 1) Replication would be primarily suited for online-offline data synchronization scenarios (laptop , mobile devices, remote servers). 2) Log shipping could be used to have a failover server with manual switching, whereas 3) Database Mirroring is an automatic failover technique 4) Failover Clustering is an advanced type of database mirroring. Am i right ?

Selective replication with CouchDB

拥有回忆 提交于 2019-12-03 05:40:25
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" some of the elements, and the decision who else can read or modify those elements may only be made by the owner. To complicate this situation even more, each element (and each element revision) must have an unique identifier that is equal for all clients. While the latter sounds like a perfect task for CouchDB (and a document based data model would

JVM heap replication between two machines

泪湿孤枕 提交于 2019-12-03 05:35:50
问题 What are the basic principles of how two separable computers connected within the same network running the same Java application maintain the same state by syncing their heap between each other? I believe Terracotta does this task but I have no idea how would some pseudo code look like that would describe its core functions. I'm just looking for understanding of this technology. 回答1: Terracotta DSO works by manipulating the byte code of your classes (and the JDK's classes etc). The

PostgreSQL replication strategies

拥有回忆 提交于 2019-12-03 05:13:57
问题 Right now we are using PostgreSQL 8.3 (on Linux) as a database backend to our Ruby on Rails web application. Considering that on PostgreSQL database we actively use row level blocking and PL/PGSQL, what can we employ to secure our data -- I mean tools, packages, scripts, strategies -- to successfully replicate the database and build multi-master combination? I will appreciate master-slave suggestions as well. For example, if I put several application servers running Apache/Ruby to achieve

How to delete replication slot in postgres 9.4

最后都变了- 提交于 2019-12-03 04:46:37
I have replication slot which I want to delete but when I do delete I got an error that I can't delete from view. Any ideas? postgres=# SELECT * FROM pg_replication_slots ; slot_name | plugin | slot_type | datoid | database | active | xmin | catalog_xmin | restart_lsn --------------+--------------+-----------+--------+----------+--------+------+--------------+------------- bottledwater | bottledwater | logical | 12141 | postgres | t | | 374036 | E/FE8D9010 (1 row) postgres=# delete from pg_replication_slots; ERROR: cannot delete from view "pg_replication_slots" DETAIL: Views that do not select

Has anyone figured out how to scale Amazon RDS read replicas?

拥有回忆 提交于 2019-12-03 04:25:02
问题 I've recently set up a read replica to take some of the read load off of my Amazon multi-AZ RDS instance. The Amazon documentation clearly states that it is "up to your application to determine how read traffic is distributed across your read replicas". Has anyone figured out a manageable way to scale read replicas? It doesn't seem like a very extensible solution to have different parts of my application hard-coded to read from specific replicas. Is there a way to set this up that is

Could not obtain information about Windows NT group user

我们两清 提交于 2019-12-03 04:13:53
I am creating a SQL Server Replication using a script. When I try to execute The job failed. Unable to determine if the owner (STAR\moorer7) of job L3BPT2M-Atlas-14 has server access (reason: Could not obtain information about Windows NT group/user 'STAR\moorer7', error code 0x5. [SQLSTATE 42000] (Error 15404)). This is a job created by a script that defines replication. How do I debug this? Remus Rusanu Active Directory is refusing access to your SQL Agent. The Agent should be running under an account that is recognized by STAR domain controller. We encountered similar errors in a testing