On Tue, Sep 30, 2008 at 2:53 PM, Heikki Linnakangas
>> For convenience, would it be possible to see about having all this
>> provided by PostgreSQL?
>> a. pg_relation_size()
>> b. pg_relation_toast_size()
>> c. pg_relation_fsm_size()
>> d. pg_relation_indexes_size()
>> e. pg_total_relation_size() = a + b + c + d
>> Are there some other things to add in the mix?
> Should pg_relation_indexes_size() include the FSMs of the indexes? Should
> pg_relation_toast_size() include the toast index and FSM as well?
It might be worth revisiting the near identical discussions we had
when Andreas & I integrated this stuff into the backend for 8.1.
EnterpriseDB UK: http://www.enterprisedb.com
In response to
pgsql-hackers by date
|Next:||From: Heikki Linnakangas||Date: 2008-09-30 15:22:33|
|Subject: Re: Index size increases after VACUUM FULL|
|Previous:||From: Heikki Linnakangas||Date: 2008-09-30 13:53:52|
|Subject: Re: FSM rewrite committed, loose ends|