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

Add index on model History for property collectionId automatic #521

Closed
ManAnRuck opened this issue Aug 31, 2018 · 0 comments
Closed

Add index on model History for property collectionId automatic #521

ManAnRuck opened this issue Aug 31, 2018 · 0 comments

Comments

@ManAnRuck
Copy link
Member

ManAnRuck commented Aug 31, 2018

🐛 Bugreport

big performance issue on getting bioUpdateAt
mimani/mongoose-diff-history#32

App-Version & Environment

Bundestag.io server

Woraround

use bundestagio
db.getCollection('histories').createIndex({collectionId: 1})
db.getCollection('histories').reIndex()
@ManAnRuck ManAnRuck added this to the MVP milestone Aug 31, 2018
@ulfgebhardt ulfgebhardt modified the milestones: MVP, Dream Sep 20, 2018
@ManAnRuck ManAnRuck modified the milestones: Ideas, Coming Soon Oct 16, 2018
@ulfgebhardt ulfgebhardt removed this from the Coming Soon milestone Aug 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants