查詢 PostgreSQL 表及其索引的磁碟大小
本文將討論如何找到 PostgreSQL 表及其索引的磁碟大小。 使用 PSQL 查詢 PostgreSQL 表和資料庫的磁碟大小 你可以使用 \l+ 檢視資料庫大小,使用 \d+ 顯示錶大小。但在此之前,你需要登入資料庫執行查詢。
2023年1月30日
PostgreSQL
PostgreSQL Table
最受歡迎文章
![使用 PSQL 遠端連線到另一個例項](/img/Postgres/feature%20image%20-%20psql%20connect%20to%20remote%20database.png)
使用 PSQL 遠端連線到另一個例項
2023年1月30日
PostgreSQL
PostgreSQL Database
![在 PostgreSQL 中使用變數](/img/Postgres/feature%20image%20-%20use%20variables%20in%20postgresql.png)
在 PostgreSQL 中使用變數
2023年1月30日
PostgreSQL
PostgreSQL Variable
![查詢 PostgreSQL 表及其索引的磁碟大小](/img/Postgres/ag%20feature%20image%20-%20postgres%20table%20size.png)
查詢 PostgreSQL 表及其索引的磁碟大小
2023年1月30日
PostgreSQL
PostgreSQL Table
![在 PostgreSQL 查詢中宣告一個變數](/img/Postgres/feature%20image%20-%20postgresql%20variables%20in%20query.png)
在 PostgreSQL 查詢中宣告一個變數
2023年1月30日
PostgreSQL
PostgreSQL Variable
![PostgreSQL 不是 NoSQL 資料庫](/img/Postgres/feature%20image%20-%20is%20postgres%20nosql.png)
PostgreSQL 不是 NoSQL 資料庫
2023年1月30日
PostgreSQL
PostgreSQL NoSQL
![在 Postgres 中更改使用者密碼](/img/Postgres/feature%20image%20-%20postgres%20change%20user%20password.png)
在 Postgres 中更改使用者密碼
2023年1月30日
Postgres
Postgres Password
最近更新的文章
![在 PSQL 中執行 SQL 檔案](/img/Postgres/feature%20image%20-%20psql%20run%20sql%20file.png)
在 PSQL 中執行 SQL 檔案
2023年2月6日
PostgreSQL
PostgreSQL File
![檢查 Postgres 的版本](/img/Postgres/ag%20feature%20image%20-%20check%20postgres%20version.png)
檢查 Postgres 的版本
2023年1月30日
Postgres
Postgres Version
![終止 PostgreSQL 連線](/img/Postgres/feature%20image%20-%20terminate%20a%20postgresql%20connection.png)
終止 PostgreSQL 連線
2023年1月30日
PostgreSQL
PostgreSQL Connection
![從 PostgreSQL 中的時間戳日期中減去一天](/img/Postgres/feature%20image%20-%20postgresql%20subtract%20a%20day%20from%20timestamp.png)
從 PostgreSQL 中的時間戳日期中減去一天
2023年1月30日
PostgreSQL
PostgreSQL Date
![從 PostgreSQL 中的命令列實用程式退出](/img/Postgres/feature%20image%20-%20exit%20from%20the%20postgresql%20command%20line%20utility.png)
從 PostgreSQL 中的命令列實用程式退出
2023年1月30日
PostgreSQL
PostgreSQL Exit
![從 PostgreSQL 中的日期欄位中提取星期幾](/img/Postgres/feature%20image%20-%20postgresql%20extract%20day%20of%20week%20from%20date%20field.png)
從 PostgreSQL 中的日期欄位中提取星期幾
2023年1月30日
PostgreSQL
PostgreSQL Date
![使用密碼連線到 PostgreSQL](/img/Postgres/feature%20image%20-%20psql%20password.png)
使用密碼連線到 PostgreSQL
2023年1月30日
PostgreSQL
PostgreSQL Password
![使用 PSQL 遠端連線到另一個例項](/img/Postgres/feature%20image%20-%20psql%20connect%20to%20remote%20database.png)
使用 PSQL 遠端連線到另一個例項
2023年1月30日
PostgreSQL
PostgreSQL Database