5

Does anyone know how the multi column index is implemented in (B-Tree or whatever)?

is the key concatenated or it is something like the kd-tree?

1 Answer 1

5

Answer here: http://www.postgresql.org/docs/current/interactive/indexes-multicolumn.html

Sign up to request clarification or add additional context in comments.

1 Comment

This doesn't really answer the question.( which is why its not marked answered) The questioner is mostly concerned about how the implementation approach , eg. Rather than saying it can be done using a B-tree ( or minmax tree) , it would be helpful if you provided information about how keys are formed using multiple columns in such a way that they are ordered , so that a B-tree can be used.

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.