Re: Table and Index bloating

Поиск
Список
Период
Сортировка
От Carlos Martinez
Тема Re: Table and Index bloating
Дата
Msg-id CA+Mn-VZWjuxD6_=g=kfjK5mh1gd651+7ensULKVLHfKApE-THw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Table and Index bloating  (Stefan Fercot <stefan.fercot@dalibo.com>)
Ответы Re: Table and Index bloating  (Vikas Sharma <shavikas@gmail.com>)
Список pgsql-general
Hi.

You can consider use pg_repack to remove bloat
(http://reorg.github.io/pg_repack/)

Best regards.

Carlos Martinez


On Mon, Nov 27, 2017 at 4:17 AM, Stefan Fercot <stefan.fercot@dalibo.com> wrote:
> Hi,
>
> You can track that with some monitoring tools like check_pgactivity. The
> queries can be found here :
> https://github.com/ioguix/pgsql-bloat-estimation.
>
> Tables :
> https://github.com/ioguix/pgsql-bloat-estimation/blob/master/table/table_bloat.sql
> Indexes :
> https://github.com/ioguix/pgsql-bloat-estimation/blob/master/btree/btree_bloat.sql
>
> Backups should also be part of your maintenance plan.
> Vacuum/Analyse/Reindex is already a good basis.
>
>
> Kind regards
>
>
> On 11/27/2017 10:10 AM, Vikas Sharma wrote:
>> Hi All,
>>
>> Could someone please provide the query/queries  to find table and
>> Index bloating in PgSql 9.3 onwards?
>> and are there any other maintenance tasks inPgSql except vacuum & analyse.
>>
>> Regards
>> Vikas
>
> --
> Stefan FERCOT
> http://dalibo.com - http://dalibo.org
>
>


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

Предыдущее
От: PeterS
Дата:
Сообщение: Install numpy to use within plpython3u in postgres 9.6 for Windows2012 (64 bit)
Следующее
От: Vikas Sharma
Дата:
Сообщение: Re: Table and Index bloating