database-replication

Local Firebird db replication/sync to online db

一个人想着一个人 提交于 2019-12-02 12:18:02
问题 I am looking for a tip how to synchronize data from a local firebird database into online db? Few comments: On a local machine I use sales software which keeps data on firebird db. There is an internet connection, but I want to avoid direct db access (as the PC after 9pm is being turned off). I would like to create an online app (based on foundation + php + database) in which I will be able to view daily sales and explore past data. In local db, I will need to pull data from several different

My subscriber database lost connection to the publisher and expired. Can my data be saved?

邮差的信 提交于 2019-12-02 05:01:46
I have a publisher database A and I have two subscriber databases B and C that subscribe to A. My application resides locally at sites B and C and through replication, changes at B and/or C are replicated to each other. The problem is since 31 January 2019 C stopped subscribing to A and the IT guys at site C didn't know about it (no alerts). The bigger problem is that during this time, people using the application at B have been entering data which is replicated back to A. At the same time, people at site C have been adding data to database C which was not replicating back. If I reinstate a

Local Firebird db replication/sync to online db

此生再无相见时 提交于 2019-12-02 03:11:10
I am looking for a tip how to synchronize data from a local firebird database into online db? Few comments: On a local machine I use sales software which keeps data on firebird db. There is an internet connection, but I want to avoid direct db access (as the PC after 9pm is being turned off). I would like to create an online app (based on foundation + php + database) in which I will be able to view daily sales and explore past data. In local db, I will need to pull data from several different tables, and I would like to keep them in online/final db as a single table (with fields: #id,

Local replica of RDS database

一个人想着一个人 提交于 2019-12-02 00:57:00
问题 I've been doing some research for the past hour or so and I've been hearing some conflicting information regarding the replication of Amazon RDS databases. My database is pretty big, 15 tables with a total size of 4 GB. So, basically, is it possible for me to create a local replica of a remote RDS InnoDB or does Amazon not allow it? 回答1: you can create replicas of an RDS but only as another RDS. You can't do a replica on an EC2 or a local machine. 来源: https://stackoverflow.com/questions

Google Datastore cross region replication

风格不统一 提交于 2019-12-01 19:42:29
We have a app that is hosted in US and the EU. For great performance we will host a datastore instance on both locations. Now is our question how we can replicate the data from the US datastore to the EU datastore? Or is it no matter where we store the data from technical view? Dan Cornilescu There is not such thing as multi-location GAE apps (at least not yet). The app's unique location can be selected when the app is created and cannot be changed. See App Engine - How to create project in region us-central and gae app moving to eu-datacenter or re-opening An important note from Creating a

Google Datastore cross region replication

家住魔仙堡 提交于 2019-12-01 19:12:23
问题 We have a app that is hosted in US and the EU. For great performance we will host a datastore instance on both locations. Now is our question how we can replicate the data from the US datastore to the EU datastore? Or is it no matter where we store the data from technical view? 回答1: There is not such thing as multi-location GAE apps (at least not yet). The app's unique location can be selected when the app is created and cannot be changed. See App Engine - How to create project in region us

Rails SELECT 40001 SQL_NO_CACHE fired from unknown place

断了今生、忘了曾经 提交于 2019-12-01 10:11:11
In MySQL DB server we have schema named test . The schema has table named users . The table users not used in any place by rails application. The only place the entry for users found is in schema.rb. The users tables has some data stored and data gets inserted by another java application which runs on some other server. The rails application makes API call to JAVA application via HTTPs and retrieves the data for usage if needed. Daily the MySQL Master DB gets replicated to Slave server. During replication the bellow query getting logged in slow logs and its making replication lag. root

Rails SELECT 40001 SQL_NO_CACHE fired from unknown place

家住魔仙堡 提交于 2019-12-01 08:23:42
问题 In MySQL DB server we have schema named test . The schema has table named users . The table users not used in any place by rails application. The only place the entry for users found is in schema.rb. The users tables has some data stored and data gets inserted by another java application which runs on some other server. The rails application makes API call to JAVA application via HTTPs and retrieves the data for usage if needed. Daily the MySQL Master DB gets replicated to Slave server.

Encountered a MongoDB warning after converting a replica set to stand alone server

本小妞迷上赌 提交于 2019-12-01 03:24:30
I encountered the following warning after converting a mongodb replica set to a stand alone server. I did rs.remove('host') and removed the replSet arguments when starting the mongo db. [root@sam ~]# mongo MongoDB shell version: 2.4.3 connecting to: test Server has startup warnings: Tue Jul 9 17:18:46.076 [initandlisten] Tue Jul 9 17:18:46.076 [initandlisten] ** WARNING: mongod started without --replSet yet 1 documents are present in local.system.replset Tue Jul 9 17:18:46.077 [initandlisten] ** Restart with --replSet unless you are doing maintenance and no other clients are connected. Tue Jul

MongoDB 2.6.1 command line authentication fails

我与影子孤独终老i 提交于 2019-11-30 22:29:39
问题 I set up replica set with authentication. I used this tutorial. I set up keyfile, admin user and other users. It all works fine - anonymous access is disabled and I can login $ mongo MongoDB shell version: 2.6.1 connecting to: test Error while trying to show server startup warnings: not authorized on admin to execute command { getLog: "startupWarnings" } rs0:PRIMARY> use admin switched to db admin rs0:PRIMARY> db.auth("USERNAME","PASSWORD") 1 rs0:PRIMARY> using credentials of users I created.