5

I use GiST indexes pretty often, so I understand their performance characteristics and the API that they use and why you'd want one. What I don't understand is, under the covers, how exactly do they work? I'm looking for an explanation of the underlying data structures and algorithms behind it.

If I wanted to implement my own GiST index, how would I do that? Ideally I'd love to see sample code of a super-simple non-optimized version which I couldn't find anywhere on the web, since that would help me understand it best.

1 Answer 1

3

If I wanted to implement my own GiST index, how would I do that?

  1. Go to GiST homepage
  2. Read the papers
  3. Read the libgist source code with reference implementation of the Generalized Search Tree
  4. Check related software utilities to debug and visualize GiST index
  5. Design and develop our own better and improved implementation
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.