This article covers PostgreSQL 13 installation on Rocky Linux 8.4. Basically, PostgreSQL is the world's most advanced open source database system. And with the release of PostgreSQL 13 there are significant improvements to the indexing and lookup system that benefit large databases, and faster response times for queries that use aggregates or partitions.
How to Enable and Start PostgreSQL Service ?
To enable and start the PostgreSQL database service so that it can start automatically with system boot:
$ sudo systemctl start postgresql-13
$ sudo systemctl enable postgresql-13
To confirm everything is working fine, check the status of PostgreSQL service:
$ sudo systemctl status postgresql-13