X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id A8C65D1C4CB for ; Thu, 7 Aug 2003 07:42:06 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 44128-10 for ; Thu, 7 Aug 2003 04:40:44 -0300 (ADT) Received: from fw.wubn.net (unknown [213.156.64.226]) by svr1.postgresql.org (Postfix) with ESMTP id 28FE9D1C4BD for ; Thu, 7 Aug 2003 04:41:53 -0300 (ADT) Received: from (172.24.4.34) by fw.wubn.net (8.12.9/8.11.3) with ESMTP id h777fTPt043742 for ; Thu, 7 Aug 2003 10:41:34 +0300 (EEST) (envelope-from yamazurak@Lviv.Bank.Gov.UA) Received: from (172.24.4.57) by MTA (8.11.5/8.11.2) with ESMTP id h777fTf06858 for ; Thu, 7 Aug 2003 10:41:29 +0300 Message-ID: <3F32029D.6080704@lviv.bank.gov.ua> Date: Thu, 07 Aug 2003 10:41:17 +0300 From: Yaroslav Mazurak Organization: National Bank of Ukraine Lviv OU User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: uk, ru, en-us, en MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: PostgreSQL performance problem -> tuning References: <3F30AF9E.2080607@lviv.bank.gov.ua> <200308061030.36610.dev@archonet.com> <3F30F7CF.6090900@lviv.bank.gov.ua> <1624.1060193807@sss.pgh.pa.us> In-Reply-To: <1624.1060193807@sss.pgh.pa.us> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/127 X-Sequence-Number: 2944 Hi All! Tom Lane wrote: > Yaroslav Mazurak writes: >>>>fsync = false >>>I'd turn fsync back on - unless you don't mind losing your data after a crash. >> This is temporary performance solution - I want get SELECT query result >>first, but current performance is too low. > Disabling fsync will not help SELECT performance one bit. It would only > affect transactions that modify the database. Fixed. But at this moment primary tasks are *get result* (1st) from SELECT in *reasonable* time (2nd). :) > regards, tom lane With best regards Yaroslav Mazurak.