Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dthWL-0007Ig-C5 for pgsql-performance@arkaria.postgresql.org; Sun, 17 Sep 2017 21:54:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dthWK-0007Nx-QL for pgsql-performance@arkaria.postgresql.org; Sun, 17 Sep 2017 21:54:32 +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 1dthUY-0004Il-OW for pgsql-performance@postgresql.org; Sun, 17 Sep 2017 21:52:42 +0000 Received: from mail-yw0-x233.google.com ([2607:f8b0:4002:c05::233]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dthUV-0006Jo-L2 for pgsql-performance@postgresql.org; Sun, 17 Sep 2017 21:52:42 +0000 Received: by mail-yw0-x233.google.com with SMTP id x131so4073535ywa.10 for ; Sun, 17 Sep 2017 14:52:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=AAUvdbGSiZb9WSZpAKiDPLuBfWFZ+/SUY0SWglQhydY=; b=mLH5mOrXLZm5tT/axAUEkOwHEjaJ1D8z0vSCigib0kkMNWH17w0QIIruU4TMhhMxN1 H7vRtLMPHCEOuOs5cJoMBZrYoktY0tfdqHW4pQpsDAOCb6WI+eQhBGBVyQQl/+iLAFfQ QRUVjuF63dbJnCkTeC2161wfR753bDFA/dGPaZ8sE5uUqFQJn3uGgiNVYkBGWh85cwts kSztQVp9kNBKgkieAxiawaqLg5ssu5Q4a2rqhGmrK9Xu5PIBI0kpfMAum9eImApfWAPU Y6JNleVZarpCvfmtDFiNLiPH5iQ7S5Y7YjzX0PAJk45HTcyamBaU80JYNLIz2cs6D9WX mlCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=AAUvdbGSiZb9WSZpAKiDPLuBfWFZ+/SUY0SWglQhydY=; b=QFe+I2GIqaHU3f4paCJAMss3ofex8Y3SS4y0YlotFgAHJcw1yk9wdcOC42ShqxxCcr rYoSrXZiJKCPRVaRFexPgXYY1yXULwYHsgOhW8yP8Ax1GRYgUSVGSgug/U4qojq6V9x+ I8vJr8uBrbEJAW3/OdRO64LS5JegsNcIew946URqzs4odxOZewLtvQ4AiqKafn6FFFeB 8lksNnUHn5vDmOEvTHtyCXuJwjgnXFG/bgsRW2TOhw9dOu5A1TjuEzrmj9BmEvB+7S9h 2FMIETXZ2csjrSUqw3Dllo8kZp0strZcpYTx2ljEqjDdtcHL8W9ioahbBTW2G2pl9B9r Ijkg== X-Gm-Message-State: AHPjjUgilGRrH2VR4Rugf8ZKLDAOadLqtHpFg/Tr+Pepxnm47q5IxfoC e8e8bS1e0hhbL7xTw6ALIqM1nc30vuFd/NPj/37yrA== X-Google-Smtp-Source: AOwi7QArt5BAZ8ekxTeAuwIE7eMhH7LmqQNHcZLz4jqUm9hHXgUVxShuh/4GsE8JiIRfoUwjllSyUW12AOiRpoDPry8= X-Received: by 10.37.188.129 with SMTP id e1mr26864842ybk.139.1505685157498; Sun, 17 Sep 2017 14:52:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.175.81 with HTTP; Sun, 17 Sep 2017 14:52:37 -0700 (PDT) From: Neto pr Date: Sun, 17 Sep 2017 18:52:37 -0300 Message-ID: Subject: Pageinspect bt_metap help To: pgsql-performance@postgresql.org Content-Type: multipart/alternative; boundary="089e08267de8f4d3eb055969a461" 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 --089e08267de8f4d3eb055969a461 Content-Type: text/plain; charset="UTF-8" Hello All I am using Postgresql extension pageinspect. Could someone tell me the meaning of these columns: magic, version, root, level, fastroot, fastlevel of the bt_metap function. This information is not presents in the documentation. The height of the b-tree (position of node farthest from root to leaf), is the column Level? See below a return query that I ran on an index called idx_l_shipmodelineitem000 ------------------------------------------------------------------ postgres # SELECT * FROM bt_metap ('idx_l_shipmodelineitem000'); postgres # magic | version | root | level | fastroot | fastlevel postgres # 340322 | 2 | 41827 | 3 | 41827 | 3 Best regards Neto --089e08267de8f4d3eb055969a461 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello All

I am usin= g Postgresql extension pageinspect.

Could someone tell = me the meaning of these columns: magic, version, root, level, fastroot, fas= tlevel of the bt_metap function.

This information is not pres= ents in the documentation.

The height of the b-tree (pos= ition of node farthest from root to leaf), is the column Level?
<= br>
See below a return query that I ran on an index called idx_l_= shipmodelineitem000

------------------------------= ------------------------------------
postgres # SELECT * FROM bt_= metap ('idx_l_shipmodelineitem000');
postgres # magic=C2= =A0 | version=C2=A0 | root=C2=A0 =C2=A0 =C2=A0| level | fastroot | fastl= evel
postgres # 340322=C2=A0 | 2=C2=A0 | 41827 | 3=C2=A0 =C2= =A0 =C2=A0 =C2=A0| 41827=C2=A0 =C2=A0| 3

Best rega= rds
Neto=C2=A0


--089e08267de8f4d3eb055969a461--