Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqJyJ-0007xE-8w for pgsql-performance@arkaria.postgresql.org; Fri, 08 Sep 2017 14:09:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dqJyI-0006G8-NO for pgsql-performance@arkaria.postgresql.org; Fri, 08 Sep 2017 14:09:26 +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 1dqJwX-0001kS-1k for pgsql-performance@postgresql.org; Fri, 08 Sep 2017 14:07:37 +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 1dqJwU-0007d4-Il for pgsql-performance@postgresql.org; Fri, 08 Sep 2017 14:07:35 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v88E7UgB019230; Fri, 8 Sep 2017 10:07:30 -0400 From: Tom Lane To: Neto pr cc: Igor Neyman , "pgsql-performance@postgresql.org" Subject: Re: Explain Analyze - actual time in loops In-reply-to: References: <15789.1504878289@sss.pgh.pa.us> Comments: In-reply-to Neto pr message dated "Fri, 08 Sep 2017 07:02:37 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <19228.1504879650.1@sss.pgh.pa.us> Date: Fri, 08 Sep 2017 10:07:30 -0400 Message-ID: <19229.1504879650@sss.pgh.pa.us> 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 Neto pr writes: > I need to know the height of a B-tree index (level of the leaf node > farthest from the root). pageinspect's bt_metap() will give you that --- it's the "level" field, I believe. regards, tom lane -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance