PostgreSQL is a relational database. It can be classified as an OLTP database.
pip install psycopg2-binary for the pre-built binary packagePostgreSQL has built-in support for partitioned tables. But it’s not super seamless. pg_partman is a very useful Postgres package for automatically managing table partitions.