# SQLEye settings reference

> Every SQLEye setting with its default and allowed range, from slow query threshold, N+1 rules, buffer size, launch at login and theme.

Source: https://sqleye.com/docs/settings/ · Last updated: 2026-11-29 · Publisher: CodeROG (https://coderog.com)

Open Settings with `⌘,` (macOS) or `Ctrl+,`. Values are saved in `settings.json` in the [app data directory](/docs/instances/data-location/).

## What can I set?

| Setting | Key | Default | Allowed |
| --- | --- | --- | --- |
| Slow query threshold | `slowThresholdMs` | 100 ms | 1 to 600000 |
| N+1 minimum repeats | `nPlusOneMinRepeats` | 5 | 2 to 1000 |
| N+1 window | `nPlusOneWindowMs` | 1000 ms | 10 to 60000 |
| Buffer size | `bufferSize` | 50000 events | 1000 to 500000 |
| Launch at login | `launchAtLogin` | off | on or off |
| Theme | `theme` | `system` | `system`, `light`, `dark` |

## What do they mean?

- **Slow query threshold:** a query is slow when its duration is at least this value. See [slow queries](/docs/live-eye/slow-queries/).
- **N+1 minimum repeats and window:** how many times the same shape must repeat on one connection, within the window, with differing values. See [N+1 detection](/docs/live-eye/n-plus-one/).
- **Buffer size:** events kept in memory per instance. The dialog says 50,000 events is about 25 MB. Hard cap is 500,000.

> **Launch at login.**
When on, SQLEye opens at login and starts hidden in the tray. See [auto-start](/docs/instances/auto-start/).
