Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bb1cd-0007kG-63 for pgsql-performance@arkaria.postgresql.org; Sat, 20 Aug 2016 08:27:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bb1cc-0001RI-9Y for pgsql-performance@arkaria.postgresql.org; Sat, 20 Aug 2016 08:27:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bb1cb-0001Qa-8c for pgsql-performance@postgresql.org; Sat, 20 Aug 2016 08:27:17 +0000 Received: from md-in-15.webhostbox.net ([103.21.59.21]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bb1cX-0000Qd-Os for pgsql-performance@postgresql.org; Sat, 20 Aug 2016 08:27:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ipathsolutions.co.in; s=default; h=Message-ID:Subject:To:From:Date: Content-Transfer-Encoding:Content-Type:MIME-Version; bh=ikP50uHAe212M3Djfg4DPWRQsr+Dp4WJfG1N00VmHQ0=; b=ik1cs84IAt0dtrex4GK0HNANfE j8tQ3a/xegyAyrAS6uHZIs+9twrE/r9RF6x6tQxqrGm6Eb2WEH9ZbnDDEmqDApuKGlKPSlU1EJCSW len8oums5g813GoqmMmyvwjwk9CQZzwrv+vZzcyl3GmzQp+aT0+Eeflml2OqCfbbYu8ZQZvxJ/BoU MsatKk9jJfmz8eBlLk68iOssfFbiLZ3TKPEyEJX+gxi8PBtZXNS/DnN98Du0t7HnBdi5G60tIZbpK SmjE6AX77LLZZVsTTuqtDD0u5N95ladJ8OcwfrtkXIlBHVUO8FV6tWPyCKilKHY1gzkw0DctYEz7C XSNh/1PA==; Received: from [127.0.0.1] (port=38295 helo=ipathsolutions.co.in) by md-in-15.webhostbox.net with esmtpa (Exim 4.86_1) (envelope-from ) id 1bb1cT-000VhL-Cz for pgsql-performance@postgresql.org; Sat, 20 Aug 2016 08:27:09 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 20 Aug 2016 08:27:09 +0000 From: debasis.moharana@ipathsolutions.co.in To: pgsql-performance@postgresql.org Subject: pgsql-performance issue Message-ID: X-Sender: debasis.moharana@ipathsolutions.co.in User-Agent: Roundcube Webmail/1.0.6 X-Authenticated_sender: debasis.moharana@ipathsolutions.co.in X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - md-in-15.webhostbox.net X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - ipathsolutions.co.in X-Get-Message-Sender-Via: md-in-15.webhostbox.net: authenticated_id: debasis.moharana@ipathsolutions.co.in X-Authenticated-Sender: md-in-15.webhostbox.net: debasis.moharana@ipathsolutions.co.in X-Source: X-Source-Args: X-Source-Dir: X-Pg-Spam-Score: -0.0 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org On 2016-08-20 08:21, pgsql-performance-owner@postgresql.org wrote: > Welcome to the pgsql-performance mailing list! > Your password at PostgreSQL Mailing Lists is > > x8DiA6 > > To leave this mailing list, send the following command in the body > of a message to majordomo@postgresql.org: > > approve x8DiA6 unsubscribe pgsql-performance > debasis.moharana@ipathsolutions.co.in > > This command will work even if your address changes. For that reason, > among others, it is important that you keep a copy of this message. > > To post a message to the mailing list, send it to > pgsql-performance@postgresql.org > > If you need help or have questions about the mailing list, please > contact the people who manage the list by sending a message to > pgsql-performance-owner@postgresql.org > > You can manage your subscription by visiting the following WWW > location: > > Dear Sir/Mam, I have a PostgreSQL 9.5 instance running on Windows 8 machine with 4GB of RAM.This server is mainly used for inserting/updating large amounts of data via copy/insert/update commands, and seldom for running select queries. Here are the relevant configuration parameters I changed: max_connections = 100 shared_buffers = 512MB effective_cache_size = 3GB work_mem = 12233kB maintenance_work_mem = 256MB min_wal_size = 1GB max_wal_size = 2GB checkpoint_completion_target = 0.7 wal_buffers = 16MB default_statistics_target = 100 After setting in postgresql.conf. I run the select query to fetch large amount of record of 29000 in postgresql but it takes 10.3 seconds but the same query takes 2 seconds for execution in MSSQL. So my query is how to improve the perfermance in postgresql. Regards, Debasis Moharana .NET Software Developer -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance