Re: [BUGS] Giant TOAST tables due to many almost empty pages

2010-05-14 Thread Rumko
On Thursday 13. of May 2010 21:43:37 Tom Lane wrote: > Rumko writes: > > As far as I'm concerned, the TOAST table itself does not bother me even > > if I have a few bytes per row there, only the part where VACUUM claims no > > free space even though pages are more empty than not. > > Yeah, that's

Re: [BUGS] pg_restore ignores -C when using a restore list -L

2010-05-14 Thread Tom Lane
Russell Smith writes: >> By the operation of other items (-C --data-only) passed with -l, it only >> produces to contents that would be restored with the other switches >> provided. If that's expect behavior, then the documentation of the >> switch is incorrect and should read something more like

Re: [BUGS] Giant TOAST tables due to many almost empty pages

2010-05-14 Thread Tom Lane
Rumko writes: > On Thursday 13. of May 2010 21:43:37 Tom Lane wrote: >> Do *any* of the rows in pg_class have non-null reloptions? > First of all, really sorry. > "select reloptions from pg_class where relname = 'pg_toast_1066371';" > Returns "{autovacuum_enabled=false}" (a remnant of some testin

Re: [BUGS] Giant TOAST tables due to many almost empty pages

2010-05-14 Thread Rumko
On Friday 14. of May 2010 19:29:44 Tom Lane wrote: > Rumko writes: > > On Thursday 13. of May 2010 21:43:37 Tom Lane wrote: > >> Do *any* of the rows in pg_class have non-null reloptions? > > > > First of all, really sorry. > > "select reloptions from pg_class where relname = 'pg_toast_1066371';"

Re: [BUGS] Giant TOAST tables due to many almost empty pages

2010-05-14 Thread Tom Lane
Rumko writes: > On Friday 14. of May 2010 19:29:44 Tom Lane wrote: >> Hmm, do both of the toast tables with bloat problems have >> "{autovacuum_enabled=false}" ? > Yeah, but also many others that don't have the problem. Hmm, well I can reproduce the problem after doing alter table foo set (toast

Re: [BUGS] pg_restore ignores -C when using a restore list -L

2010-05-14 Thread Alvaro Herrera
Excerpts from Tom Lane's message of vie may 14 13:26:06 -0400 2010: > However, I think -C is a special case because it's quite un-obvious > to the user that it effectively acts as a filter switch --- in fact a > de-filtering switch, because the lack of -C is what filters out the > DATABASE item. >

Re: [BUGS] Giant TOAST tables due to many almost empty pages

2010-05-14 Thread Rumko
On Friday 14. of May 2010 20:02:02 Tom Lane wrote: > Rumko writes: > > On Friday 14. of May 2010 19:29:44 Tom Lane wrote: > >> Hmm, do both of the toast tables with bloat problems have > >> "{autovacuum_enabled=false}" ? > > > > Yeah, but also many others that don't have the problem. > > Hmm, well