Hello all
I see that my zabbix postgres database backup is about 920Gb... So I check the tables and I see this:
So, my question is..Can I just remove this table from the database safely ?
If not, the way I have is to EXCLUDE this tables from my BARMAN backup script?
Let me know
Many thanks
I see that my zabbix postgres database backup is about 920Gb... So I check the tables and I see this:
Code:
SELECT
relname as "Table",
pg_size_pretty(pg_total_relation_size(relid)) As "Size",
pg_size_pretty(pg_total_relation_size(relid) - pg_relation_size(relid)) as "External Size"
FROM pg_catalog.pg_statio_user_tables ORDER BY pg_total_relation_size(relid) DESC;
Table | Size | External Size
-----------------------+------------+---------------
history_uint_20200127 | 11 GB | 5695 MB
history_uint_20200210 | 11 GB | 5695 MB
history_uint_20200203 | 11 GB | 5695 MB
history_uint_20200120 | 10 GB | 5686 MB
If not, the way I have is to EXCLUDE this tables from my BARMAN backup script?
Let me know
Many thanks
Comment