The process could not execute 'sp_replcmds' on 'database_name'
I got an error message in my Log Reader Agent: The process could not execute 'sp_replcmds' on 'Database Name'. I created another agent profile with a large query timeout and a min value to batch, but...
View ArticleHow to switch Quiescing to Normal Mode in Oracle?
I have two instance database Oracle, they are ORCL11 and ORCL10,.... I've configured them, it looks like correct. Then, I connect to replication user admin ORCL10 conn repadmin/repadmin@orcl10 And run...
View Articleloading a very large table without a numaric ID from MySQL to S3
I'm trying to pump (with Sqoop) a large table (500GB in size with around 200M rows) in MYSQL to S3. However this table doesn't have a Key column which is numeric. It has a combined primary key with 3...
View ArticleSQLite database replication on the same server
We have an application written in C and we are looking for a way to do transparent replication of SQLite database on one server (but on different disks). I read lots of guides about replication across...
View Articleupdate the sqlite attached database base on any change in the main database in C
I have a sample application in C connected to the sqlite database. I have to replicate this DB (transparent replication) on the same server (on different disks). To explain my question better, what I...
View Articleis it possible to alter the primary key of a table (from non clustered to...
I have a table that has an clustered unique index and a non clustered primary key with the same structure as the index. IF OBJECT_ID('[dbo].[tblBAccountHolder]') IS NOT NULL DROP TABLE...
View ArticleWhat is an effective way to share data between databases on the same server?
I'm trying to find a way to set up an 'assets' database that holds common lists of data which will then be shared between several databases for various applications. Ideally I'd like that data to be...
View ArticleMysql centralised custom DB sync with multiple mysql db in another server
I have fourteen opencart databases hosted in different servers and I have a central database in a different server which stores only specific/needed details from every site and its mainly used for...
View ArticleImprove mongodb full-scan query performance: replication or sharding?
We are currently facing a situation where we can't avoid doing a collection full-scan. We have already optimize the query and the data structure but we would like to go further and take full advantage...
View ArticleMongoDB to MySQL Replication Automatically
i have Mongodb server and mysql server. i want to use mongodb for "write" and mysql for "read". so i am looking for some tool or some process by which we can tranfer mongodb to mysql server on regular...
View Articlereplication filtering replicate-rewrite and do-table Mysql 5.6 (innodb engine )
I have a master/slave replication setup based on statement based replication. On master database named DB1, I have 5 tables and I want to replicate only two table on slave's database named DB2. Also, I...
View ArticleHow to setup sync between MongoDB and C# .NET Application
What is the best practice to synchronize a MongoDB remote database with a C# .NET App that would allow queries to be responded to within the local file system and update itself when there is a change...
View ArticleMariaDB Cluster to Cluster Replication Not Working when Non-Master Node Updated
I have two MariaDB Galera clusters (PROD (servers A, B, and C) and DR (servers 1, 2, and 3). I have standard replication (Master-Slave) configured from the primary component node (server A) of the PROD...
View ArticleMongoDB replication doesn't work using Java driver
I have a three instance replica set and i am using the following code to insert values in my mongodb database constantly. MongoClient client = new MongoClient(Arrays.asList( new...
View ArticleMongodb Replication error
When I run this command: mongod --port 27017 --dbpath /var/lib/mongo/replica --logpath /var/lib/mongo/replica/log --replSet myreplicaset --fork --smallfiles --nojournal the following error occurred:...
View ArticleMySQL replication, ignore stored procedure
For tables we have: --replicate-ignore-table=db_name.tbl_name Is there something similar for stored procedures?
View ArticleIncreasing column from VARCHAR(255) in master/slave setup
We have replication set up on some MyISAM servers, in a master/save scenario, MySQL v5.1. One of the columns is currently declared as VARCHAR(255). We want to increase this to VARCHAR(512). We have one...
View ArticleGalera backup failing with error "mysqldump: Error 1213: Deadlock found...
We face the same issue like this posting on dba.stackexchange.com Deadlock from mysqldump --single-transaction, is it possible?. We offer DBaaS and can't control the DDL statements of our customers....
View ArticleMS SQL Server Merge Replication blocking
I have a merge publication set up that is causing long blocking during the "create trigger" events for the merge process. For example, the head blocking chain is always something like this: create...
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 Article