How can I remove a channel from replication slave?
Today my question is about MySQL replication cleanup. I used mysqldump with the --master-info --all-databases tag and restored it to a new host to be used as a replication slave. After restore, I see...
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...
View ArticleMysqlfailover command - No slave is listed in health status
I have successfully created replication using GTID_MODE. It works perfectly. Now I need to setup automatic failover feature in it. I have run the following command. mysqlfailover...
View Articlebulk update vs row wise update
I have to update multiple rows (in lakhs) satisfying a particular criterion in production environment. Since this query takes much time, it comes in slow query. someone told me that instead of making...
View Articleruntime replication
We have a master-master replication setup with 3 databases being replicated between both masters; 'database a', 'database b', 'database c'. Replication is row-based. 'database c' had an issue and we...
View ArticleReplication log reader not updated to new primay after availability group...
We set up transactional replication on a database that is part of an AlwaysOn Availability Group on our work environment: The primary is SP1 and the secondary replica is SS2. The distributor is on...
View ArticleMaster-slave + master-master replication at the same time
Can a MySQL database which is doing master-slave replication to a number of slaves be configured to do master-master replication to a new database at the same time? I have an application that has a...
View ArticleMongoDb preparing for Sharded Clusters
We are currently setting up our mongodb environment for production. At the moment we only have one dedicated mongodb database server. We will expand this in the near future with a 2nd server and I...
View ArticleAn invalid datetime value was encountered. Value exceeds the year 9999
We have a transnational replication running and the log reader started throwing the following error: An invalid datetime value was encountered. Value exceeds the year 9999. I executed a DBCC for...
View Article"Replication Support Only" - Error on LogReader
Brief explanation is I am trying to set up a basic publication / single subscription of about 5 tables using a remote distribution database. Servers involved include (Server A pub | Remote...
View ArticleSQL Replication: Access snapshot folder is denied (SQL Server 2008)
When i created distributor, snapshot folder have share to network with this path: \ComputerName\repldata But when i use merge replication with pull method, this message was fired: Source: mscorlib...
View ArticleCould not obtain information about Windows NT group user
I am creating a SQL Server Replication using a script. When I try to execute The job failed. Unable to determine if the owner (STAR\moorer7) of job L3BPT2M-Atlas-14 has server access (reason: Could...
View Articlemysql replication skip statement. is it possible?
There is a system with ROW-based replication. Yesterday i have executed a heavy statement on my master accidently and found my slaves far behind master. I have interrupted the query on master, but it...
View ArticleAvoid dropping tables on postgresql slave
I just set a master-slave replication for postgresql-9.6 in a Centos 6.8 server and everything seems to work properly. I would like to configure it somehow as follow: If a table if dropped in master...
View ArticleMariaDB slave replication server from many sources?
can I have one server, which is slave for like 500 masters? All the masters have different content, but they inserting is like once per minute, so I think 8 core slave should be sufficient for it. And...
View Articlewhat would be the best way to copy table from server A to server B in sql 2012?
I have table A that is on server 1 and table B that is on server 2. Table contain around 1.5 million rows. What would be the fastest way to copy table A to server B? On nightly basis. Or what would be...
View ArticleMySQL - Enabling Scheduled Event on Master and Slave Simultaneously
This may seem a bit strange, but I am trying to get a Scheduled Event to execute on both Master and Slave. I have two databases set up in a Master (A) to Master (B) replication environment. Master A...
View ArticleMasters database not replicating on slave after restarting client
I'm trying to implement master slave replication and It's works fine with no errors, database is replicated on slave, but when I close my servers and open them again and add something in masters...
View ArticleDelete unused index on report server
I have a live server and a report server. The live server, where the application is running, has many indexes. When we create replication all the indexes are also created on the report server. After 2...
View ArticleMysql Replication stopped working
I'm trying to setup a mysql database from an ubuntu Server (master) to a windows machine as Slave. Wamp is running in windows machine. Replication started working, and few columns where replicated...
View Article