RE: Abnormal Growth of Index Size - Index Size 3x large than table size. - Mailing list pgsql-general

From Ram Pratap Maurya
Subject RE: Abnormal Growth of Index Size - Index Size 3x large than table size.
Date
Msg-id PS1PR0601MB3691E50D72A0F91FACE42116F0A40@PS1PR0601MB3691.apcprd06.prod.outlook.com
Whole thread Raw
In response to Re: Abnormal Growth of Index Size - Index Size 3x large than tablesize.  (Ravi Krishna <srkrishna1@comcast.net>)
Responses Re: Abnormal Growth of Index Size - Index Size 3x large than tablesize.
List 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.

 

 

 

Regards,

Ram Pratap.

Lava International Limited.

Tel+  91-120-4637148

cid:image001.jpg@01CFD804.C427DF90

 

 

From: Ravi Krishna [mailto:srkrishna1@comcast.net]
Sent: 06 May 2020 16:28
To: Ram Pratap Maurya
Cc: pgsql-general@postgresql.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.maurya@lavainternational.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.

 

Attachment

pgsql-general by date:

Previous
From: Jasen Lentz
Date:
Subject: pg_basebackup inconsistent performance
Next
From: Stephen Frost
Date:
Subject: Re: Lock Postgres account after X number of failed logins?