It seems like it should be possible and pretty easy to achieve both:

- if one queries for a specific note, it shouldn’t depend on their amount

- if one queries for the events of last 3 months - it should use fast and small “latest 3 month events” index

- if one queries for older events or for not specified time range - it will be slower but still working

Or are you talking about some other use case?

Reply to this note

Please Login to reply.

Discussion

Has to do with overall size of the db and my ability to scale horizontally vs vertically.