Search code examples
databaseapacheembeddednosqlbsd

What is the fastest NoSQL database that meets these requirements?


I want a fastest nosql database with following requirement

  • It must be licensed under Apache or BSD or other but must not GPL
  • It must support java
  • It should work in embedded mode
  • Should provide High Performance Search (for char search within word)
  • Should provide Compression option.

Please suggest if you know any db that fulfill my requirements.


Solution

  • It is impossible to answer this question, because "I want the fastest database" isn't specific enough to give you an answer.

    Databases can be "fast" in some ways and slow in others. For example, MongoDB has extremely fast read/write performance, but it can't really do joins, and your data isn't always guaranteed to be written. Likewise, MySQL is wretched for full-text search, but it offers reasonable levels of power across many metrics.

    Based on your requirement that it be embeddable, you should probably look at sqlite, which is public-domain, embeddable, has Java bindings, supports full-text search with extensions, and can be compressed with extensions. (It's not NoSQL, but you also didn't mention why you really need that, and I suspect a lot of people just pick it because it sounds cool.)