The postgres database -- necessary? If so, how to cleanse?

Поиск
Список
Период
Сортировка
От René Fournier
Тема The postgres database -- necessary? If so, how to cleanse?
Дата
Msg-id 1EEE5229-AEB4-453B-B964-F5C78A09CCC5@renefournier.com
обсуждение исходный текст
Ответы Re: The postgres database -- necessary? If so, how to cleanse?
Список pgsql-general
I accidentally imported lots of data into the postgres database via something like:

psql -U postgres -q -f super_massive_database_dump.sql

Now, although I've manually dropped all the tables -- and \d+ shows nothing -- there are still various views, functions, etc that must account for a lot of disk space. From \l+, I see that postgres still occupies 65GB. So my question is, what's the easiest way to reclaim that space? Can I drop postgres and just recreate it? Or is it magical like unicorns and unwilling to be dropped? Or, how can I just clear out all the crap I imported?

Thanks!

…Rene

В списке pgsql-general по дате отправления:

Предыдущее
От: Gavin Flower
Дата:
Сообщение: Re: All and ANY
Следующее
От: Tom Lane
Дата:
Сообщение: Re: The postgres database -- necessary? If so, how to cleanse?