replication

mongodb - can't initiate replica set with default configuration

时光总嘲笑我的痴心妄想 提交于 2019-12-25 05:22:52
问题 I am following this tutorial to deploy a replica set. When I execute rs.initiate() I get the error "all members and seeds must be reachable to initiate set" which is strange given that the only member is localhost. 回答1: I had the same error. In my case the helped me: cfg=rs.conf() rs.reconfig(cfg,{force:true}) 回答2: You cannot initiate a replica set with just one member (where do you replicate data ?!). The tutorial tells you that three active mongod instances are needed. Requirements: Three

mongodb replication without deleting data in secondary

丶灬走出姿态 提交于 2019-12-25 04:07:11
问题 i have a mongod instance in server and older data has been deleted every day (i keep data just for 30 days) . in the otherside i want to have a mirror copy of database in my client with whole data and don't want to apply any remove instructions in my client (i need to keep all of the old data in client which is deleted in server). which type of Replication would help me ? 回答1: if data is your only need (vs a bonafide db mirror) then consider looking at this backup script based on automysql

SQL Server Replication

偶尔善良 提交于 2019-12-25 02:22:49
问题 What is difference between 3 type of replication? Is replication suitable for data archiving? What is the replication steps? 回答1: Following are the three types of replication in SQL server. Transactional replication Merge replication Snapshot replication For more See http://technet.microsoft.com/en-us/library/ms152531.aspx Replication can be used for archiving purposes as well but with some additional mechanisms. Most of the time I have seen, it is used in data warehousing scenarios to reduce

Should I use a push or pull subscription if using RMO?

倾然丶 夕夏残阳落幕 提交于 2019-12-25 01:03:30
问题 I have a CRUD winform App that uses Merge Replication to allow "disconnected" functionality. My question is; If I am doing all initializing and synchronizing programatically with RMO (like HERE) does it matter if it is a Push or Pull? What would be a difference? I understand the differences between the two (see HERE) but it seems that if I am only interacting through RMO the differences become a little fuzzy. If I can it seems that, even though Pull is favored for Merge Replication, I would

How to replicate two tables with different structures but the same fields?

倖福魔咒の 提交于 2019-12-24 23:38:04
问题 I have two SQL server databases in different locations.I want to do something like replication. this is my scenario: In the first data base I have a table with following structure: tbl_worker _Name nvarchar(10) family nvarchar(20) State int city int and in second data base I have following table: tbl_employee _Name nvarchar(20) family nvarchar(15) Address nvarchar(30) Tell nvarchar(14) State int city int as you see the structure of my tables in two different data bases are not the same. but I

replication between offline publisher and online subscriber?

怎甘沉沦 提交于 2019-12-24 20:03:57
问题 i read a lot about replication on MSDN and stackoverflow. and i just want to use snapshot replication for my client. my question is that i never get the idea how is it possible that my client database which is source for my web application database can stay offline and subscriber can get the data from that offline database. internet is always working on that client machine but there database is accessible only in there LAN not on WAN ? so how my online database(subscriber) find that database

Hazelcast ClassNotFoundError on dedicated Member for HazelClient Replicated Map remove

喜你入骨 提交于 2019-12-24 19:02:02
问题 I recently had trouble with Hazelcast using ReplicatedMaps in a Dedicated Server / Hazelcast Client environment. I made a Stackoverflow post for it and a Hazelcast Ticket was made for it. Hazelcast ClassNotFound using Near Cache in Client I continued to work in my Environment and stumbled on another Error. I am not sure if it will be covered by a fix for my other problem so I post a new question here: My Environment is: I got a Dedicated Hazelcast 3.9.3 Server with a slightly modified

SymmetricDS replication DDL statements

懵懂的女人 提交于 2019-12-24 09:48:09
问题 Now I try to replicate DDL statements(like create, alter, drop) between different databases with the help of Symmetric-DS. I've found this page https://www.symmetricds.org/docs/how-to/sync-schema-ddl-changes and found that it could be done it that way: bin/symadmin -e root-000 --node=001 sync-triggers bin/symadmin -e root-000 --node=001 send-schema But, for now I cannot understand that is there possibility to replicate DDL statements automatically? I.e. I create table on one database and it

Couchdb Replication Progress Monitoring

☆樱花仙子☆ 提交于 2019-12-24 07:46:17
问题 See the following code from http://wiki.apache.org/couchdb/Replication. Notice that docs_written = docs_read, but progress = 3. Why isn't progress = 100? Also, would there be any difference between couchdb and couchbase? $ curl http://localhost:5984/_active_tasks [ { "pid": "<0.1303.0>", "replication_id": "e42a443f5d08375c8c7a1c3af60518fb+create_target", "checkpointed_source_seq": 17333, "continuous": false, "doc_write_failures": 0, "docs_read": 17833, "docs_written": 17833, "missing

Multiple SQL replication types

让人想犯罪 __ 提交于 2019-12-24 07:26:18
问题 We currently have two SQL databases that are utilizing a merge replication. We would like to setup a separate transactional replication off one of the databases to a third database. Is this possible? If so, do we need to change anything with our distributor? Thanks! 回答1: Yes this is possible. Nothing needs to change with the Distributor. However, if you ever have a Merge node receive data from a Transactional Replication topology then you will need to make sure the property @published_in_tran