-
Improving Query Performance via PostgreSQL Table Partitioning – Part II
Welcome to Part II series of exploring postgresql partitioning. If you haven’t already checked out Part I, it has some pre-requisite information. This helps you find out if partitioning is the right solution for you, as it did for me. Table of Contents Key Information To Know Before Starting Partitioned Table Characteristics timestamp. Example ‘2025-05-05…
-
Improving Query Performance via PostgreSQL Table Partitioning – Part I
Intro: At work I created a new set of tables to fulfill the business needs. Unfortunately for the first time around, I couldn’t set aside the time consider maintenance of the tables as it was premature to even consider if the business idea would be successful. So, I decided to work on it another time.…
-
What is Consistent Hashing?
For horizontal scaling solutions, data are spread across many different servers vs in vertical scaling solutions, the data is stored in one big server. Horizontal scaling requires a way to identify where the data can be stored and then searched after it is stored. fn(key) mod N – where “key” is the data key name…