Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Yn7Av-00034G-O7 for pgsql-admin@arkaria.postgresql.org; Tue, 28 Apr 2015 15:11:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Yn7Av-0003n9-44 for pgsql-admin@arkaria.postgresql.org; Tue, 28 Apr 2015 15:11:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Yn7Au-0003n3-DI for pgsql-admin@postgresql.org; Tue, 28 Apr 2015 15:11:52 +0000 Received: from mailout.easymail.ca ([64.68.201.169]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Yn7Aq-0003TR-Jp for pgsql-admin@postgresql.org; Tue, 28 Apr 2015 15:11:51 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 83B64E3AD; Tue, 28 Apr 2015 11:11:46 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at mailout.easymail.ca X-Spam-Flag: NO X-Spam-Score: -3.914 X-Spam-Level: X-Spam-Status: No, score=-3.914 required=5 tests=[ALL_TRUSTED=-1.8, AWL=-0.207, BAYES_00=-2.599, DNS_FROM_AHBL_RHSBL=0.692] Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (easymail-mailout.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bafWDRUdMDQ6; Tue, 28 Apr 2015 11:11:44 -0400 (EDT) Received: from [192.168.2.16] (unknown [8.39.228.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id C5605E3A6; Tue, 28 Apr 2015 11:11:44 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: TR: Re: Postgres and multiprocessor? From: Scott Ribe In-Reply-To: Date: Tue, 28 Apr 2015 09:11:42 -0600 Cc: "pgsql-admin@postgresql.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Aissa BAMMOUNE IT X-Mailer: Apple Mail (2.2098) X-Pg-Spam-Score: -2.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 On Apr 28, 2015, at 5:00 AM, Aissa BAMMOUNE IT wro= te: >=20 > J=E2=80=99ai un PostgreSQL installer dans un serveur dell Xeon=C2=AE Proc= essor E5-2407 (10M Cache, 2.20 GHz), PostgreSQLutilise un c=C5=93ur de proc= esseur pour ces analyses et sa prendre plus de temps, il y a une possibilit= =C3=A9 que le PostgreSQL utilise les 4 c=C5=93urs =C3=A0 la place d=E2=80= =99un c=C5=93ur (notion de multiprocesseur). Also, have you checked to see whether your queries are CPU-bound or disk-bo= und? It=E2=80=99s really more common for disk to be the problem, and regard= less there may be tuning that could be done. Try EXPLAIN ANALYZE on the wor= st queries, then post that here, along with the schema, and notes about db = size, and tuning parameters from postgresql.conf. --=20 Scott Ribe scott_ribe@elevated-dev.com http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin