From: | Eduardo Bezerra <edubezval(at)gmail(dot)com> |
---|---|
To: | Alvaro Herrera <alvherre(at)surnet(dot)cl> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: btree information |
Date: | 2005-06-08 13:04:17 |
Message-ID: | a0580c51050608060485af316@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Sorry,
But, where can I find out this utility? Is it pg_dump?
2005/6/7, Alvaro Herrera <alvherre(at)surnet(dot)cl>:
>
> On Tue, Jun 07, 2005 at 01:36:56PM -0400, Eduardo Bezerra wrote:
> > hi all,
> > Someone can help me to find these data about btree index:
> > * height;
> > * maximum number of keys per block
> > * average number of keys per block
> > * number of leaf blocks
> > * average number of leaf blocks per total number of keys
> > * average number of data blocks per total number of keys
>
> I guess what I'd do is run pg_filedump in an btree index file to find
> out. Leaf pages are marked with the BTP_LEAF flag.
>
> Regarding the number of keys in a block, it's variable, depends on the
> size of the keys. You can find out for a particular index using
> pg_filedump too.
>
> --
> Alvaro Herrera (<alvherre[a]surnet.cl>)
> Jude: I wish humans laid eggs
> Ringlord: Why would you want humans to lay eggs?
> Jude: So I can eat them
>
--
Eduardo Bezerra Valentin
Bacharelado em Ciência da Computação - DCC - UFAM
Laboratório de VoIP - GRSD - UFAM
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2005-06-08 13:29:35 | Re: btree information |
Previous Message | Devrim GUNDUZ | 2005-06-08 12:11:49 | Re: [Newbie] RedHat 7.2 & Postgresql 8 |