Re: [HACKERS] why is gist index taking so much space on the disc

2005-11-21 Thread Oleg Bartunov
On Mon, 21 Nov 2005, Martijn van Oosterhout wrote: On Mon, Nov 21, 2005 at 08:14:44PM +0100, Grzegorz Jaskiewicz wrote: You mean you sometimes put the same elements in the two halves? You shouldn't do that. The whole point is that the search will descend any node that matches consistant, but an

Re: [HACKERS] why is gist index taking so much space on the disc

2005-11-21 Thread Martijn van Oosterhout
On Mon, Nov 21, 2005 at 08:14:44PM +0100, Grzegorz Jaskiewicz wrote: > >You mean you sometimes put the same elements in the two halves? You > >shouldn't do that. The whole point is that the search will descend any > >node that matches consistant, but any single key should only appear > >once in eac

Re: [HACKERS] why is gist index taking so much space on the disc

2005-11-21 Thread Martijn van Oosterhout
On Mon, Nov 21, 2005 at 04:58:25PM +0100, Grzegorz Jaskiewicz wrote: > my conquers with Gist index for custom type are nearly finished. It > is working as it is now, but there are few problems here and there. > One of em, being amount of disc space index it self takes. The type > stucture it se

Re: [HACKERS] why is gist index taking so much space on the disc

2005-11-21 Thread Teodor Sigaev
So final question, what should I do to make that index much smaller on the disc. Tune your penalty and picksplit function. Gevel module can help you to look inside of index ( http://www.sai.msu.su/~megera/postgres/gist/gevel ). Usially, index becomes big when picksplit works bad: during spli

Re: [HACKERS] why is gist index taking so much space on the disc

2005-11-21 Thread Kevin McArthur
Grzegorz Jaskiewicz" <[EMAIL PROTECTED]> To: Sent: Monday, November 21, 2005 7:58 AM Subject: [HACKERS] why is gist index taking so much space on the disc Hi folks my conquers with Gist index for custom type are nearly finished. It is working as it is now, but there are few problems her

Re: [HACKERS] why is gist index taking so much space on the disc

2005-11-21 Thread Grzegorz Jaskiewicz
On 2005-11-21, at 19:32, Martijn van Oosterhout wrote: On Mon, Nov 21, 2005 at 04:58:25PM +0100, Grzegorz Jaskiewicz wrote: my conquers with Gist index for custom type are nearly finished. It is working as it is now, but there are few problems here and there. One of em, being amount of disc sp

[HACKERS] why is gist index taking so much space on the disc

2005-11-21 Thread Grzegorz Jaskiewicz
Hi folks my conquers with Gist index for custom type are nearly finished. It is working as it is now, but there are few problems here and there. One of em, being amount of disc space index it self takes. The type stucture it self takes 160bytes. Adding 100.000 rows into table - CREATE TABLE