![](/img/trans.png)
[英]How to make query in postgresql which will find all records which are started more than 6 hours?
[英]How to find the time postgresql was started via a query
我試圖找到postgres DB的開始時間,最好是通過查詢一些system_table(而不是解析日志文件)來找到。 可能嗎?
SELECT pg_postmaster_start_time();
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.