PostgreSQL 11 Administration Cookbook
上QQ阅读APP看书,第一时间看更新

What is the server uptime?

You may wonder, how long has it been since the server started?

For instance, you might want to verify that there was no server crash if your server is not monitored; or to see when the server was last restarted, for instance, to change the configuration. We will find this out by asking the database server.