F
F
fokin_nikolay19892021-11-23 11:29:44
PostgreSQL
fokin_nikolay1989, 2021-11-23 11:29:44

How to compress a table in Postgres?

Good afternoon
This team

# pgcompactor --reindex --dbname geodata --table cities --verbose info >pgcompactor.log 2>&1

whether it will be possible to compress the tablet in the database without losing data from it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Slava Rozhnev, 2021-11-23
@rozhnev

If possible, it is better to use the standard VACUUM [FULL] :

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question