Redshift Disk Space issue due to Materialized View

0

My disk storage is around 6% before creating the Main Materialized View which is nothing but MV which are created on top of other materilized view(sub). Before I do have only sub materialized views during that time my disk space is aroung 6% only but when Main MV's are created the storage is occupied entirely.

I do have 17 sub MV and 18 main MV which are created using the combination sub MV

Is there any possibilities to identify the disk space which are occupied by Materilized views?

MSkalai
已提問 1 個月前檢視次數 100 次
1 個回答
1

Yes, you can identify the disk space occupied by materialized views (MVs) in your database. These are the way you can do it :-

Query the System View, Analyze Table Size: You can use SQL queries to analyze the size of the tables underlying the materialized views. Since materialized views store the result of a query as a table, you can query the underlying tables to determine their size and calculate the total size of the MVs.

Database Management Tools , Database Documentation https://docs.aws.amazon.com/redshift/ :- Check the documentation of your specific database system for information on how to analyze disk space usage, including materialized views.

profile picture
專家
已回答 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南