copy one database data to another database in real time transaction in sql...
Sir, i have two sql servers 1 an d 2 and i want copy all data from "A" database which is on server 1 to database "B" which is on server 2. whenever data update insert or delete from database "A" it...
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 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 ArticleTrying to understand MySQL Replication with SSL
I'm trying to get my head around the use of SSL with MySQL replication. I've spent all day reading blog posts / articles about this, and I'm still no closer to getting an answer to this question:...
View ArticleMongo Replication
I have a mongo 2.4.8 database setup and running in a live environment. I am wanting to add a replica however I would like to use the latest version 3.2.9 for the replica. Is the only way for me to do...
View ArticleOne-Way Replication Into Different Schema
I'm looking for the best (best practice) option for one way replication between two databases. I would like to keep this purely SQL but, can write something in C# or use an ETL tool if there are no...
View ArticleAsynchronous replication between multiple Galera clusters
I have two Galera clusters on different regions and I'd also like to replicate the clusters asynchronously. Region 1: Region 1 Node 1 Region 1 Node 2 Region 1 Node 3 Region 2: Region 2 Node 1 Region 2...
View ArticleCreate temp tables in Amazon RDS PostgreSQL read-replica
I have dozens of legacy stored procedures which create temporary tables inside for collecting results for read-only application. I've created read-replica of my PostgreSQL in Amazon RDS and tried to...
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 ArticleRelaying changes to a slave from another master with Tungsten on MySQL
I am trying to setup a multi-master type of replication with each master having an additional slave using Tungsten. As an example, lets say I have 4 hosts (A,B,C,D) and hosts A and C are the masters,...
View ArticleBest design of mongo replica set for DB read/write speed
I'm building a Node app that uses MongoDB. Whilst it would probably be fine to have node and mongo sitting on the same VPS, I want to ensure that the MongoDB is backed up and maintain high availability...
View ArticleMove live SQL Server database to a new server
I have a production server running SQL Server 2008 Web Edition, and it has to keep running 24x7 with almost no down time, and it's the time for us to move to a more advanced server hardware, also it's...
View ArticleWhat happen if i start a Postgresql replication using tar
Hi i am following this tutorial every time that i need to set up a binary replication ,in fact i am using the second method called: "Starting Replication with only a Quick Master Restart" found here:...
View ArticleIn postgresql binary replication, indexes are replicated or not? And if i...
I want to know if indexes are replicated in a binary replication in postgresql. And if it is, how can i disable this behavior? So if slave becomes master i can start to index it using reindex?
View ArticlePostgresql: invalid record length at 29/E4624520 but replication looks fine
What is this error? I see that replication is working fine, but I am not so sure if the data is being corrupted or not. Can I safely ignore this error?
View Articlehow to use mysql sandbox to build s - m - m -s topology ?
I want to build this topology M1 <--> M2 | | S1 S2 I check sandbox --help, it seems that it only build M -S make_replication_sandbox mysql-5.6.tar.gz M - M make_replication_sandbox...
View ArticleReplicating Results of Queries on Oracle
I wan to setup a database such that its data come from queries run on a remote database. Basically the source database is very slow and we have no control over it. So, I want to create a second...
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 ArticleProblem when using gtid with MySQL replication
I am faced with this problem when using gtid in MySQL replication: When @@SESSION.GTID_NEXT is set to a GTID, you must explicitly set it to a different value after a COMMIT or ROLLBACK. Please check...
View ArticleBidirectional Replication Push and Pull with SQL Server
Please bear with me, I'm a developer working with a client without access to a strong DBA. I have a question about bi-directional replication with the following setup and requirements: MSSQL Server...
View Article