I am trying to run sql database, specifically mysql on ios, so far I could only find remote clients but thats not what I am looking for. I want to run the actual database engine on ios. Any idea would be appreciated, thanks.
Tried finding sql engine on app store
Related
I use Aiven.io to manage a PSQL server, inside has multiple databases! Im using it from my rails app, so my rails app uses xxx_production, xxx_development etc.. But i dont remember creating xxx_optimization or metrics databases. The metrics one in particular is 50GB (My xxx_production is only 11GB so this is costing me a lot of extra money)
Is there any way to figure out who created these or why? My suspicion is there is some GEM im using in my rails app that could have created it to keep track of things? No idea what these databases are, and i would delete them but I do want to know what they are so i make sure im not breaking anything.
Thanks!
Is there a simple solution or framework to use a couchDB database in an iOS application? I need to copy a database and store it locally in the app, so I need functions like pulling down a remote database, etc. What would be the best route for me to take to access my couchDB in my app (in swift)? I have tried couch base lite, but have had much trouble using it.
Here are few options :
CouchBase Lite
CouchCocao
TouchDB-IOS
According to my search, CouchBase Lite seems the best options.
You can also develop your own library. Since CouchDB has a HTTP RestFul API, it's pretty easy to do.
Otherwise, PouchDB if a very powerful library to use CouchDB on mobile. Therefore, it's only available for hybrids applications(JavaScript).
I know this was asked over 3 years ago, and just wanted to update the list.
You might want to also take a look at this
https://github.com/cloudant/swift-cloudant
A Swift Lang client for Cloudant and CouchDB
I haven't tried it yet, but plan to as I am also still looking for a way to use CouchDB on an iOS project of mine.
I am looking for something that would act as a database for an iOS application. I have read about SQLite, but this seems to be only useful if you want to store the database locally. I want to have multiple people be able to write to the database from multiple phones.
Does anyone have any information? Can you just use a MySQL database?
Not looking for any code, just to be pointed in the right direction, brand new to the topic!
You might want to look at Couchbase Lite which is an embedded lightweight, document-oriented (NoSQL), syncable database engine.
First let me say in advance that after having done a bit of research, I am aware that there is a ton of information regarding this question. A bit overwhelmed, I wanted to consolidate the approaches that I have found into one question and ask for confirmation as to whether each step in the path is:
The best resource/method to accomplish this task and
All encompassing (is there a gap in functionality I am not aware of)
I have written an iOS app which currently stores/loads data from a parsed csv file on the app's Documents path. Currently I must manually place the data to and retrieve the data from disk by connecting the device to my computer, and then take this csv file and enter into SQL. The next step in development is for me to perform this task via a web service of some kind which automates the process for me when I update/record data in the application. However I have no experience with this!
So after looking into this process, I think I have split the task into the following components, beginning and ending with the app and a SQL server:
___iOS App
__RestKit Framework to communicate w/ web service using JSON
_Ruby on Rails RESTful Web Service
__ActiveRecord Gem to communicate w/ SQL server using JSON
___SQL Server
At this point I have almost zero knowledge of RestKit, RoR, or ActiveRecord, and so before I dive in headfirst I want to be confident that comprehensively, hooking these elements together will provide the medium for communication between my app and a SQL database that I am looking for and that I am going about this the right way.
So am I on the right track? Is there anything else I should be aware of? Is this how you would accomplish the same thing?
Many thanks in advance!
I am trying to connect to a database from my rails app. This database is being updated all the time for storing the results of ongoing tests. My rails app is basically a front-end to display the test results.
What is the best way to access the sqlite database without interfering with the test framework? At the moment when I start the rails server it locks the database and no read/write is allowed to it while the server is running.
What is the best way to display results from a continuously growing database, where new records are not being added by the rails app itself? Thanks for your help!
You should consider using another database engine, such as MySQL or Postgres. SQLite is a good RDBMS but does not fit well for high-concurrency scenarios. It has been designed mainly for desktop or device-embedded applications.
From http://www.sqlite.org/whentouse.html
SQLite uses reader/writer locks on the entire database file. That
means if any process is reading from any part of the database, all
other processes are prevented from writing any other part of the
database. Similarly, if any one process is writing to the database,
all other processes are prevented from reading any other part of the
database.