Problem:
We are looking to find a good open source tool in terms of a database that is great at the following;
We use Spring boot and Microservice architecture
The type of queries would be the general Accounting reports such as;
We have considered mongo which has the following capablitlies;
Monogo fails at doing aggregate queries in a simple manner and for those who have used mongo you find that you are writing the block of code to get simple aggregate and timebound queries while using spring aggregate.
Kindly share your thought and engine, will greatly appreciate.
PostgreSQL would be a good choice. It addresses your requirements in following ways:
As a relational database it performs generally well in aggregation queries
There are several ways how to address the shading/archiving data requirement
Indexes allow to perform time bound queries efficiently.
Provides json column type for unstructured data