Обслуживание БД postgres через terminal Реиндекс: psql -U postgres -d "database_name" REINDEX DATABASE database_name;