Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TidSD-0007zt-ED for pgsql-admin@arkaria.postgresql.org; Wed, 12 Dec 2012 03:57:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TidSC-0004l9-GR for pgsql-admin@arkaria.postgresql.org; Wed, 12 Dec 2012 03:57:52 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TidSB-0004l2-5A for pgsql-admin@postgresql.org; Wed, 12 Dec 2012 03:57:51 +0000 Received: from mail-pb0-f47.google.com ([209.85.160.47]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TidS8-0004xZ-9o for pgsql-admin@postgresql.org; Wed, 12 Dec 2012 03:57:49 +0000 Received: by mail-pb0-f47.google.com with SMTP id un1so160530pbc.34 for ; Tue, 11 Dec 2012 19:57:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=xuCXtW/qbrSNQ6HVB+bKEB6LvF9eoJ3eGLncPlJzqFE=; b=kWocFpAwggcGVasPzKNbb+4y0AYevj6HuW+ijHq+MdCpoZXDZ2d13YuBeta60V0acG eRqlIqxASB3nLuWop1ETGq1IcO1bvRdIC9IZOK951uixOTSbGTL4s/wzbwHYYhcOEyqm zZquDadTI53Mgi2jNOW1XN0ysth6goOBKmbLe0+4rH1fCuJCIp5SpGApUxSpRngOzgvT VN8a024vnQVG1Rg2tsUMBsSOHwqbgu7aaWm4o8xJws7qwJNBSssuTG2aSKN6SKaItBdI 6r07kmz8SUhgl9lDRjVmc4sHnmlKMm2Z/2me7TbqWtA1H8rVd4TeOQo9G0xM8fCR5X+D 8KOA== Received: by 10.66.74.2 with SMTP id p2mr1660282pav.55.1355284667307; Tue, 11 Dec 2012 19:57:47 -0800 (PST) Received: from [192.168.1.9] ([116.226.40.101]) by mx.google.com with ESMTPS id ue7sm14865716pbc.53.2012.12.11.19.57.44 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 11 Dec 2012 19:57:46 -0800 (PST) Message-ID: <50C800B6.6060306@gmail.com> Date: Wed, 12 Dec 2012 11:57:42 +0800 From: Rural Hunter User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Sergey Konoplev CC: pgsql-admin Subject: Re: Massive table bloat References: <1355242268184-5736111.post@n5.nabble.com> <1355260487663-5736180.post@n5.nabble.com> <50C7FCAF.1080502@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -1.6 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org I do have psql installed. I'm on the db server. $ psql psql.bin (9.1.0) Type "help" for help. postgres=# \q $ ./pgcompactor -a -u DatabaseChooserError Can not find an adapter. at /loader/0x2539f18/PgToolkit/DatabaseChooser.pm line 63. 于 2012/12/12 11:46, Sergey Konoplev 写道: > On Tue, Dec 11, 2012 at 7:40 PM, Rural Hunter wrote: >> I downloaded pgtoolkit-v1.0beta3-fatscripts.tar.gz and tested it. I got >> error when trying this: >> ./pgcompactor -a -u >> DatabaseChooserError Can not find an adapter. at >> /loader/0x1c26f18/PgToolkit/DatabaseChooser.pm line 63. >> ./pgcompactor -d testdb -u >> DatabaseChooserError Can not find an adapter. at >> /loader/0x1156f50/PgToolkit/DatabaseChooser.pm line 63. > You need to have either psql or DBD::PgPP or DBD::Pg on your machine. > The last one is recommended. > >> 于 2012/12/12 5:27, Sergey Konoplev 写道: >> >>> On Tue, Dec 11, 2012 at 1:14 PM, Michael Sawyers wrote: >>>> Thanks for the tool suggestion. I already know that I will be refused >>>> permission to use it on a live db for the first run here, but I will be >>>> using this on several test machines that I am sure are bloated to prove >>>> the >>>> point and get this added into the standard toolkit here. >>> If you will have any feedback considering pgcompactor feel free to >>> write me directly. I am going to publish a new release in the nearest >>> days so I may include your issues in it. >>> >>> ps. I have been using this tool constantly on more than 40 DB servers >>> for more than a year so it is tested quite good. >>> >>> -- >>> Sergey Konoplev >>> Database and Software Architect >>> http://www.linkedin.com/in/grayhemp >>> >>> Phones: >>> USA +1 415 867 9984 >>> Russia, Moscow +7 901 903 0499 >>> Russia, Krasnodar +7 988 888 1979 >>> >>> Skype: gray-hemp >>> Jabber: gray.ru@gmail.com >>> >>> > > > -- > Sergey Konoplev > Database and Software Architect > http://www.linkedin.com/in/grayhemp > > Phones: > USA +1 415 867 9984 > Russia, Moscow +7 901 903 0499 > Russia, Krasnodar +7 988 888 1979 > > Skype: gray-hemp > Jabber: gray.ru@gmail.com > -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin