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
질문됨 한 달 전101회 조회
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
전문가
답변함 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠