Re: [PERFORM] postgresql performance tuning

2005-12-07 Thread Vivek Khera
On Dec 6, 2005, at 5:03 PM, Ameet Kini wrote: table with only 1 index, the time to do a vacuum (without full) went down from 45 minutes to under 3 minutes. Maybe thats not bloat but thats surely surprising. And this was after running vacuum periodically. I'll bet either your FSM settings

Re: [PERFORM] postgresql performance tuning

2005-12-06 Thread Michael Stone
On Tue, Dec 06, 2005 at 04:03:22PM -0600, Ameet Kini wrote: I'm running postgresql v8.0 and my problem is that running vacuum on my indices are blazing fast (upto 10x faster) AFTER running reindex. For a table with only 1 index, the time to do a vacuum (without full) went down from 45 minutes to

Re: [PERFORM] postgresql performance tuning

2005-12-06 Thread Ameet Kini
> what evidence do you have that you are suffering index bloat? or are > you just looking for solutions to problems that don't exist as an > academic exercise? :-) Well, firstly, its not an academic exercise - Its very much of a real problem that needs a real solution :) I'm running postgresql

Re: [PERFORM] postgresql performance tuning

2005-12-06 Thread Alan Stange
Tom Lane wrote: Alan Stange <[EMAIL PROTECTED]> writes: Vivek Khera wrote: what evidence do you have that you are suffering index bloat? The files for the two indices on a single table used 7.8GB of space before a reindex, and 4.4GB after. That's not bloat ... that's

Re: [PERFORM] postgresql performance tuning

2005-12-06 Thread Tom Lane
Alan Stange <[EMAIL PROTECTED]> writes: > Vivek Khera wrote: >> what evidence do you have that you are suffering index bloat? > The files for the two indices on a single table used 7.8GB of space > before a reindex, and 4.4GB after. That's not bloat ... that's pretty nearly in line with the norm

Re: [PERFORM] postgresql performance tuning

2005-12-06 Thread Michael Riess
Ameet Kini schrieb: This didn't get through the first time around, so resending it again. Sorry for any duplicate entries. Hello, I have a question on postgres's performance tuning, in particular, the vacuum and reindex commands. Currently I do a vacuum (without full) on all of my tables.

Re: [PERFORM] postgresql performance tuning

2005-12-06 Thread Alan Stange
Vivek Khera wrote: On Dec 6, 2005, at 11:14 AM, Ameet Kini wrote: need for vacuums. However, it'd be great if there was a similar automatic reindex utility, like say, a pg_autoreindex daemon. Are there any plans for this feature? If not, then would cron scripts be the next best what eviden

Re: [PERFORM] postgresql performance tuning

2005-12-06 Thread Vivek Khera
On Dec 6, 2005, at 11:14 AM, Ameet Kini wrote: need for vacuums. However, it'd be great if there was a similar automatic reindex utility, like say, a pg_autoreindex daemon. Are there any plans for this feature? If not, then would cron scripts be the next best what evidence do you have th

[PERFORM] postgresql performance tuning

2005-12-06 Thread Ameet Kini
Hello, I have a question on postgres's performance tuning, in particular, the vacuum and reindex commands. Currently I do a vacuum (without full) on all of my tables. However, its noted in the docs (e.g. http://developer.postgresql.org/docs/postgres/routine-reindex.html) and on the lists here t

Re: [PERFORM] postgresql performance tuning

2005-12-06 Thread Vivek Khera
On Dec 6, 2005, at 12:44 PM, Ameet Kini wrote: I have a question on postgres's performance tuning, in particular, the vacuum and reindex commands. Currently I do a vacuum (without full) on all of my tables. However, its noted in the docs (e.g. http://developer.postgresql.org/docs/postgres/r

Re: [PERFORM] postgresql performance tuning

2005-12-06 Thread Tom Lane
Ameet Kini <[EMAIL PROTECTED]> writes: > I have a question on postgres's performance tuning, in particular, the > vacuum and reindex commands. Currently I do a vacuum (without full) on all > of my tables. However, its noted in the docs (e.g. > http://developer.postgresql.org/docs/postgres/routine-

[PERFORM] postgresql performance tuning

2005-12-06 Thread Ameet Kini
This didn't get through the first time around, so resending it again. Sorry for any duplicate entries. Hello, I have a question on postgres's performance tuning, in particular, the vacuum and reindex commands. Currently I do a vacuum (without full) on all of my tables. However, its noted in th