MySQL - 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 is...
View ArticleMySQL slave server getting stopped after each replication request from Master
Basic master-slave MySQL configuration has been done on Windows machine. Master and slave servers are running on localhost with different ports. Now when executing update or insert in master server,...
View ArticleReplication between Mysql and Postgres for data warehousing
Context: my DBA has written scripts to delta load data from a Mysql slave we have of our main OLTP to our Postgres DWH staging DB. He's leaving and I want to find a more sustainable way to handle this....
View ArticleSetup Schema Level Streams Replication for PostgreSQL
Is it possible to set up schema level streaming replication for PostgreSQL databases? If so, how can this be done? Apparently this is possible in Oracle.
View ArticleMySQL Bin-Log Courupped
In the recent time we have found that the bin log is getting corrupted, 20% binlog files were having errors, which couldn't even pass the sanity check by mysqlbinlog -u user -p mysql-bin.000021 | head...
View ArticleNeed help to create a Macro to generate several instances by editing the...
Hi Guys need some help with the following, I am new to writing macros in excel please help. This is a screenshot Screenshot1 of what I would like to change. In the picture the ### needs to be replaced...
View ArticlePostgresql master node fail after restart with pgpool
I set up pgpool (master-slave mode) + postgresql streaming replication. Then I check the correctness of failover_command. If I turn off the network master node, then pgpool waits specified time, if the...
View ArticleTransactional Replication: Distributor to Subscriber failure
I just set up transactional replication following the instructions here I am getting the following error: The process could not connect to Subscriber 'SUBSCRIBERSERVER'. (Source: MSSQL_REPL, Error...
View ArticleMySQL Bug required remedy : [Warning] Invalid (old?) table or database name...
We have a master & multiple slave replication in our production environment. At first, I found this error in the mysql error log on the master and later on the slave. As for all the replication,...
View ArticleEasy Postgresql master/slave replication with automatic failover on Linux?
I need a reliable SQL DB for our application and have been looking at Postgresql's streaming replication support. It seems that it's not hard to setup master/slave replication and you can use the slave...
View ArticleMySQL Master-Slave replication
I have one MySQL Master and several slave machines. master-slave replication is set and works perfectly. At this point, I want to add a new slave machine: My question relates to the "CHANGE MASTER TO"...
View ArticleMySQL failover - Master to Master Replication
My company is trying to implement a MySQL failover mechanism, to achieve higher availability in our webservices tier - we commercialize a SaaS solution. To that end we have some low-end VMs scattered...
View ArticleSQL Server: subscriber as publisher and hierarchical replication
In Oracle Streams one way replication from one DB to another is a basic block for many replication topologies (N-way, hierarchical, combined and so on), and changes could be captured and applied for...
View ArticleClustering vs. transactional replication vs. availability groups
Assuming you need to make sure your application that relies on SQL Server 2012 as its database backend is available around the clock, even if one server machine fails. As a developer and not a DBA, I...
View Articlepgpool2 not working on my Ubuntu i686 athlon i386 GNU/Linux
I am trying to implement replication and load balancing on my Ubuntu i686 athlon i386 GNU/Linux.for creating database clustures I have installed postgresql contrib 9.1.11 having initially database...
View ArticleMySQL Master-Master Replication not syncing
SETUP: I have a WAMP MySQL Master-Master replication setup on 2 machines with sync_binlog=1 for safety. Machine config: Windows Azure Standard 2: 2 core, 4GB RAM, Windows Server 2008, MySQL 5.6.12,...
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 ArticleSQL Server 2008R2 - how to install replication components
I am trying to install the Replication components for SQL Server 2008R2, on technet website it says: On the computer that is running IIS, insert the SQL Server 2008 R2, SQL Server 2008, or SQL Server...
View ArticlePostgresql - Minor version upgrade 9.3.5 to 9.3.6 on Ubuntu
I am two servers: A & B. My master database is running on A and the version is 9.3.5. It's replica is running on B and the version is 9.3.6. I am trying to use B as UPSTREAM slave, and trying to...
View ArticleCan we disable binary logging for one specific session or user in AWS RDS
Currently we have a situation to disable binary logging for one set of queries on AWS RDS. We thought to set log-bin=0 for that specific session. As per Amazon, this is not possible. Is there any work...
View Article