> ## Documentation Index
> Fetch the complete documentation index at: https://ngquct-fix-customizable-find-shortcut.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-fix-customizable-find-shortcut/GYIGfx97cTn41Qvn/images/settings-data.png?fit=max&auto=format&n=GYIGfx97cTn41Qvn&q=85&s=10bd1c6321c57a5f695e2bfb7f099a46" alt="Data settings tab" width="1560" height="960" data-path="images/settings-data.png" />

  <img className="hidden dark:block" src="https://mintcdn.com/ngquct-fix-customizable-find-shortcut/GYIGfx97cTn41Qvn/images/settings-data-dark.png?fit=max&auto=format&n=GYIGfx97cTn41Qvn&q=85&s=20369dbb669848689fb68237216d12f0" 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                                                                                                   |
| 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 row details inspector when you select a row                                                                                                      |
| Smart value detection             | On                        | Renders UUID, Unix timestamp, JSON, and PHP serialized columns in readable form. Override per column with Display As, see [Data Grid](/features/data-grid) |
| Default row sort                  | No sorting (engine order) | Or Primary key, First column. Applied when a table first opens; clicking a column header overrides it                                                      |

## 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.
