At Tokopedia, we follow the microservice architecture and almost every service has its own database. Data on each service is increasing exponentially over time. Therefore, having the right database, schema and proper use of queries is paramount to match Tokopedia’s scale.

This article shares insights from some of the improvements that our engineering team has done while working on the PostgresSQL database in Tokopedia. Let’s unleash some PostgresSQL Qi!!

Before we begin, I want to describe a bit about our data set, we worked on !!

At Tokopedia, we have data related to our ads which is called statistics data…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store