Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ciZY6-0007Zi-0N for pgsql-admin@arkaria.postgresql.org; Tue, 28 Feb 2017 04:38:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ciZY5-0002AW-Cw for pgsql-admin@arkaria.postgresql.org; Tue, 28 Feb 2017 04:38:05 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ciZY4-0002AI-Vb; Tue, 28 Feb 2017 04:38:05 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ciZY2-0002GT-JE; Tue, 28 Feb 2017 04:38:03 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v1S4bp7I018580; Mon, 27 Feb 2017 23:37:52 -0500 From: Tom Lane To: "downey.deng@postgresdata.com" cc: pgsql-admin , pgsql-general Subject: Re: cpu hight sy% usage In-reply-to: <2017022723135372857425@postgresdata.com> References: <2017022723135372857425@postgresdata.com> Comments: In-reply-to "downey.deng@postgresdata.com" message dated "Mon, 27 Feb 2017 23:13:54 +0800" Date: Mon, 27 Feb 2017 23:37:49 -0500 Message-ID: <1474.1488256669@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 "downey.deng@postgresdata.com" writes: > i have PostgreSQL 9.5.3 server running on redhalt 6.6 > when i run one query with pgbench the cpu is 80% and sy% is 60% If you were to provide a self-contained test case, people might take some interest in this ... but nobody is going to spend time guessing at all the details you didn't supply. https://www.postgresql.org/docs/current/static/bug-reporting.html https://wiki.postgresql.org/wiki/Slow_Query_Questions regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin