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

[QUESTION] Index Key Limit in mongo #1283

Closed
iariasleon opened this issue Sep 23, 2015 · 1 comment
Closed

[QUESTION] Index Key Limit in mongo #1283

iariasleon opened this issue Sep 23, 2015 · 1 comment
Labels
Milestone

Comments

@iariasleon
Copy link
Contributor

see http://docs.mongodb.org/v2.6/reference/limits/#indexes

in CB the primaries keys are compound by id, type and service-path.

About the reference, the limit is 1024 bytes (no chars), the service-path only could be 510 chars (in case of use special chars a few more), therefore, id and type together must be less than 500 bytes aprox.

What would be the maximum values for id and type with this limitation?

@iariasleon iariasleon added this to the 0.25.0 milestone Sep 23, 2015
@fgalan fgalan removed the question label Oct 1, 2015
@fgalan fgalan modified the milestones: 0.25.0, 0.26.0 Oct 14, 2015
@fgalan fgalan modified the milestones: 0.26.0, 0.27.0, 0.28.0 Oct 28, 2015
@fgalan fgalan modified the milestones: 0.28.0, 0.29.0 Dec 1, 2015
@fgalan fgalan modified the milestones: 0.29.0, 0.30.0 Feb 4, 2016
@fgalan
Copy link
Member

fgalan commented Mar 17, 2016

By the time being, I think that documentation provides that information. Thus, maybe this issue can be closed.

@fgalan fgalan modified the milestones: 1.0.0, 1.1.0 Mar 17, 2016
@fgalan fgalan closed this as completed Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants