I contacted support and they helped me with this issue.
First, we ran some capacity planning reports in DPA - this gave us a report on the size of the 10 largest tables and indexes. (the important thing is the names of these tables and the schema name)
Then, in a SSH session, we ran a "ds" command to perform a VACUUM on those tables. Since drive was pretty full at the time, I started with the smaller tables listed in the report, and moved on to bigger ones last (Postgresql documentation states that to perform a Full VACUUM one may need free disk space up to the actual size of the database to work, as it basically writes new tables. I didn't have that much space left so I started with the smaller tables first, and worked my way up from there)
Worked better than I hoped - a LOT of space was recovered. There must have been something that kept the background maintenance from happening in the past, causing the tables to be filled up. All good now.
CrashCart
1 Rookie
•
64 Posts
0
May 22nd, 2020 09:00
I contacted support and they helped me with this issue.
First, we ran some capacity planning reports in DPA - this gave us a report on the size of the 10 largest tables and indexes. (the important thing is the names of these tables and the schema name)
Then, in a SSH session, we ran a "ds" command to perform a VACUUM on those tables. Since drive was pretty full at the time, I started with the smaller tables listed in the report, and moved on to bigger ones last (Postgresql documentation states that to perform a Full VACUUM one may need free disk space up to the actual size of the database to work, as it basically writes new tables. I didn't have that much space left so I started with the smaller tables first, and worked my way up from there)
Worked better than I hoped - a LOT of space was recovered. There must have been something that kept the background maintenance from happening in the past, causing the tables to be filled up. All good now.
Thanks to Dell EMC support
Anonymous
10 Elder
•
274.2K Posts
0
November 7th, 2021 21:00
Nice Solutions