Skip to content

configure mongo indexes #114

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

Open
mblakele opened this issue Sep 25, 2014 · 0 comments
Open

configure mongo indexes #114

mblakele opened this issue Sep 25, 2014 · 0 comments

Comments

@mblakele
Copy link
Contributor

As the database grows larger, indexes help keep some of the queries lively. In the long run it would be nice if leselys configured these automatically. Meanwhile it's easy enough to set them up manually.

I think these are a good start:

$ mongo
use leselys
db.feeds.ensureIndex({feed_id:"hashed"})
db.feeds.ensureIndex({guid:"hashed"})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant