pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #5967: Db maintainace
8+ messages / 5 participants
[nested] [flat]

* BUG #5967: Db maintainace
@ 2011-04-07 07:38 Savita <savita.halli@ca.com>
  2011-04-07 13:08 ` Re: BUG #5967: Db maintainace hubert depesz lubaczewski <depesz@depesz.com>
  0 siblings, 1 reply; 8+ messages in thread

From: Savita @ 2011-04-07 07:38 UTC (permalink / raw)
  To: pgsql-bugs


The following bug has been logged online:

Bug reference:      5967
Logged by:          Savita
Email address:      savita.halli@ca.com
PostgreSQL version: 8.3.5
Operating system:   Linux
Description:        Db maintainace
Details: 

Hi

We are using the postgres database and would like to know what are the db
maintainance activity need to be carried out for postgres and how
frequently.

Thanks in advance.

Thanks
Savita



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: BUG #5967: Db maintainace
  2011-04-07 07:38 BUG #5967: Db maintainace Savita <savita.halli@ca.com>
@ 2011-04-07 13:08 ` hubert depesz lubaczewski <depesz@depesz.com>
  2011-04-07 13:20   ` Re: BUG #5967: Db maintainace Halli, Savita <Savita.Halli@ca.com>
  0 siblings, 1 reply; 8+ messages in thread

From: hubert depesz lubaczewski @ 2011-04-07 13:08 UTC (permalink / raw)
  To: Savita <savita.halli@ca.com>; +Cc: pgsql-bugs

On Thu, Apr 07, 2011 at 07:38:49AM +0000, Savita wrote:
> 
> The following bug has been logged online:
> 
> Bug reference:      5967
> Logged by:          Savita
> Email address:      savita.halli@ca.com
> PostgreSQL version: 8.3.5
> Operating system:   Linux
> Description:        Db maintainace
> Details: 
> 
> Hi
> 
> We are using the postgres database and would like to know what are the db
> maintainance activity need to be carried out for postgres and how
> frequently.

First of all - this is not a bug, so please don't report it as a bug.

Second of all - did you read this part of documentation:
http://www.postgresql.org/docs/8.3/interactive/maintenance.html

Best regards,

depesz




^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: BUG #5967: Db maintainace
  2011-04-07 07:38 BUG #5967: Db maintainace Savita <savita.halli@ca.com>
  2011-04-07 13:08 ` Re: BUG #5967: Db maintainace hubert depesz lubaczewski <depesz@depesz.com>
@ 2011-04-07 13:20   ` Halli, Savita <Savita.Halli@ca.com>
  2011-04-07 13:36     ` Re: BUG #5967: Db maintainace hubert depesz lubaczewski <depesz@depesz.com>
  0 siblings, 1 reply; 8+ messages in thread

From: Halli, Savita @ 2011-04-07 13:20 UTC (permalink / raw)
  To: depesz@depesz.com; +Cc: pgsql-bugs

Hi Depesz

I understand that this is not a bug but I was not aware of any other way to get the information so I reported here.
Could you please let me know how frequently we need to go for db maintainance?

Thanks
Savita


-----Original Message-----
From: depesz@depesz.com [mailto:depesz@depesz.com] 
Sent: Thursday, April 07, 2011 6:38 PM
To: Halli, Savita
Cc: pgsql-bugs@postgresql.org
Subject: Re: [BUGS] BUG #5967: Db maintainace

On Thu, Apr 07, 2011 at 07:38:49AM +0000, Savita wrote:
> 
> The following bug has been logged online:
> 
> Bug reference:      5967
> Logged by:          Savita
> Email address:      savita.halli@ca.com
> PostgreSQL version: 8.3.5
> Operating system:   Linux
> Description:        Db maintainace
> Details: 
> 
> Hi
> 
> We are using the postgres database and would like to know what are the db
> maintainance activity need to be carried out for postgres and how
> frequently.

First of all - this is not a bug, so please don't report it as a bug.

Second of all - did you read this part of documentation:
http://www.postgresql.org/docs/8.3/interactive/maintenance.html

Best regards,

depesz



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: BUG #5967: Db maintainace
  2011-04-07 07:38 BUG #5967: Db maintainace Savita <savita.halli@ca.com>
  2011-04-07 13:08 ` Re: BUG #5967: Db maintainace hubert depesz lubaczewski <depesz@depesz.com>
  2011-04-07 13:20   ` Re: BUG #5967: Db maintainace Halli, Savita <Savita.Halli@ca.com>
@ 2011-04-07 13:36     ` hubert depesz lubaczewski <depesz@depesz.com>
  2011-04-07 13:53       ` Re: BUG #5967: Db maintainace Halli, Savita <Savita.Halli@ca.com>
  2011-05-18 05:16       ` Re: BUG #5967: Db maintainace Halli, Savita <Savita.Halli@ca.com>
  0 siblings, 2 replies; 8+ messages in thread

From: hubert depesz lubaczewski @ 2011-04-07 13:36 UTC (permalink / raw)
  To: Halli, Savita <Savita.Halli@ca.com>; +Cc: pgsql-bugs

On Thu, Apr 07, 2011 at 06:50:16PM +0530, Halli, Savita wrote:
> Hi Depesz
> 
> I understand that this is not a bug but I was not aware of any other way to get the information so I reported here.

http://www.postgresql.org/
click on "community"
click on "mailing lists"
pick one, subscribe, and ask there

i would guess that -general, or -admin would be ok.

> Could you please let me know how frequently we need to go for db maintainance?

sorry, not sure what you mean by "to go for db maintainace".

did you read the maintenance chapter in docs?

Best regards,

depesz

-- 
The best thing about modern society is how easy it is to avoid contact with it.
                                                             http://depesz.com/



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: BUG #5967: Db maintainace
  2011-04-07 07:38 BUG #5967: Db maintainace Savita <savita.halli@ca.com>
  2011-04-07 13:08 ` Re: BUG #5967: Db maintainace hubert depesz lubaczewski <depesz@depesz.com>
  2011-04-07 13:20   ` Re: BUG #5967: Db maintainace Halli, Savita <Savita.Halli@ca.com>
  2011-04-07 13:36     ` Re: BUG #5967: Db maintainace hubert depesz lubaczewski <depesz@depesz.com>
@ 2011-04-07 13:53       ` Halli, Savita <Savita.Halli@ca.com>
  2011-04-07 17:11         ` Re: BUG #5967: Db maintainace John R Pierce <pierce@hogranch.com>
  1 sibling, 1 reply; 8+ messages in thread

From: Halli, Savita @ 2011-04-07 13:53 UTC (permalink / raw)
  To: depesz@depesz.com; +Cc: pgsql-bugs

Yes, I am going through that. Its mentioned that some of the commands need to be run. My question is how frequently we need to run those commands(commands for db maintainance).

Thanks
Savita

-----Original Message-----
From: depesz@depesz.com [mailto:depesz@depesz.com] 
Sent: Thursday, April 07, 2011 7:06 PM
To: Halli, Savita
Cc: pgsql-bugs@postgresql.org
Subject: Re: [BUGS] BUG #5967: Db maintainace

On Thu, Apr 07, 2011 at 06:50:16PM +0530, Halli, Savita wrote:
> Hi Depesz
> 
> I understand that this is not a bug but I was not aware of any other way to get the information so I reported here.

http://www.postgresql.org/
click on "community"
click on "mailing lists"
pick one, subscribe, and ask there

i would guess that -general, or -admin would be ok.

> Could you please let me know how frequently we need to go for db maintainance?

sorry, not sure what you mean by "to go for db maintainace".

did you read the maintenance chapter in docs?

Best regards,

depesz

-- 
The best thing about modern society is how easy it is to avoid contact with it.
                                                             http://depesz.com/


^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: BUG #5967: Db maintainace
  2011-04-07 07:38 BUG #5967: Db maintainace Savita <savita.halli@ca.com>
  2011-04-07 13:08 ` Re: BUG #5967: Db maintainace hubert depesz lubaczewski <depesz@depesz.com>
  2011-04-07 13:20   ` Re: BUG #5967: Db maintainace Halli, Savita <Savita.Halli@ca.com>
  2011-04-07 13:36     ` Re: BUG #5967: Db maintainace hubert depesz lubaczewski <depesz@depesz.com>
  2011-04-07 13:53       ` Re: BUG #5967: Db maintainace Halli, Savita <Savita.Halli@ca.com>
@ 2011-04-07 17:11         ` John R Pierce <pierce@hogranch.com>
  0 siblings, 0 replies; 8+ messages in thread

From: John R Pierce @ 2011-04-07 17:11 UTC (permalink / raw)
  To: pgsql-bugs

On 04/07/11 6:53 AM, Halli, Savita wrote:
> Yes, I am going through that. Its mentioned that some of the commands need to be run. My question is how frequently we need to run those commands(commands for db maintainance).

how frequently do you need to do file system maintenance?   or for that 
matter, how often do you have to wash your car?       the answer, my 
friends, is it depends on far too many factors for a generic answer.

with autovacumn in place and with your database reasonably well tuned to 
your application requirements, there may be NO need for scheduled 
regular maintenance, other than backups.

but, again, this would far better be discussed on the -general or -admin 
email lists, not on -bugs.







^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: BUG #5967: Db maintainace
  2011-04-07 07:38 BUG #5967: Db maintainace Savita <savita.halli@ca.com>
  2011-04-07 13:08 ` Re: BUG #5967: Db maintainace hubert depesz lubaczewski <depesz@depesz.com>
  2011-04-07 13:20   ` Re: BUG #5967: Db maintainace Halli, Savita <Savita.Halli@ca.com>
  2011-04-07 13:36     ` Re: BUG #5967: Db maintainace hubert depesz lubaczewski <depesz@depesz.com>
@ 2011-05-18 05:16       ` Halli, Savita <Savita.Halli@ca.com>
  2011-05-18 16:15         ` Re: BUG #5967: Db maintainace Jaime Casanova <jaime@2ndquadrant.com>
  1 sibling, 1 reply; 8+ messages in thread

From: Halli, Savita @ 2011-05-18 05:16 UTC (permalink / raw)
  To: depesz@depesz.com; +Cc: pgsql-bugs

Hi

Thanks for the reply and sorry for delayed query.

How frequently I mean is 

When we need to rum vacuumdb and reindexdb commands, would like to know how often we need to perform these ooperation? Is it once in a week, month or other?

Thanks
Savita

-----Original Message-----
From: depesz@depesz.com [mailto:depesz@depesz.com] 
Sent: Thursday, April 07, 2011 7:06 PM
To: Halli, Savita
Cc: pgsql-bugs@postgresql.org
Subject: Re: [BUGS] BUG #5967: Db maintainace

On Thu, Apr 07, 2011 at 06:50:16PM +0530, Halli, Savita wrote:
> Hi Depesz
> 
> I understand that this is not a bug but I was not aware of any other way to get the information so I reported here.

http://www.postgresql.org/
click on "community"
click on "mailing lists"
pick one, subscribe, and ask there

i would guess that -general, or -admin would be ok.

> Could you please let me know how frequently we need to go for db maintainance?

sorry, not sure what you mean by "to go for db maintainace".

did you read the maintenance chapter in docs?

Best regards,

depesz

-- 
The best thing about modern society is how easy it is to avoid contact with it.
                                                             http://depesz.com/


^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: BUG #5967: Db maintainace
  2011-04-07 07:38 BUG #5967: Db maintainace Savita <savita.halli@ca.com>
  2011-04-07 13:08 ` Re: BUG #5967: Db maintainace hubert depesz lubaczewski <depesz@depesz.com>
  2011-04-07 13:20   ` Re: BUG #5967: Db maintainace Halli, Savita <Savita.Halli@ca.com>
  2011-04-07 13:36     ` Re: BUG #5967: Db maintainace hubert depesz lubaczewski <depesz@depesz.com>
  2011-05-18 05:16       ` Re: BUG #5967: Db maintainace Halli, Savita <Savita.Halli@ca.com>
@ 2011-05-18 16:15         ` Jaime Casanova <jaime@2ndquadrant.com>
  0 siblings, 0 replies; 8+ messages in thread

From: Jaime Casanova @ 2011-05-18 16:15 UTC (permalink / raw)
  To: Halli, Savita <Savita.Halli@ca.com>; +Cc: depesz@depesz.com; pgsql-bugs

On Wed, May 18, 2011 at 12:16 AM, Halli, Savita <Savita.Halli@ca.com> wrote:
>
> When we need to rum vacuumdb and reindexdb commands, would like to know how often we need to perform these ooperation? Is it
> once in a week, month or other?
>

correct answer is: depends on your work load...
if you have a recent version of postgres, better you can do is
configure autovacuum and let it do most of the job... and by a recent
version i mean at least 8.3 (preferable 8.4 or superior)

btw, any new question you have please send it to
pgsql-general@postgresql.org or another one that fits more with the
question from the page Hubert show you

-- 
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte y capacitación de PostgreSQL



^ permalink  raw  reply  [nested|flat] 8+ messages in thread


end of thread, other threads:[~2011-05-18 16:15 UTC | newest]

Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-04-07 07:38 BUG #5967: Db maintainace Savita <savita.halli@ca.com>
2011-04-07 13:08 ` hubert depesz lubaczewski <depesz@depesz.com>
2011-04-07 13:20   ` Halli, Savita <Savita.Halli@ca.com>
2011-04-07 13:36     ` hubert depesz lubaczewski <depesz@depesz.com>
2011-04-07 13:53       ` Halli, Savita <Savita.Halli@ca.com>
2011-04-07 17:11         ` John R Pierce <pierce@hogranch.com>
2011-05-18 05:16       ` Halli, Savita <Savita.Halli@ca.com>
2011-05-18 16:15         ` Jaime Casanova <jaime@2ndquadrant.com>

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