Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify whether we can get rid of max value length by maintaining value length in value of index put #21

Open
chrajeshbabu opened this issue Aug 21, 2013 · 3 comments

Comments

@chrajeshbabu
Copy link
Member

No description provided.

@anoopsjohn
Copy link

By using a known separator we can avoid the max value length. A 0 byte can be used as separator provided this will never come in the actual column data.

@chrajeshbabu
Copy link
Member Author

I will try this Anoop.

@anoopsjohn
Copy link

We can use 2 bytes (each 0 bytes) as separator. I believe that is good enough. In arbitrary column index, we no longer use max col value length and max index name length. We use separator there. Similar way we can handle other old cases also.

Old index data compatibility is one issue. The new way breaks old data compatibility. May be we will need some sort of tool which can convert old data to new format (?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants