I want to deploy a react app I have been making that uses Mongo DB but I have heard that I can use Mongo DB Community edition for production on Stack Overflow.
Now I have been trying to understand what they mean exactly by production.
Does that mean I can use that in production completely for free on Heroku or does that mean I can develop the app using the community edition then use Mongo Atlas when deploying?
Finally, if I can not use the community edition on Heroku, what would be the cheapest way to use Mongo DB because it's very likely I am going to go over the 500mb limit that atlas provides for free.
Thanks for any help.
If you are familiar with AWS, then you can create an EC2 instance with 20GB space and install MongoDB community edition there, AWS offer 1-year Free tier
You can check out there this Link, For instance type you can select t2.micro which provides you 1GB ram and 1vCPU
So this is one approach you can try. Thought it requires efforts in sense of installing MongoDB, securing it, and having a backup of the database. So it depends on which direction you prefer, using self-managed server or using managed service like MongoDB Atlas.
Related
Apologies if this question is too open-ended.
I have inherited an aging tech stack and am required to upgrade our 200GB MongoDB Community Edition v3.4 installation (hosted on Ubuntu 20) to MongoDB v5 in order to support some new features.
MongoDB advises that to install v5.0, one must be already on MongoDB v4.4:
https://www.mongodb.com/docs/manual/release-notes/5.0-upgrade-standalone/
They say that if you are on a version older than 4.4, then you need to incrementally upgrade to v4.4 before upgrading to v5.
However, if you follow the links in that official upgrade tutorial, you will find that in order to upgrade to any version of MongoDB, they insist on you upgrading version-by-version, successively.
So for me on v3.4 the upgrade path will look like this:
v3.4 -> v3.6 -> v4.0 -> v4.2 -> v4.4 -> v5.0.13
Following these tutorials:
https://www.mongodb.com/docs/manual/release-notes/3.6-upgrade-standalone/
https://www.mongodb.com/docs/manual/release-notes/4.0-upgrade-standalone/
https://www.mongodb.com/docs/manual/release-notes/4.2-upgrade-standalone/
https://www.mongodb.com/docs/manual/release-notes/4.4-upgrade-standalone/
https://www.mongodb.com/docs/manual/release-notes/5.0-upgrade-standalone/
I'm not entirely sure why this is necessary, as the tutorials themselves seem to mostly involve copying over newer binaries and then setting a feature compatibility version in the database config.
To test whether this was necessary I did a mongodump of our entire v3.4 database and then installed a standalone MongoDB v5.0.13 on the same server and then mongorestore to the new v5.0.13 database. Everything seems to work fine, mongorestore spent two hours recreating all the indexes as its last step (something various articles told me would not happen using the mongodump/mongorestore method).
I am able to connect Mongo clients to this new v5.0.13 Community instance without issue. All the data is there and I am able to query it just fine.
So my question is, why does MongoDB strongly advise doing the upgrade incrementally, one version at a time when dumping the database and restoring it to a new version of MongoDB seems to work just fine?
The only issues I have currently is having to rewrite some client code which is using an older Mongo Java driver. This is something I am going to have to do regardless of the upgrade method I used.
Our MongoDB instance is Community Edition and is a single, standalone instance (not a replica set) so I don't know if this matters. Perhaps the upgrade process described by MongoDB is for Mongo Cloud or for Enterprise?
I'm just looking for clarification on whether the simpler method I tried is going to cause me issues. Maybe I've missed something I hadn't considered.
I need a MongoDB GUI client to see my mongodb database on my local computer but i cannot find any 32 bit version. Can someone link any client except Navicat 15 for MongoDB
My MongoDB shell version: 3.2.22
I found these Open Source Tools
MongoUI
A Open Source Node Web GUI for Mongo DB.
Nosqlclient
(Formerly Mongoclient), MongoDB Management Tool. Runs with Docker.
Or if you if you also look for paid software you can check out:
humongous
A Secure and Modern Online MongoDB GUI.
Acho
StackOverflow isn't the best place to search for a tool. Maybe you better check out the tools listed on:
Alternativeto.net/Mongodb-Compass
Currently we are using microstrategy as a reporting tool 11.1 version and using Oracle DB - micro strategy metadata, Statistics , history all installed in Oracle
now we are planning to move Db from Oracle to Postgres. just wanted to check if microstrategy support Potgres DB
Here is the list of certified and supported versions: Repositories
From personal experience I can say PostgreSQL v9,v10 and v11 runs fine as metadata repository. Tested v9-v12 as DWH too, all working without problems.
As far as I remember they didn't deliver the bundled driver in one of the MSTR-versions (2019-something), but that seems to have changed in MSTR-2020 again. Not a showstopper, but something to be aware of.
I am also running PG-11 as repo for History List too, but you definitely won't get help from support for this. OT: They even made me switch from MariaDB to MySQL for a support case (don't really blame them though, it's not certified and that's that).
My last attempt at running Statistics-Repo with PG is a long while ago and it didn't really work out of the box. Don't know what the situation is there. You might have to consider moving to PlatformAnalytics and/or MySQL(/MariaDB) for this too. EM only receives bugfixes from MSTR-2020 onwards, so this seems to be future-proof (EM discontinued from 2020 onwards?)
This mostly reflects our experience, the only certified PG version for MSTR 11.1 is PG-9 and only for the MD-Repo!
We are integrating Tableau with MongoDB and wants to decide on cost effective way connecting with MongoDB. We used trial version of Simba and that seem to be costing around $3000/year. Are there other options which are cheaper? We are not on enterprise version of MongoDB so BI Connector is not an option.
Apache Drill has a Mongo Storage Plugin which allows Drill to be used as an 'interrogator' for MongoDB. Drill's ODBC driver can provide BI tools (such as Tableau) with access to MongoDB via Drill.
The setup would be something like:
Install Drill
Add the MongoDB Storage Plugin to your Drill installation
Verify access via the Drill server and using Drill's ODBC driver to MongoDB
Configure Tableau to use Drill's ODBC driver
More details in the docs:
Drill's MongoDB Plugin
Using Drill with BI Tools
Tableau Examples
This solution is free (or has no licensing costs, at any rate) but it is somewhat bespoke and cobbled together. My own experience is that ...
Installing Drill is a no brainer
Installing the MongoDB Storage Plugin is a no brainer
Drill's MongoDB Storage Plugin isn't very widely used (or at least it isn't under active development) so you'll likely find the driver works fine but you might find issues with the MongoDB query capabilities providing by Drill's plugin. For example LIKE and IN operators are not supported.
I am exploring mongodb , I have written a code to connect mongodb and mysql using kundera
It works fine. But I am having a requirement to connect Informix database and mongodb please let me know how to do that. Thanks in advance
I'm no expert in MongoDB or NoSQL. But latest Informix fixpack (12.10.xC2) supports native MongoDB connectivity and JSON/BSON.
Not all the features/commands of MongoDB are available (it's not meant to "replace" MongoDB), but it's probably the easiest way to interact with it from a "MongoDB app".
The main problem with this approach would probably be that your current Informix environment isn't running 12.10.xC2 (just released on September 13).
Please check it on the official Infocenter on IBM site. You can download the new version if you're a customer with active support. Otherwise you can get it from IBM website (either the developer edition or the free - as in beer - version called Innovator-C)
Regards