pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Moin Akther <moindba@hotmail.com>
To: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Unique Index Disk Consumption
Date: Wed, 27 Mar 2019 13:50:54 +0000
Message-ID: <PN1PR01MB08136DF37398A54E757D73A8AD580@PN1PR01MB0813.INDPRD01.PROD.OUTLOOK.COM> (raw)

Dear Experts,

on a table we have 2 unique index's and when i check the table and unique index size, size of index's are twice the size of table.

if have drop both the unique index's and create the new one but again after some time index size is almost twice the size of table.

Is Unique Index consume more disk space ?

How can i manage this kind scenario ? as droping and recreating unique index on the existing data is taking lot of time.


Thanks and Best Regards,

Moin Akther

view thread (3+ messages)  latest in thread

Message-ID: <PN1PR01MB08136DF37398A54E757D73A8AD580@PN1PR01MB0813.INDPRD01.PROD.OUTLOOK.COM>
Permalink:  ../PN1PR01MB08136DF37398A54E757D73A8AD580@PN1PR01MB0813.INDPRD01.PROD.OUTLOOK.COM/
Also on:    postgresql.org/message-id/PN1PR01MB08136DF37398A54E757D73A8AD580@PN1PR01MB0813.INDPRD01.PROD.OUTLOOK.COM

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: moindba@hotmail.com
  Subject: Re: Unique Index Disk Consumption
  In-Reply-To: <PN1PR01MB08136DF37398A54E757D73A8AD580@PN1PR01MB0813.INDPRD01.PROD.OUTLOOK.COM>
  References: <PN1PR01MB08136DF37398A54E757D73A8AD580@PN1PR01MB0813.INDPRD01.PROD.OUTLOOK.COM>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox