You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sql = "select
table_name,
pg_size_pretty(pg_total_relation_size(quote_ident(table_name))),
pg_total_relation_size(quote_ident(table_name))
from information_schema.tables
where table_schema = 'public'
order by 3 desc;"
From the results we can see that the biggest size table was not used anymore, but it takes a lot of space in the database.So I will remove these tables from database.
The text was updated successfully, but these errors were encountered:
From the results we can see that the biggest size table was not used anymore, but it takes a lot of space in the database.So I will remove these tables from database.
The text was updated successfully, but these errors were encountered: