How to get replication agents programatically in AEM?
Is there a way to get author replication agents other than using a Sling query?
View ArticleIs there any way to find the exact Query responsible for replication lag?
I've tried checking slowquery.log and binlog. Slow query log kind of helps but not all the time. Binlog entries are inaccurate. I used the following command to check binlog. show binlog events in...
View ArticleMongo replica set config
I configured a 3 node replica set and uninstalled mongo when my virtual memory limit exceeded then as i was starting my mongo replication I couldn't get these commands to work. rs.initiate()...
View ArticleMysql FLUSH LOGS in live server with replication
I need to run the slow query and unindexed query logging for some time on a live production db with replication. Changing GLOBAL const value sounds like a good solution. This article also provides good...
View ArticleWhat is Data Virtualisation?
I've just been asked whether our company should consider Data Virtualisation for our test environments. The benefits are given as: Screening of sensitive data Fast data refreshes in our test...
View ArticleReplication in same server within different databases. Mysql 5.6
What I have : a windows machine with one instance of MySQL 5.6 Server. two database named test and test2. Test database has a table called activity with columns id and class What I need : replication...
View ArticleMySQL Replication: How to restore master FROM slave?
TL;DR: given a master/slave setup between two MySQL databases, where the connection from the master to the slave is read only, how can you restore the master from the slave in the event of a failure of...
View ArticleWhy does MongoDB give me the cannot use 'w' > 1 when a host is not...
Here is the information about my development environment: •Microsoft Visual Studio Community 2015 •.NET Framework 4.6 •ASP.NET MVC assembly System.Web.Mvc Version=5.2.3.0 •MongoDB.Driver 2.0.1.27...
View ArticleDropping historic Partitions that are no longer required while in P2P...
The Company I work for has a set of databases (largest just below 1Tb) on different servers - 2 in the US, 2 in Europe. We run full peer-to-peer replication per database between the 4 nodes - so they...
View ArticleSynchronous SQL Server Replication only for specified subscribers
I would like to create database replication between multiple localisation. There will be one publisher and multiple subscribers. Is it possible to define that synchronisation is synchronous only for...
View ArticleWill replication commands build up if the distribution agent is stopped?
Assuming I have a transactional publication with a single article. There is a Publisher (PUB1) with two Subscribers (SUB1 AND SUB2), and a separate Distributor (DIST1) box is used. I would like to stop...
View ArticleReplication compatibility between minor MySQL versions
I have a dedicated server running MySQL 5.7, installed using MySQL's Yum repository. Yum always installs the latest version, which is MySQL 5.7.11 at the time of this writing. I want to replicate this...
View ArticleLog Shipping vs Data Replication in SQL Server 2012
Just wonder if anyone has tried to use Log Shipping on SQL Server 2012 collecting data from SQL Server 2008R2 and SQL Server 2005 databases? I heard it would be an easier option to implement compared...
View ArticleSync two SQL Server database
Currently we have one SQL server 2008 r2 database server in location X. All application users are in location X. All instance of application can add data to database table and which may be requested by...
View ArticleSql server 2012 replication scenario
I am under a really specific scenario. I have a database on a customer's site and a website on Azure cloud that connects to that database. User is on a 50mbit fiber but this is obviously slow. So I am...
View ArticleGalera crash - [ERROR] Slave SQL: Error 'Can't create table (errno: 150)' on...
Galera cluster status > show status like '%wsrep%'; +------------------------------+-------------------------------------------------+ | Variable_name | Value |...
View ArticleCan MongoDB be configured to sit behind a load balancer?
According to this post: In a single replica set, you cannot distribute writes, they all must go to the primary. You can distribute reads to the secondaries already, via Read Preferences as you deem...
View ArticleHow to replicate a database table from a file?
I have a requirement to replace the contents of a database table with the contents of a file. This happens every day at a set time. This is done using a Java application. I don't have access to the...
View ArticleWhich error codes are safe for `slave_skip_errors` with MySQL Innodb
Does anyone know which error codes are safe to ignore during replication, meaning the slave will remain consistent with the master? For example [mysqld]...
View ArticleHow to Upgrade Master Slave MySQL on AWS RDS?
I already have Master Slave configuration on AWS RDS. We want to upgrade 5.5 to 5.6.23. ..What should be correct sequence to Upgrade ? 1. Upgrade Master ( Using Modify Instance ) --> Upgrade Slave...
View Article