DEV Community

Discussion on: A slightly closer look at MongoDB 5.0 time series collections - Part 1

Collapse
 
alexbevi profile image
Alex Bevilacqua

I haven’t found any indication in the current official documentation about this "magic constant" of limiting buckets to 1000 entries.

The limits look to have been set in SERVER-52526. For 5.0 it appears the bucket limits are either 1000 measurements or 125KB (see timeseries.idl)

Collapse
 
hpgrahsl profile image
Hans-Peter Grahsl

Thanks Alex for the links. Really appreciated. I'd think it would be helpful to state the current bucket limits explicitly in the docs, too.