Apache Derby vs. MongoDB

Overview
ProductRatingMost Used ByProduct SummaryStarting Price
Apache Derby
Score 7.0 out of 10
N/A
Apache Derby is an embedded relational database management system, originally developed by IBM and called IBM Cloudscape.N/A
MongoDB
Score 7.9 out of 10
N/A
MongoDB is an open source document-oriented database system. It is part of the NoSQL family of database systems. Instead of storing data in tables as is done in a "classical" relational database, MongoDB stores structured data as JSON-like documents with dynamic schemas (MongoDB calls the format BSON), making the integration of data in certain types of applications easier and faster.
$0.10
million reads
Pricing
Apache DerbyMongoDB
Editions & Modules
No answers on this topic
Shared
$0
per month
Serverless
$0.10million reads
million reads
Dedicated
$57
per month
Offerings
Pricing Offerings
Apache DerbyMongoDB
Free Trial
NoYes
Free/Freemium Version
NoYes
Premium Consulting/Integration Services
NoNo
Entry-level Setup FeeNo setup feeNo setup fee
Additional DetailsFully managed, global cloud database on AWS, Azure, and GCP
More Pricing Information
Community Pulse
Apache DerbyMongoDB
Considered Both Products
Apache Derby
Chose Apache Derby
For our particular use case, Apache was selected for its ease of use, in its ability to be installed, configured and embedded in our in-house application.
MongoDB

No answer on this topic

Top Pros
Top Cons
Features
Apache DerbyMongoDB
NoSQL Databases
Comparison of NoSQL Databases features of Product A and Product B
Apache Derby
-
Ratings
MongoDB
9.1
38 Ratings
4% above category average
Performance00 Ratings9.038 Ratings
Availability00 Ratings9.738 Ratings
Concurrency00 Ratings8.638 Ratings
Security00 Ratings8.638 Ratings
Scalability00 Ratings9.438 Ratings
Data model flexibility00 Ratings9.138 Ratings
Deployment model flexibility00 Ratings9.137 Ratings
Best Alternatives
Apache DerbyMongoDB
Small Businesses
SQLite
SQLite
Score 9.0 out of 10
IBM Cloudant
IBM Cloudant
Score 8.4 out of 10
Medium-sized Companies
SQLite
SQLite
Score 9.0 out of 10
IBM Cloudant
IBM Cloudant
Score 8.4 out of 10
Enterprises
SQLite
SQLite
Score 9.0 out of 10
IBM Cloudant
IBM Cloudant
Score 8.4 out of 10
All AlternativesView all alternativesView all alternatives
User Ratings
Apache DerbyMongoDB
Likelihood to Recommend
7.0
(3 ratings)
9.4
(78 ratings)
Likelihood to Renew
-
(0 ratings)
10.0
(67 ratings)
Usability
-
(0 ratings)
9.0
(14 ratings)
Availability
-
(0 ratings)
9.0
(1 ratings)
Support Rating
-
(0 ratings)
9.6
(13 ratings)
Implementation Rating
-
(0 ratings)
8.4
(2 ratings)
User Testimonials
Apache DerbyMongoDB
Likelihood to Recommend
Apache
If you need a SQL-capable database-like solution that is file-based and embeddable in your existing Java Virtual Machine processes, Apache Derby is an open-source, zero cost, robust and performant option. You can use it to store structured relational data but in small files that can be deployed right alongside with your solution, such as storing a set of relational master data or configuration settings inside your binary package that is deployed/installed on servers or client machines.
Read full review
MongoDB
If asked by a colleague I would highly recommend MongoDB. MongoDB provides incredible flexibility and is quick and easy to set up. It also provides extensive documentation which is very useful for someone new to the tool. Though I've used it for years and still referenced the docs often. From my experience and the use cases I've worked on, I'd suggest using it anywhere that needs a fast, efficient storage space for non-relational data. If a relational database is needed then another tool would be more apt.
Read full review
Pros
Apache
  • Apache Derby is SMALL. Compared to an enterprise scale system such as MSSQL, it's footprint is very tiny, and it works well as a local database.
  • The SPEED. I have found that Apache Derby is very fast, given the environment I was developing in.
  • Based in JAVA (I know that's an obvious thing to say), but Java allows you to write some elegant Object Oriented structures, thus allowing for fast, Agile test cases against the database.
  • Derby is EASY to implement and can be accessed from a console with little difficulty. Making it appropriate for everything from small embedded systems (i.e. just a bash shell and a little bit of supporting libraries) to massive workstations.
Read full review
MongoDB
  • Being a JSON language optimizes the response time of a query, you can directly build a query logic from the same service
  • You can install a local, database-based environment rather than the non-relational real-time bases such a firebase does not allow, the local environment is paramount since you can work without relying on the internet.
  • Forming collections in Mango is relatively simple, you do not need to know of query to work with it, since it has a simple graphic environment that allows you to manage databases for those who are not experts in console management.
Read full review
Cons
Apache
  • It may not scale as well as some more mature database products.
  • Used it primarily from the command line with openjpa and jdbc, and from third-party clients such as Squirrel.
  • May benefit by providing more sophisticated tools to optimize query performance.
Read full review
MongoDB
  • An aggregate pipeline can be a bit overwhelming as a newcomer.
  • There's still no real concept of joins with references/foreign keys, although the aggregate framework has a feature that is close.
  • Database management/dev ops can still be time-consuming if rolling your own deployments. (Thankfully there are plenty of providers like Compose or even MongoDB's own Atlas that helps take care of the nitty-gritty.
Read full review
Likelihood to Renew
Apache
No answers on this topic
MongoDB
I am looking forward to increasing our SaaS subscriptions such that I get to experience global replica sets, working in reads from secondaries, and what not. Can't wait to be able to exploit some of the power that the "Big Boys" use MongoDB for.
Read full review
Usability
Apache
No answers on this topic
MongoDB
NoSQL database systems such as MongoDB lack graphical interfaces by default and therefore to improve usability it is necessary to install third-party applications to see more visually the schemas and stored documents. In addition, these tools also allow us to visualize the commands to be executed for each operation.
Read full review
Support Rating
Apache
No answers on this topic
MongoDB
Finding support from local companies can be difficult. There were times when the local company could not find a solution and we reached a solution by getting support globally. If a good local company is found, it will overcome all your problems with its global support.
Read full review
Implementation Rating
Apache
No answers on this topic
MongoDB
While the setup and configuration of MongoDB is pretty straight forward, having a vendor that performs automatic backups and scales the cluster automatically is very convenient. If you do not have a system administrator or DBA familiar with MongoDB on hand, it's a very good idea to use a 3rd party vendor that specializes in MongoDB hosting. The value is very well worth it over hosting it yourself since the cost is often reasonable among providers.
Read full review
Alternatives Considered
Apache
SQLite is another open-source zero-cost file-based SQL-capable database solution and is a good alternative to Apache Derby, especially for non-Java-based solutions. We chose Apache Derby as it is Java-based, and so is the solution we embedded it in. However, SQLite has a similar feature set and is widely used in the industry to serve the same purposes for native solutions such as C or C++-based products.
Read full review
MongoDB
We have [measured] the speed in reading/write operations in high load and finally select the winner = MongoDBWe have [not] too much data but in case there will be 10 [times] more we need Cassandra. Cassandra's storage engine provides constant-time writes no matter how big your data set grows. For analytics, MongoDB provides a custom map/reduce implementation; Cassandra provides native Hadoop support.
Read full review
Return on Investment
Apache
  • Being Open source, the resources spent on the purchase of the product are ZERO.
  • Contrary to popular belief, open source software CAN provide support, provided that the developers/contributors are willing to answer your emails.
  • Overall, the ROI was positive: being able to experiment with an open source technology that could perform on par with the corporate products was promising, and gave us much information about how to proceed in the future.
Read full review
MongoDB
  • Open Source w/ reasonable support costs have a direct, positive impact on the ROI (we moved away from large, monolithic, locked in licensing models)
  • You do have to balance the necessary level of HA & DR with the number of servers required to scale up and scale out. Servers cost money - so DR & HR doesn't come for free (even though it's built into the architecture of MongoDB
Read full review
ScreenShots

MongoDB Screenshots

Screenshot of Screenshot of Screenshot of Screenshot of Screenshot of Screenshot of