What is our primary use case?
In my current company, we use a wide array of databases, like, Cassandra, Elasticsearch, MongoDB, and Postgres. But here, We specifically use Postgres for transactional purposes.
Since, NoSQL database does not have any, like, transactional-based things. It is called asset property. Since SQL databases possess these asset properties, we primarily rely on SQL, particularly Postgres, due to its superior indexing and performance advantages given our scale.
What is most valuable?
Compared to MySQL, Postgres has some functions called JSONB aggregators or other aggregators, which are quite useful. Indexing is better in Postgre due to the algorithm it uses, such as B-tree indexing.
Moreover, Postgres has a specific data type called JSONB, which stores JSON in binary format, resulting in optimized performance.
What needs improvement?
We have to set up event API, which takes a lot of events from the user. For us, Postgres DB wasn't performant enough to use, so we had a bottleneck there. We use Cassandra, which drastically improves but isn’t a drawback of Postgres. It is common with most SQL databases.
For how long have I used the solution?
I have been working with Postgre for the past year and a half.
What do I think about the stability of the solution?
Since we are using Postgre for maintenance purposes, we haven't encountered any issues thus far.
I rate the solution’ stability a ten out of ten.
What do I think about the scalability of the solution?
When it comes to an open-source SQL database, Postgres is highly scalable. You can easily implement partial configurations and streaming replication factors. Postgres offers most of the features.
It depends on how they configure things. So if everything is set up well, they should perform great.
I rate the solution’ scalability a nine out of ten.
How was the initial setup?
We use managed database. Since our Tech team is small, consisting of only four people, we have to work on mobile applications, web applications, and the backend. We have to save some developers' time. We usually choose to use managed database services. Managed services are quite easy as they allow us to set up the databases with just a few clicks quickly.
What's my experience with pricing, setup cost, and licensing?
The pricing for managed databases will be much higher than self-managed ones. That's something I'm sure about. When it comes to accurate pricing information, I always prefer their pricing tables.
What other advice do I have?
Postgres is a very performance-based database. It is an all-in-one tool. You can use it as an SQL database or as a NoSQL database. They do have a data type called JSONB. You can use some part of it in a hybrid NoSQL database or as a key-value-based DB. They do have a good number of plugins. So if they have to extend the capabilities, they have a wide variety of plugins. Depending upon use cases, you can use them. For example, to do some cron jobs, you have a plugin called pg_cron, and you can use PostGIS for geospatial applications. PostGIS is a very awesome thing to work with.
Overall, I rate the solution a nine out of ten.
Which deployment model are you using for this solution?
Private Cloud
If public cloud, private cloud, or hybrid cloud, which cloud provider do you use?