A CosmosDb collection currently in use needs to be updated, and the updates have been provided via text file which will be converted into json. The json file will not contain a key or id, only a userId to match.
The update is very minimal and one-time, probably under 1k records.
What is the best way to accomplish this? A simple console app which utilizes a Cosmos SDK seems to be the most straightforward, but the team has limited Cosmos experience so wanted to reach out for more of a best practice solution. Thanks in advance for any information.
You can try using the Data Migration Tool. You can get an old version of it here.
There will be a newer version of this out early next year.
Related
trying to search how to use 'createSyncTable' in SQLite but couldn't find anything about it. Can someone provide some detail on what is it and how to use it? I am building an offline app that will time to time sync data with the server. If this table handles synchronization that it would make it a lot easier.
Thanks
I am just trying to use flyway for the first time. So I put relevant clarifications as one post here. Please apologize. Am trying to make our two development test dbs (oracle) as sync or maintained with version. I have below clarifications on that.
1.Practically we have around 4000 objects in our db. Is this tool compatible and fast enough to handle this many objects?
We don't want to maintain data level version control for all the tables. For examples for transaction tables we don't want to sync production and development. Rather some configuration tables or master tables data needs to be maintained. Is it possible?
Let us by assume example db1 will be considered here as production and db2 will be considered as development. For that should we have to generate a SQL script manually that includes the entire DDL and all tables dml for db1? or flyway has command/option to do that?
Please clarify the above questions or guide me any documentation to refer to try in test set up to familiarize before to implement in actual project.
Thanks in Advance
Balaji
I need to write documentation for several small sqlite databases. Want to describe how the data is used, including table and row descriptions and sample data.
Is it possible to use MySQL Workbench? If not are there any alternatives, or any templates I could work from?
TIA!
Using MySQL Workbench is not possible since, as far as I know, it only supports exporting to SQLite. For a number of suggestions about free database managers you might want to take a look at What are good open source GUI SQLite database managers? - a number of the GUIs mentioned there support report generation.
Definitely far more feature rich, but with a significant price tag, is Navicat for SQLite, which is an excellent database manager with report generation features.
I am looking for a good change management application for use with SQLite. In the past I have used SQL Data compare by Redgate, but I have been unable to find anything similar that supports SQLite.
I need to update a fairly large encrypted SQLite database (~1,000,000 rows and 74MB). If possible I would like to generate some scripts to just update the changes rather than force users to download a whole new copy of the database. The version of SQLite we are using is 3.6.23.1. Thanks in advance for any recommendations :)
Have you tried SQLite Compare? It's freeware, and I have used it to compare schemas/data. I think it will also generate SQL update scripts for you too.
I'm wanting to build up a pre-filled sqlite database using Django as a front-end data entry inputter; however I've read this site and on StackOverflow that isn't that easy to do; and one needs to use CSV files.
That's fine if your database is pretty small - but what if you're pre-filling it with data that has relationships (ie: Customers, Orders, Salespeople, etc); or if the database you're building requires a lot of data input (1,000+ records).
My app/database will be pretty big and have a lot of pre-filled data with multiple references/relationships -- I really don't want to re-enter all this stuff into CSV files or into the Simulator and I thought using Django would be a really quick and dirty way of getting vast amounts of related data into an iphone app.
This kinda raises the question of whether Core Data is really worth it, the learning curve is really high, the syntax can be cumbersome and I'm considering just using FMDatabase, except I can't get the LIMIT/OFFSET to display rows of data in batches correctly (any help or hints on tips how to do this would be great!).
Therefore, if you're wanting to pre-fill a database using Core Data and a large database what is the best route forward?
You might want to have a look at the Active Record port for cocoa/cocoa touch. I've done an app like this before, and what we (the client and i), choose to do was to import the data from an XML file on the first app launch. The idea being that as the parser was built into the app, we could do OVA updates if we choose to at a later date. The data did have fairly complex relationships, but i decided Core Data was still the way forward.
I've only used raw SQLite once, and that was before we had CoreData on the iPhone. Also you should consider what your solution is for doing schema migrations which are handled by CoreData.
A Hybrid solution is to load the data into Core Data in the simulator, and then ship that SQLite database with the app, and copy it into the app's document directory, on the initial load. Best of both worlds.
Good luck