Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 42D80BEAE5C for ; Wed, 25 Jul 2012 15:37:37 -0300 (ADT) Received: from exprod8og116.obsmtp.com ([64.18.3.32]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Su6Sj-0007Ph-Gj for pgsql-admin@postgresql.org; Wed, 25 Jul 2012 18:37:36 +0000 Received: from mail-gg0-f172.google.com ([209.85.161.172]) (using TLSv1) by exprod8ob116.postini.com ([64.18.7.12]) with SMTP ID DSNKUBA83sqnyDdscp+7Fhh20mHBrwmOUMcd@postini.com; Wed, 25 Jul 2012 11:37:33 PDT Received: by ggnc4 with SMTP id c4so1054674ggn.3 for ; Wed, 25 Jul 2012 11:37:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=zc+j49vYjOA4i2ALi+u59jMAeRUTQImQfVDCSc46V5Y=; b=n5bhJdehUYgqDMBwg8YwjYziJEDimf1P6IY18ghFr/wZaaS77g2HWkx5a092VmdliR UVtMMbdYAXZCJs2bBWDqLl5giF+GkGmUOSmKEU5DX1v03juW8TC76Y26GiqoQYLsqinz yqWPO9qdoqGpr0C3ovCWWMIN/3TVI6V79RBk2K8E75cRL6NXj9Zfj/wkZBl8A1z89Z6g icCG+IT+CO+rE0UF4FYS5Y+m0wuqyJEDMUN82PrNZYYaJUzEeuTBbfw/m71FKS29JR8l MMrc6/TmcQhEdb3xjR2TB/NC8whjyDcr159QzdfD/w5fvsH/iC7fRrkJ64FWq6s6hk5G P0XA== MIME-Version: 1.0 Received: by 10.236.182.71 with SMTP id n47mr2802449yhm.60.1343241438214; Wed, 25 Jul 2012 11:37:18 -0700 (PDT) Received: by 10.100.99.10 with HTTP; Wed, 25 Jul 2012 11:37:18 -0700 (PDT) In-Reply-To: <500EDE55.9060409@commandprompt.com> References: <500DC4BB.2090102@commandprompt.com> <500EDE55.9060409@commandprompt.com> Date: Wed, 25 Jul 2012 14:37:18 -0400 Message-ID: Subject: Re: db size growing out of control when using clustered Jackrabbit From: Gary Webster To: pgsql-admin@postgresql.org Cc: "Joshua D. Drake" Content-Type: multipart/alternative; boundary=20cf30426fcec5bc7804c5abc415 X-Gm-Message-State: ALoCoQmdmK37zw7aZMzIP7I91Bk5CIG046xKXohqaOQDNqMq8ktVqbK1xOx2IuzSOjPknCSBCWqd X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201207/77 X-Sequence-Number: 39794 --20cf30426fcec5bc7804c5abc415 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Jul 24, 2012 at 1:41 PM, Joshua D. Drake wrote: > > On 07/24/2012 08:58 AM, Gary Webster wrote: > >> Hello. >> Thanks for the response. >> >> There are several 'idle in transaction' on this server/app, but to a >> different db/schema. >> > > This is a cluster issue, not a database issue. So if you have an idnle in > transaction, then it is affecting your JCR schema as well. > OK, how do I track/debug/stop the "idle in transaction"s ? > The "repository" (JCR) schema has only a few 'idle', none 'in >> transaction' . >> > > >> By "routine maintenance", do you mean autovacuum, or something else? >> > > I mean autovacuum. > > I was hoping to find more of a 'root cause' (eg. jackrabbit config) for this issue. I can't believe that this table is supposed to be getting so big, to even require much vacuuming. > > > Autovacuum does appear to usually get 'auto-canceled' by a lock. >> > > That is a problem too. > > OK, I am trying to find out why this is happening. > However, even when it runs successfully, it doesn't seem to help with >> this ws_bundle Toast table size. >> > > It won't if you have the above idle in transactions, regardless of > database. > > Sincerely, > > jD > > > -- > Command Prompt, Inc. - http://www.commandprompt.com/ > PostgreSQL Support, Training, Professional Services and Development > High Availability, Oracle Conversion, Postgres-XC > @cmdpromptinc - 509-416-6579 > --20cf30426fcec5bc7804c5abc415 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Tue, Jul 24, 2012 at 1:41 PM, Joshua D. D= rake <jd@commandprompt.com> wrote:

On 07/24/2012 08:58 AM, Gary Webster wrote:
Hello.
Thanks for the response.

There are several 'idle in transaction' on this server/app, but to = a
different db/schema.

This is a cluster issue, not a database issue. So if you have an idnle in t= ransaction, then it is affecting your JCR schema as well.
=A0
OK, how do I track/debug/stop the "idle in transa= ction"s ?
=A0
The "repository" (JCR) schema has only a few 'idle', none= 'in transaction' .


By "routine maintenance", do you mean autovacuum, or something el= se?

I mean autovacuum.

I was hopin= g to find more of a 'root cause' (eg. jackrabbit config) for this i= ssue.
I can't believe that this table is supposed to be getting so b= ig, to even require much vacuuming.


Autovacuum does appear to usually get 'auto-canceled' by a lock.

That is a problem too.

OK, I am trying to find out why this is happening.=A0
However, even when it runs successfully, it doesn't seem to help with this ws_bundle Toast table size.

It won't if you have the above idle in transactions, regardless of data= base.

Sincerely,

jD


--
Command Prompt, Inc. - http://www.commandprompt.com/
PostgreSQL Support, Training, Professional Services and Development
High Availability, Oracle Conversion, Postgres-XC
@cmdpromptinc - 509-416-6579

--20cf30426fcec5bc7804c5abc415--