MySQL - Slave SQL Thread not running
I have to admit that I am not really good in database administration, still learning. Would be glad if someone could point me a good direction. This is in my MASTER server my.ini. log-bin=mysql-bin.log...
View ArticleReplication failed between MySQL Versions 5.5 to 5.6 - CREATE USER failed for...
After I created a new user on MYSQL 5.5 master using: Operation CREATE USER failed for 'user'@'%' FLUSH PRIVILEGES; MYSQL 5.6 slave replication stopped working, gives this error: Operation CREATE USER...
View Articleout of sync - MYSQL
I have problem with mysql replication. Alarm trap turned me different position between Read_Master_Log_Pos and Position (difference of 1). This condition lasted about half an hour. I have this log :...
View ArticleMongo replicated shard member not able to recover, stuck in STARTUP2 mode
I have following setup for a sharded replica set in Amazon VPC: mongo1: 8G RAM Duo core (Primary) mongo2: 8G RAM Duo core (Secondary) mongo3: 4G RAM (Arbiter) Mongo1 is the primary member in the...
View ArticleDistribution agent can't connect to subscriber
I have two servers on different untrusted domains. Server A is the publisher and is running SQL Server 2008 R2. Server B is the subscriber and is running SQL 2008 R2 Express. Since the servers are on...
View ArticleMySQL 5.6 replication causes 'waiting for table lock'
All of the sudden queries on slave server stopped with status "Waiting for table level lock" I restart mysql service and stop replications and locking does not show up anymore. Once I turn replications...
View ArticleNeed best way to to avoid Replication Re-Configuration
I need the best way for the scenario because of which I got irritated. I do have 3 Production database Servers Srv1, Srv2 and Srv3. I configure transactional replication among these servers. Srv1 is...
View ArticleSql Server Transaction Replication
Currently we using SQL sever 2014 Transaction Replication in windows server 2012 (both Publisher and Subscriber are on different servers and with same operating system). Now, we have a requirement that...
View ArticleBi-directional replication for the same MySQL table
AppA stores/retrieves data from dbA.tableA AppB stores/retrieves data from dbB.tableA tableA definition is the same across these databases. To start with dbB.tableA was copied from dbA.tableA (assuming...
View ArticleHow To Prevent Replication Failure
If I become a MySQL DBA, will I had to deal all day with those kind of issues or do you have tips to prevent from breaking the whole replication? I received this message because I removed manually the...
View ArticleError on GTID Replication
During the replication usind GTID, happened this error in the slave server: Error 'Cannot execute statements with implicit commit inside a transaction when @@SESSION.GTID_NEXT != AUTOMATIC or...
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 ? Upgrade Master ( Using Modify Instance ) --> Upgrade Slave...
View ArticleRestoring a replicated SQL Server database in a non-replicated testing...
We have a SQL Server 2008R2 database in production. Originally, the database didn't have replication. Every time there was some problem with our software, we'd just create a backup from the production...
View ArticleHigh Availability for MariaDB and Postgres : replication or active-passive (SAN)
During the last weeks I did a lot of research on High Availability for Postgres and MariaDB. Both by my own research and also recommended by vendor's, replications seems to have more advantages. Some...
View ArticleHow to initialize Redis client to write to master and read from slaves
Supposing I have a replicated master-slave Redis setup, how do I actually access it from a client library? Presumably I need a client instance per each host and I need to decide which I want to use for...
View ArticleMssql Replication Restrict
I have some confusion.. actually i need best practice but i can not find. I have 2 different server and databases works on the both server. I wished to create full database replication for...
View ArticleHow to check the replication delay in PostgreSQL?
I would like to measure time between insert data into master-table and slave-table using streaming replication in PostgreSQL 9.3. For this I create table test_time with 2 fields id(serial), t(text)....
View ArticleCREATE OLAP server
I have a MySQL database server along with replication server, i.e. OLTP system altogether. As I have very heavy data fetching queries for the decision making reports. I need to create data-ware house...
View ArticleRun MySQL replication by schedule or on demand
I have a master-slave replication currently configured. I know this setup runs real time. Is it possible to sync only the databases on schedule (daily or weekly) or by demand? Thanks!
View ArticleSlave Waiting to reconnect
I have added new slave host to master for replication, but missing some of the parameters. mysql> show slave status\G *************************** 1. row *************************** Slave_IO_State:...
View Article