Skip to content
Theory · Partitioning and Big Tables · lesson 2 of 14

Kinds of partitioning

In the previous lesson the books on the shelf were split by month. But a spine can be labelled differently: with a shop's name or a book number. PostgreSQL has three ways to do this: by range, by list and by hash.

In this lesson

  • By range
  • By list
  • The default partition
  • By hash
  • The partition tree
  • Common mistake
  • Key points