> ## Documentation Index
> Fetch the complete documentation index at: https://ngquct-feat-import-remembered-column-mapping.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Data Settings

> Data grid, pagination, query result cap, JSON viewer, and query history

Browsing a table pages 1,000 rows at a time, and a query that returns more than 10,000 rows stops there. Both numbers, and the rest of what the grid does before you touch anything, are on **Settings > Data**.

The tab is app-wide, so these values apply to every connection you open; filters, column widths, and the sort you clicked are remembered per table instead. Grid fonts are per-theme, on the theme's Fonts tab under [Appearance](/customization/appearance).

<Frame caption="The Data tab in Settings">
  <img className="block dark:hidden" src="https://mintcdn.com/ngquct-feat-import-remembered-column-mapping/lIfthycv3fqpHaQR/images/settings-data.png?fit=max&auto=format&n=lIfthycv3fqpHaQR&q=85&s=8e7878747f98f762c747463a2e933991" alt="Data settings tab" width="1560" height="960" data-path="images/settings-data.png" />

  <img className="hidden dark:block" src="https://mintcdn.com/ngquct-feat-import-remembered-column-mapping/lIfthycv3fqpHaQR/images/settings-data-dark.png?fit=max&auto=format&n=lIfthycv3fqpHaQR&q=85&s=52a3abe2c8f9a1cf123d1fa3d058a30e" alt="Data settings tab" width="1560" height="960" data-path="images/settings-data-dark.png" />
</Frame>

## Data Grid

| Setting | Default | Notes |
| - | - | - |
| Row height | Normal | Compact, Normal, Comfortable, Spacious |
| Date format | ISO 8601 | ISO 8601, ISO Date, US Long, US Short, EU Long, EU Short. Sub-second digits and a UTC offset stored with the value are printed wherever the format renders a time, as the server wrote them: `2024-12-31 23:59:59.123456+07`. A value stored without an offset, such as a MySQL `DATETIME`, never gains one, and a fraction of nothing but zeros is not printed |
| NULL display | `NULL` | Text shown for NULL cells, up to 20 characters |
| Show alternate row backgrounds | On | |
| Show row numbers | On | |
| Auto-show inspector on row select | Off | Opens the inspector on selecting a row, in a query result as well as a table. A pane you left on the assistant stays on it |
| Smart value detection | On | Reads id-like binary columns as UUIDs, timestamp-named integer columns as dates, and binary columns holding UTF-8 as text. Override per column with Display As, see [Cell and Row Viewers](/features/json-viewer) |
| Default row sort | No sorting (engine order) | Or Primary key, First column. Applied when a table first opens; clicking a column header overrides it |
| Sort direction | Ascending | Or Descending. Sets the default row sort's direction and which way the first click on a column header sorts |

## Pagination

| Setting | Default | Options |
| - | - | - |
| Default page size | 1,000 rows | 100, 500, 1,000, 5,000, 10,000 |
| Count rows if estimate less than | 100,000 | 1,000; 10,000; 100,000; 1,000,000; Always count |

Tables with more estimated rows than the threshold show an approximate count instead of running a slow `COUNT(*)`.

## Query result row cap

| Setting | Default | Options |
| - | - | - |
| Truncate query results | On | |
| Row cap | 10,000 | 100; 1,000; 5,000; 10,000; 50,000; 100,000; 500,000 |

The cap limits the rows read back, not the statement: your SQL reaches the server exactly as you typed it, and a query carrying its own `LIMIT` is untouched. What a capped result offers instead is in [Query Results](/features/query-results#the-row-cap).

## JSON Viewer

| Setting | Default | Options |
| - | - | - |
| Default view | Text | Text, Tree |

Switching modes inside the viewer writes the choice back to this setting. See [JSON Viewer](/features/json-viewer).

## Query History

| Setting | Default | Description |
| - | - | - |
| **Maximum entries** | 10,000 | 100 to 10,000, or Unlimited |
| **Keep entries for** | 90 days | 7 days to 1 year, or Forever |
| **Auto cleanup** | On | Applies the two limits in this table. Turn it off and nothing is pruned. |
| **Clear History…** | - | Wipe all history, for every connection, after confirmation. Also clears the saved changes below. |

To clear only what you are looking at, use the trash button in the history drawer instead: it respects the drawer's connection scope and date range.

## Data Rewind

Starter license. What a row held before a save is kept here, so [Restore Previous Values](/features/change-tracking#restoring-a-save) has something to put back.

| Setting | Default | Description |
| - | - | - |
| **Keep saved changes for restoring** | On | Off stops the capture. Saves made while it is off cannot be restored later. |
| **Clear Saved Changes…** | - | Delete everything kept, for every connection, after confirmation |

Values are stored encrypted on this Mac, for 7 days, and never leave it. A save is dropped early when it is over 32 MB in total, or when its table already has 50 newer ones.
