Skip to content

Ring buffer

A ring buffer is a fixed-size store that overwrites its oldest entries when full, keeping memory use bounded.

A ring buffer, or circular buffer, is a fixed-size store that overwrites its oldest entries once it is full. Memory use stays bounded no matter how long it runs, at the cost of forgetting old data.

SQLEye keeps the captured events of each instance in one. The default size is 50,000 events per instance, adjustable in Settings from 1,000 to 500,000; the Settings dialog estimates 50,000 events at about 25 MB. Clear on the Live screen empties it. Per-shape statistics are bounded too, at 10,000 shapes.

Because the buffer lives in memory, captured queries are gone when SQLEye restarts. Persisted query history is a planned feature, not part of the first release. See Settings and Privacy and data.

← Glossary · Also available as Markdown.

SQLEye is developed and maintained by CodeROG. This page is also available as Markdown.