mongodb could not find host matching read preference { mode:...
I am deploy a monodb sharding, I have deploy a replica set in three machines: dev41:27017,dev42:27017,dev193:27017 and configsvr in three machine: dev41:27019,dev42:27019,dev193:27019 and also a mongos...
View ArticleCouchDB 1.6 continuous replication: how to configure resume time after...
I've got a network with many different nodes each running a different CouchDB instance. Each instance has document(s) in _replicator database to setup a continuos (master-master) replication with some...
View ArticleHow to alter replicated column
I want to change the length of a replicated column. I ran this: exec sp_articlecolumn @publication = N'DIONLINE-SQL2014' , @article = N'Valuation' , @column = N'WallConstruction' , @operation = N'drop'...
View ArticleWhich one to use? InnoDB Replication or MySQL Cluster?
I am building a url shortener and I use InnoDB as the storage engine for link data. I will start with a single VPS containing both application instance and MySQL database instance on the same Virtual...
View ArticleSecondary and Arbiter stuck in Startup
I'm using MongoDB version 3.0.0. I'm trying to setup mongodb replication on our machine. Replication was initially setup but due to some changes on the VM the entire thing crashed. When I tried to set...
View ArticleSQL Server Log File Is Huge
Currently my db logs for my production SQL Server 2008 R2 server is growing out of control: DATA file: D:\Data...\MyDB.mdf = 278859 MB on disk LOG file: L:\Logs...\MyDB_1.ldf = 394542 MB on disk The...
View ArticleComposite Primary keys and auto increment?
i'm developing SaaS app with multi-tenancy, and i've decide to use single DB (MySQL Innodb for now) for client's data. I chose to use composite primary keys like PK(client_id, id). I have 2 ways here,...
View ArticleConsiderations to take into account for moving a big table into another database
In our application, we a have 67 GB table ( very big compared to the rest of our tables ) and it acts almost as an archive table since its record are not modified and the ratio of read operations is...
View Articlecould we bind source IP for postgresql streaming replication?
I am setting up a postgresql HA cluster using built-in streaming replication, due to the multiple NICs configuration on 2 server, I want to restrict postgresql replication network traffic to 2nd...
View Articleprimary lagging behind recovery in postgres streaming replication
I was doing a streaming replication between 3 nodes of postgresql-9.5 . 1 master and 2 slaves I was trying to configure auto failover but when i switched back to my original master, and restarted the...
View ArticleMysql Multi Master replication on XAMPP
I want to configure mysql multi master replication, but I've not seen any comprehensive article or tutorial on how to do that on XAMPP. I will be grateful if some will point me to a tutorial, or better...
View ArticleInstalling Mysql through cookbook
I want a cookbook to install Mysql. I have found some cookbooks online but i was not able to understand the concept of .cnf file.I want to know if i have to keep the .cnf file on server or...
View ArticleReplicate selected postgresql tables between two servers?
What would be the best way to replicate individual DB tables from a Master postgresql server to a slave machine? It can be done with cron+rsync, or with whatever postgresql might have build in, or some...
View ArticleFinding differences between a master and slave when pt-table-sync fails
I have a table that's showing some differences on a master and slave according to pt-table-checksum (PTC). I've found some verifying differences beyond that. Certain tables in the mix have composite...
View ArticleSQL Server Transactional Replication and Security Setup
I am new to SQL Server replication. I was able to setup transactional replication successfully, but I feel like I am missing some important concepts regarding security and accounts. I have a few basic...
View ArticleStatic IP Address alternative to Connect to remote SQL server for replication...
I can't afford a static IP address so I was wondering if there's an alternative to leasing a static IP address? I don't want to use noip.com etc because they won't work for my SQL server issue below....
View ArticleGraph database implemeted using key value store
I have a requirement for a graph database that needs to be backed-up and potentially accessed at a lower level of abstraction. It is also must be distributed for the sake of load balancing, (single...
View ArticleDisable polling in persistent way in solr replication
Is there a way to persistently disable polling in a slave SOLR instance? If I call http://slave_host:port/solr/replication?command=disablepoll, polling stops but it restarts when core is reloaded. In...
View ArticleChained MySQL replication from Master->Master replicated pair
This is a pictorial view of what I have: Master 1<----->Master 2 | | | | V V Slave 1 Slave 2 The masters are never written to at the same time, rather Master 2 is a standby server. Both Masters...
View ArticleSQL Procedures Not Replicating
I am replicating a database using merge and had an issue where if the developers changed a procedure on the original database the change would not be pushed to the replicated database. Replicate schema...
View Article