Oracle strategy
I would like to ask you to help me with following situation: I have 2 servers. One is production and secondary is backup. Both are in 2 different geographical localizations. Switch between them in...
View ArticleLive Database Sync. MySQL - SQL Server
I have a Rarer scenario, Is there any possibility to achieve the target? Here is the Situation: I have Developed a Responsive site using php with foundation framework and the back-end is MySQL for a...
View ArticleCassandra difference between ANY and ONE consistency levels
Assumptions: RF = 3 In some video on the Internet about Consistency level speaker says that CL = ONE is better then CL = ANY because when we use CL = ANY coordinator will be happy to store only...
View Articleis it possible to trigger database change and fire an event in laravel?
I have a master replication environment, that the master database is using MSSQL and the replication is using MYSQL, and they are both synced with each other. A Laravel application is using the...
View Articleincrement id on subscriber in sql server replication
I am trying to replicate a table that has identity column, and a guid Replication Type: Transactional Push TableA (guid uniqueidentifier, id identity(1,1) not null) I want the identity to increment at...
View ArticleHow do I fix a PostgreSQL 9.3 Slave that Cannot Keep Up with the Master?
We have a master-slave replication configuration as follows. On the master: postgresql.conf has replication configured as follows (commented line taken out for brevity): max_wal_senders = 1...
View ArticlePostgres Hot Standby and Long Running Queries On Slave
Question: Can you have long running queries (30s+) running while having WAL updates applied on the slave (the slave role is as a Reporting DB Server) in a Hot Standby mode? The way it's working now...
View ArticleCan you remove the redirect from transactional replication from an HADR...
We have a pair of SQL Server 2012 availability groups that we have set up transactional replication to a 2012 distributor and subscriber. We are moving databases for the (synchronized) secondary nodes...
View ArticleHow to restore PostgreSQL standby server from archive?
I have a PostgreSQL 9.5 cluster with master and standby server that are replicated using repmgr. Master is configured to keep 4000 WAL files: wal_level = logical hot_standby = on archive_command =...
View ArticleMySQL error 1236 When using GTID
I want to create a replica to my Percona Server with GTID enabled, but got this error when i show slave status: Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'The...
View ArticleMySQL - Force replication to statement for INSERT to a table to fire trigger...
We have a PROD DB which replicates into a slave DB using mixed replication. We want to add a trigger so that a row is added to our DW when a row is INSERTed into table_a (on master). The issue is that...
View ArticleRIAK Cluster across AWS regions
I have an application hosted in AWS, where the application's data is stored in RIAK KV cluster; there are 5 nodes forms this cluster. To meet high demand and availability constrains, i would like to...
View ArticleOracle to SQL server replication recent data filter options
The current setup: A live application DB is on an oracle server, which has a nightly replication over to an SQL server that users (read me) can use to bash out reporting from. The issue is due to the...
View Articlehow to change postgresql ip address for streaming replication
I have Postgres replication (master&slave). The slave server has 2 local ip addressed (192.168.1.17 & 192.168.2.12) as far as I know the streaming replication worked fine with slave using ip...
View Articlepg_repack slows down PostgreSQL replication
I have a master PostgreSQL 9.5 server and a standby server. For replication I use repmgr (WAL streaming). Typically the delay between master and standby is <5s: $ psql -t -c "SELECT extract(epoch...
View ArticleAdd article to transactional publication without generating new snapshot
Using SQL 2008 R2 transactional replication with pull subscribers, when we add an article, I'd like to avoid having to create an entire snapshot (the db is ~80 GB, so this takes hours). From this...
View ArticleMySQL Master-Slave Replication additional columns on slave are being reset to...
I have setup a master-slave replication in MySql. I have added additional columns to one of the tables in the slave database in order to store some additional information, which should not be an...
View ArticleEnabling generation of non-clustered indexes on subscription database for sql...
We have a script, that we use to create a publication and its articles, along with a pull subscription. It's pretty basic, as we don't explicitly exclude any articles, rather take them all across to...
View ArticleHow to migrate from MMAPv1 to WiredTiger with minimal downtime without...
You can use replication and an additional server for this or the same server if the load allows. You need 3 running MongoDB instance: Your server you want to update (remind that WiredTiger support...
View ArticlePostgreSQL replication strategies
Right now we are using PostgreSQL 8.3 (on Linux) as a database backend to our Ruby on Rails web application. Considering that on PostgreSQL database we actively use row level blocking and PL/PGSQL,...
View Article