RE: Abnormal Growth of Index Size - Index Size 3x large than table size.

From: Ram Pratap Maurya <ram(dot)maurya(at)lavainternational(dot)in>
To: Ravi Krishna <srkrishna1(at)comcast(dot)net>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, "Ashish Chugh" <ashish(dot)chugh(at)lavainternational(dot)in>
Subject: RE: Abnormal Growth of Index Size - Index Size 3x large than table size.
Date: 2020-05-06 13:21:51
Message-ID: PS1PR0601MB3691E50D72A0F91FACE42116F0A40@PS1PR0601MB3691.apcprd06.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello Ravi,

Total number of index is 10 and 65GB is the sum total of index size of all indexes for table "tstock_movement"
I am attaching the screen shot for your reference.

[cid:image001(dot)png(at)01D623D7(dot)65173990]

Regards,
Ram Pratap.
Lava International Limited.
Tel+ 91-120-4637148
[cid:image001(dot)jpg(at)01CFD804(dot)C427DF90]

From: Ravi Krishna [mailto:srkrishna1(at)comcast(dot)net]
Sent: 06 May 2020 16:28
To: Ram Pratap Maurya
Cc: pgsql-general(at)postgresql(dot)org; Ashish Chugh
Subject: Re: Abnormal Growth of Index Size - Index Size 3x large than table size.

On May 6, 2020, at 5:48 AM, Ram Pratap Maurya <ram(dot)maurya(at)lavainternational(dot)in<mailto:ram(dot)maurya(at)lavainternational(dot)in>> wrote:

Hi Team,

We are facing a problem in our PostgreSQL production database related to abnormal growth of index size. Some of the indexes are having abnormal growth and index size is larger than table data size.
One table is having 75 G.B of index though table size is only 25 G.B. On monthly basis we are performing vacuum to release the used space.

I am attaching the screen shot for your reference. Could you please help us in resolving the same as this is degrading performance drastically.

<image002.png>

How many indexes are there in the table tstock_movement? Could it be that 65GB is the sum total of index size of all indexes.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephen Frost 2020-05-06 13:28:28 Re: Lock Postgres account after X number of failed logins?
Previous Message Jasen Lentz 2020-05-06 12:44:30 pg_basebackup inconsistent performance