Re:

From: Jaime Soler <jaime(dot)soler(at)gmail(dot)com>
To: Yogesh Sharma <yogeshraj95(at)gmail(dot)com>
Cc: Alban Hertroys <haramrae(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re:
Date: 2016-12-21 12:12:35
Message-ID: CAKVUGgTwF3E14Qa65fRF051M7MqF=n=w6NJMSh32oy93gbGBCA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

if you want to reduce the impact of reindex in your inserts and updates
operations why don't you try drop index and CREATE INDEX CONCURRENTLY.
As Alban said you I don't recommend you to execute reindex every hour, at
least try to reduce the scope of the reindex to the minimal object.

2016-12-21 12:51 GMT+01:00 Yogesh Sharma <yogeshraj95(at)gmail(dot)com>:

> Dear Alban,
>
> In my production system, there are lot of read write operation performed
> every hour.
> So, i am thinking, if i can add check during REINDEX operation nothing
> update and insert operation performed.
> Is it possible?
>
> Regards,
> Yogesh
>
> On Wednesday, December 21, 2016, Alban Hertroys <haramrae(at)gmail(dot)com>
> wrote:
>
>> On 21 December 2016 at 09:59, Yogesh Sharma <yogeshraj95(at)gmail(dot)com>
>> wrote:
>> > Also, every hour,i am performing VACUUM and REINDEX operation on table.
>>
>> Why are you running REINDEX every hour? That's a very unusual thing to
>> do, you'd need a pretty good reason for that.
>>
>> --
>> If you can't see the forest for the trees,
>> Cut the trees and you'll see there is no forest.
>>
>

In response to

  • Re: at 2016-12-21 11:51:41 from Yogesh Sharma

Responses

  • Re: at 2016-12-21 12:28:01 from Yogesh Sharma

Browse pgsql-general by date

  From Date Subject
Next Message Yogesh Sharma 2016-12-21 12:28:01 Re:
Previous Message Yogesh Sharma 2016-12-21 11:51:41 Re: