Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VHuNc-00012N-VO for pgsql-hackers@arkaria.postgresql.org; Fri, 06 Sep 2013 11:39:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VHuNc-0005tC-F5 for pgsql-hackers@arkaria.postgresql.org; Fri, 06 Sep 2013 11:39:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VHuNb-0005t4-JO for pgsql-hackers@postgresql.org; Fri, 06 Sep 2013 11:39:11 +0000 Received: from moutng.kundenserver.de ([212.227.17.8]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VHuNV-0002Mh-5o for pgsql-hackers@postgresql.org; Fri, 06 Sep 2013 11:39:11 +0000 Received: from [192.168.11.106] (62.175.246.114.static.riosat.com [62.175.246.114]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0LoKJV-1Vsrt41nK5-00gpgU; Fri, 06 Sep 2013 13:39:00 +0200 Message-ID: <5229BED0.5070506@2ndQuadrant.com> Date: Fri, 06 Sep 2013 13:38:56 +0200 From: Hannu Krosing Organization: 2ndQuadrant Nordic =?ISO-8859-1?Q?O=DC?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130804 Thunderbird/17.0.8 MIME-Version: 1.0 To: Dimitri Fontaine CC: Alvaro Herrera , Bruce Momjian , Robert Haas , Peter Geoghegan , Tom Lane , Andrew Dunstan , PostgreSQL-development Subject: Re: [PERFORM] encouraging index-only scans References: <15321.1355347953@sss.pgh.pa.us> <50C90154.8060103@dunslane.net> <50C904DB.9090305@dunslane.net> <20121213024837.GB22363@momjian.us> <23298.1355370698@sss.pgh.pa.us> <20130904205655.GR21874@momjian.us> <20130906001437.GA29264@momjian.us> <20130906020043.GH27195@momjian.us> <20130906052236.GF6067@eldon.alvh.no-ip.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Provags-ID: V02:K0:DHXT2Nc0J70no7cbHuFm5hqf27DeCHOykQ/7Zv8shBp CIPtIBK4zF/DUlHZMSukAsAF7c+i+6lN2DjnNmDp1kExD16/hH yc53mkrYftIiAFZIyk7odfwz1pDZY1cSPTLpes+ZVs2RW9v1BY LJTD5D5MiCD+D7xpZ5Ao5LgJZwOoTtx0NBvcB3unQRSHxkFreB UZ3bB1yxPDgKqdntcfsear3sbqT6/RdUht6ttjOJFVi7RppRXK 0zFDqDQyDa98smBIE4lNXhyewr/MAaRhBM+1DFd9X1aXok3fK1 NYPKmBKw9jPD/zCu/dF6wNuHOd+4Z04gHuC8BLlmUgXC80xCPH xgFcmLUou6uW35Yz62TSz4iH5JjMBzRfZlUgum2eE X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 09/06/2013 09:23 AM, Dimitri Fontaine wrote: > Alvaro Herrera writes: >> I'm not sure if we need to expose all these new maintenance actions as >> SQL commands. > I strongly think we should, if only for diagnostic purposes. It would be much easier and more flexible to expose them as pg_*() function calls, not proper "commands". > Also to > adapt to some well defined workloads that the automatic system is not > designed to handle. +1 -- Hannu Krosing PostgreSQL Consultant Performance, Scalability and High Availability 2ndQuadrant Nordic OÜ -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers