How to know the size of data stored in a Amazon aurora postgres serverless V2 DB

0

I want to know how to check the size of data stored in a Amazon aurora postgres serverless V2 DB.

Sandeep
質問済み 1ヶ月前124ビュー
1回答
0

Hello.

As far as I can see from the document below, it may not be possible to check the size from CloudWatch metrics.
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.AuroraMonitoring.Metrics.html

It is unknown whether it can be used with Aurora PostgreSQL Serverless v2, but if you can execute the following SQL, you can check the database size.
This is SQL that can be executed with regular PostgreSQL.

SELECT pg_database_size(datname) AS db_size, pg_size_pretty(pg_database_size(datname)) AS db_size_h, datname FROM pg_database ORDER BY db_size DESC;
profile picture
エキスパート
回答済み 1ヶ月前
profile pictureAWS
エキスパート
レビュー済み 1ヶ月前
  • Hey , I found a metric volumeUsedBytes in cloudwatch which is showing the no of bytes my db cluster used . Any idea will it show accurate data for storage or it for some different storage.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ