Jump to content
Калькуляторы

Помогите разобраться с базой

Добрый день!

Есть база в postgresql, в ней таблица radacct, смотрю ее размер командой select pg_relation_size('radacct'); показывает 13163438080, удаляю половину данных а размер почему то не меняеться! делал REINDEX TABLE radacct ;

ERROR: could not create unique index "radacct_pkey"

DETAIL: Table contains duplicated values.

делал

VACUUM;

ERROR: index "radacct_acctuniqueid_index" contains unexpected zero page at block 116707

куда копать? что смотреть? подскажите пожалуйста!

Share this post


Link to post
Share on other sites

postgres <8.4 ?

Share this post


Link to post
Share on other sites

postgres <8.4 ?

да 8.3

Share this post


Link to post
Share on other sites

Делайте sql-дамп и перезаливайте. Лучше в 8.4 и старше

Share this post


Link to post
Share on other sites

Спасибо!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now