What are alternatives to Replication to distibute data (Microsoft SQL Server)
Is anyone knowledgeable of alternatives to SQL Server replication? I have a scenario where separate databases will share a lot of the same data which complex queries will match against. We want to...
View ArticleLog Shipping vs Replciation Vs Mirroring in SQL server 2012
I have a SQL Server 2012 database which currently used as a transactional database and reporting database. The application reads/writes into the same database and the reports are also generated against...
View ArticleMysql sync_binlog = 50 and innodb_flush_log_at_trx_commit = 2 with replication
I'm looking into sync_binlog = 50 and innodb_flush_log_at_trx_commit = 2 to improve write performance. There is this question, but it doesn't address the specific problems with replication. I have an...
View Articlemysql ssl replication - fails while attempting to connect to master
I'm trying to troubleshoot why my slave cannot connect to the master. This is what I see in the output from the command "show slave status \G" mysql> show slave status \G;...
View ArticleReplicate SQL Server over IP
I'm trying to replicate from SQL Server 2008 to a remote SQL Server 2005. I can't add subscribers with SQL Login, and I'm getting this error. I tried adding aliases, editing hosts file, adding the...
View ArticleQuery slow on subscriber but fast on publisher (Merge Replication)
As the title suggests, I am having issues with performance with my subscriber. I run the exact same query (it's a recursive query with a few joins but nothing too serious). I can run this query on my...
View ArticleExpose ready-only data from Oracle DB to another Oracle DB
We have the following scenario: We have an Oracle database in a secure zone (called inner). We want to expose a subset of its data (which is represented by a view) to another Oracle database in another...
View ArticleCloudant auto increment field on replication
Is it possible to auto increment a field of a document when performing a replication? I have an application where a user can place markers on a map and I need to number these markers sequentially so...
View ArticleDatabase synchronisation on the same sever for mysql
I need to have two databases placed on the same mysql server synchronised. This synchronisation is not used for replication, but for statistics, and the information on the second base do not have to be...
View ArticleUsing non-replicated read/write databases on a MySQL slave server
I have a MySQL slave server that has two databases being replicated from a master. What I'd like to do is add a third database that I will exclude from replication and use as a read/write database....
View ArticleConfiguring slave from EC2 master to Amazon RDS slave
I am configuring replication from EC2 master to Amazon RDS instance. After starting the slave, I don't see any errors but I see slave_IO: _thread is connecting. Master version:5.6.23 Slave...
View ArticleMySQL RDS Error 1062
Normally we can skip 1062 duplicate error but in rds can we skip multiple 1062 errors in one go. For example we define slave skip error =1062 in my.cnf and restart slave. but in RDS MYSQL how can we...
View Articlemonitoring MySQL slave status
I'm using Nagios with the mysql_check_health pugin to monitor my MySQL databases. I need to be able to return a numeric value to my plugin from an sql query to tell me if the replicated database is up...
View ArticleProblem with MySQL Delayed Replication
I am testing out MySQL Delayed Replication. But it's not working. I have a Master DB (5.5) and a Slave DB (5.6) both set up as a normal master/slave setup with statement based replication. On the Slave...
View Articlemysql replication master - slave
I have a setup of two databases, master - slave. Slave was stooped for about two weeks and old binlogs binlogs purged from master but copied on another fs before purging. Slave can't catch up the...
View ArticleMySQL replication monitor - Seconds_Behind_Master
I'm using Nagios and the check_mysql_health plugin to monitor my MySQL databases. I need to keep an eye on my Seconds_Behind_Master values in my replicated databases, but I am unable to use SHOW SLAVE...
View ArticleMySQL replication - Add new database
Is there a way to add a new database to the replication without having to restart the master server? I can't seem to find a way and I would like to minimize the downtime to a minimum. BTW, I tried...
View ArticlePostgresql Chained Slaves and Slave Promotion
So I have a setup like Master -> Slave1 -> Slave2. Slave1 replicates from Master and Slave2 replicates from Slave1. If I promote Slave1 to master is it possible for Slave2 to continue replicating...
View ArticleMirror a table from MySQL Server to Sybase
Is it possible to have some sort of trigger in MySQL so when a table is modified, it passes the information to an equal table located in a Sybase server? If so, could you point some examples of how to...
View ArticleAutomatically purging binlogs after successful replication
I have a dedicated server hosting a MySQL database, and want to use replication to have an always up-to-date backup somewhere. I chose to use Amazon RDS as my replica, and I'm following this guide:...
View Article