replication

CouchDB db-per-user with shared data scalability

戏子无情 提交于 2019-12-11 02:33:43
问题 I have an application with the following architecture: The master couchdb is required to share data between the users. EG: If user-1 writes data to the cloud, this replicates to the master and back to user-2 and user-3. However, as the user base increases so do the number of cloud user couchDBs, which results in a large number of replication links between the cloud user couchDBs and the master couchDB. I believe this can lead to a huge bottleneck. Is there a better way to approach this

Is there a way to shard and replicate neo4j data?

这一生的挚爱 提交于 2019-12-11 02:23:12
问题 I am considering the option of neo4j for some of the new projects I am working for. For the given data needs (inherently graph based) neo4j fits well and a quick prototype is giving good response time for me. What I want to understand is how to scale a neo4j deployment. Specifically: How do I shard my data across neo4j deployments. Since neo4j is deployed on a single machine, there is a limit to how much data I can store in a single machine and hence I would like to know how to distribute it.

SQL Server static row replication with updates based on changing column value?

被刻印的时光 ゝ 提交于 2019-12-11 02:14:41
问题 I have SQL Server setup as a publisher for merge replication. I only want my subscribers to receive the rows in a table that have a certain value in a particular column. Only when the status column has a value of Completed do I want the subscribers to have that row. This is easy with a static row filter that I have indeed setup and works as expected. Each subscriber only gets rows that have the value of Completed the status column. BUT...the problem is that when the value in that column

mysql replication - master to slave

蹲街弑〆低调 提交于 2019-12-11 01:02:17
问题 I have successfully set up a master to slave environment and it is definitely working fine. The only problem I have is that selecting count from a table, they are not the same BUT selecting after 5 mins from master, 50 rows are created while on the slave, also 50 rows are created (that's why I said i'm sure that is working fine) Master: +----------+ | COUNT(*) | +----------+ | 77634 | +----------+ 1 row in set (0.00 sec) Slave: +----------+ | COUNT(*) | +----------+ | 76932 | +----------+ 1

MySQL replication - Error connecting to master

好久不见. 提交于 2019-12-10 21:57:37
问题 I'm trying to set up replication in MySQL but I am being given an error that I do not know how to fix - ERROR 1218 (08S01): Error connecting to master: Host 'sh047.mydomain.com' is not allowed to connect to this MySQL server I've added the following code to the master my.ini - server-id=238429 log-bin=mysql-bin log-error=mysql-bin.err binlog_do_db=my_databases_to_replicate {not literal, have listed the correct databases} And I've added this to the slave my.ini - server-id=2 master-host=192

Mysql Slave not updating

☆樱花仙子☆ 提交于 2019-12-10 17:07:23
问题 I have replication set up every thing looks fine I have not errors , but the data is not being moved to the Slave mysql> show slave status \G *************************** 1. row *************************** Slave_IO_State: Waiting for master to send event Master_Host: xxxxx Master_User: xxxxxx Master_Port: xxxx Connect_Retry: 30 Master_Log_File: mysql-bin.000006 Read_Master_Log_Pos: 98 Relay_Log_File: xxxxx-relay-bin.002649 Relay_Log_Pos: 235 Relay_Master_Log_File: mysql-bin.000006 Slave_IO

How to synchronize two (or n) replication processes for SQL Server databases?

↘锁芯ラ 提交于 2019-12-10 16:46:20
问题 There are two master databases and two read-only copies updated by standard transactional replication. It is needed to map some entity from both read-only databases, lets say that A databases contains orders and B databases contains lines. The problem is that replication to one database can lag behind replication of second database, and at the moment of mapping R-databases will have inconsistent data. For example. We stored 2 orders with lines at 19:00 and 19:03. Mapping process started at 19

SQL Server replication using FTP

十年热恋 提交于 2019-12-10 16:03:07
问题 I have: SQL A - publisher (SQL 2008 R2 Dev) SQL B - subscriber (SQL 2008 R2 Standard) SQL A and SQL B are on different networks, not direct connection is allowed. I enable FTP publishing on SQL A. Created subscription on SQL B to get files from FTP. But for some reason when I ran agent on SQL B it gives an error can't connect to SQL A. Uhmm, duh? Of course because it is FTP replication, there is no connection. What am I doing wrong? -- THIS IS ON PUBLISHER: -- Enabling the replication

Copy results from a PostgreSQL view in one DB to a table in another

流过昼夜 提交于 2019-12-10 15:22:06
问题 Complete PostgreSQL newb. I have 7-8 views worth of data in db1 that I need to copy into tables with a matching schemae (schemas?) in a different database, db2. The destination database may be the same instance of PostgreSQL, or one on a different box altogether. I know 2-3 different ways to accomplish this with the databases I'm familiar with, but I'm helpless on this one. Can someone suggest some basic strategies for me? In a perfect world, I'd prefer not to have to do anything that feels

WindowsIdentity.Name doesn't return new name from Active Directory

断了今生、忘了曾经 提交于 2019-12-10 12:19:50
问题 Any help on this would be TRULY appreciated. I'll spare you the details, but we have to rename all of our Active Directory users from [First name] [Last Name] to [First Initial][Last Name] to get the space out of the usernames. We have a production web application that uses the following line of code to get the Username from Windows once the user logs in with Windows Authentication: System.Security.Principal.WindowsIdentity.GetCurrent().Name After we update a user's account through Active