I have an ionic application that uses SQLite to store data. The data is retrieved from an HTTP REST Service, which then connects to a neo4j database. I need to be able to sync the changing data or insert any new data into my sqlite database as the data changes on the neo4j server. What is the best way to do this? Are there any existing frameworks? I am aware of PouchDB, but that doesn't really fit with what I am doing. I can't use local storage or any other in-memory storage as there could be a lot of data.
You may find these neo4j data integration articles helpful:
Import Data Into Neo4j
Data Migration between MySQL and Neo4j
Related
now I'm working on hybrid mobile application with SQLite. This application just only retrieve the data from database. The data come from MYSQL database, but I want to store the large amount of data into local storage which is SQLite so when the user don't have the internet, they can retrieve the data from local storage. So,is there a way to connect mysql db and sqlite? I have been following the tutorial from this site
but I do not know how to connect sqlite with mysql db. So,anyone can help me to solve my problem ?
Here is our use case:
We have way more than 200,000 clients need to connect to firebase realtime db. So we created multiple database with same data and load blance the connections.
Here is the problem:
If we update one database, we will have to initiate connection and udpate the rest of the database as well. I would like to check if there is a way to auto sync up data between multiple databases.
Docs I have went through:
https://firebase.google.com/docs/database/usage/limits
https://firebase.google.com/docs/database/usage/sharding
Also I checked rules, and it seems that rules is not meant to be used to sync data.
Thanks
firebaser here
There is nothing built into Firebase to automatically synchronize data between multiple database instances. A common way to implement this when writing through a server-side process, is to simply write to each database in turn there.
If the data you want to write comes from a client-side SDK, I'd have the client write it to a staging area (just a temporary node in the database), and then use Cloud Functions to write the data the permanent location in all database instances.
In Build session #BRK3060 Mark Russinovich demos some code that uses both the SQL and Graph APIs on the same database (starts at 45:27):
https://www.youtube.com/watch?v=S2zguwKvlQk
Does anyone have any insight into these read/write using multiple APIs on the same database?
I have built an app using firestore as we are interested in the realtime updates portion of things. However,we are not building a website that has CRM component where a lot of reports will be generated. The contents of that CRM are all new. There is only one report that would need firebase data as well as the new data (you can say 1 report out of 20).
I was thinking of building the CRM backend off mysql DB? Do you recommend to go with this approach or shall I do the CRM in the same firebase/firestore db?
Thanks
If you are looking for a real-time backend database for your CRM, then the Firebase RTDB / Cloud Firestore would be ideal for this. I'm not sure why you'd want to add a mySQL component, unless you are going to create some reports that require complex joins. However, if your data is modelled correctly, this also shouldn't be an issue.
Take a look at this video to get a better understanding: What is a NoSQL Database? How is Cloud Firestore structured? - Get to Know Cloud Firestore Ep.1
Are there any guidelines or docs on importing data from a sql server database? We are thinking about moving from Azure Sql Database to Firebase, we have about 2 gigs of data that we'd need to import. We'd want to denormalise the data during the export/import process.