You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by Mario Ivanac <ma...@est.tech> on 2020/02/19 09:35:57 UTC

Question about Hash Indexes

Hi geode dev,

could you help us with some questions regarding Hash Indexes:

  1.  Why are Hash Indexes deprecated?
  2.  Are there any plans in the future for there removal?

Thanks,
Mario

Odg: Question about Hash Indexes

Posted by Mario Ivanac <ma...@est.tech>.
Thanks for clarification.
________________________________
Šalje: Jason Huynh <jh...@pivotal.io>
Poslano: 19. veljače 2020. 18:05
Prima: geode <de...@geode.apache.org>
Predmet: Re: Question about Hash Indexes

Hi Mario,

From my understanding:
1.) The Hash Index was implemented unlike a traditional hash index, instead
it is more of a memory saving index that uses hashing to not store keys.
When the backing data structure needs to expand, it needs to rehash a lot
of data and this can be detrimental at runtime.
2.) It's been deprecated so I don't see a reason why it wouldn't be removed
in the future...
2b.) I think a true traditional hash index would be good to have in the
project and maybe we would be able to un-deprecate it instead...

Thanks,
-Jason

On Wed, Feb 19, 2020 at 1:36 AM Mario Ivanac <ma...@est.tech> wrote:

> Hi geode dev,
>
> could you help us with some questions regarding Hash Indexes:
>
>   1.  Why are Hash Indexes deprecated?
>   2.  Are there any plans in the future for there removal?
>
> Thanks,
> Mario
>

Re: Question about Hash Indexes

Posted by Jason Huynh <jh...@pivotal.io>.
Hi Mario,

From my understanding:
1.) The Hash Index was implemented unlike a traditional hash index, instead
it is more of a memory saving index that uses hashing to not store keys.
When the backing data structure needs to expand, it needs to rehash a lot
of data and this can be detrimental at runtime.
2.) It's been deprecated so I don't see a reason why it wouldn't be removed
in the future...
2b.) I think a true traditional hash index would be good to have in the
project and maybe we would be able to un-deprecate it instead...

Thanks,
-Jason

On Wed, Feb 19, 2020 at 1:36 AM Mario Ivanac <ma...@est.tech> wrote:

> Hi geode dev,
>
> could you help us with some questions regarding Hash Indexes:
>
>   1.  Why are Hash Indexes deprecated?
>   2.  Are there any plans in the future for there removal?
>
> Thanks,
> Mario
>