Skip to content

Commit 70f249b

Browse files
committed
Applying review suggestions.
1 parent 4afdbfe commit 70f249b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/d1/observability/metrics-analytics.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Run `wrangler d1 insights --help` to view current options.
158158
| ------------------ | ---------------------------------------------------------------------------------------------------------------- |
159159
| `--timePeriod` | Fetch data from now to the provided time period (default: `1d`). |
160160
| `--sort-type` | The operation you want to sort insights by. Select between `sum` and `avg` (default: `sum`). |
161-
| `sort-by` | The field you want to sort insights by. Select between `time`, `reads`, `writes`, and `count` (default: `time`). |
161+
| `--sort-by` | The field you want to sort insights by. Select between `time`, `reads`, `writes`, and `count` (default: `time`). |
162162
| `--sort-direction` | The sort direction. Select between `ASC` and `DESC` (default: `DESC`). |
163163
| `--json` | A boolean value to specify whether to return the result as clean JSON (default: `false`). |
164164
| `--limit` | The maximum number of queries to be fetched. |
@@ -320,7 +320,7 @@ npx wrangler d1 insights <database_name> --sort-type=sum --sort-by=writes --limi
320320
</Details>
321321

322322
:::note
323-
The quantity `queryEfficiency` measures how efficient your query was. It is calculated as "the number of rows returned, divided by the number of rows read".
323+
The quantity `queryEfficiency` measures how efficient your query was. It is calculated as: the number of rows returned divided by the number of rows read.
324324

325325
Generally, you should try to get `queryEfficiency` as close to `1` as possible. Refer to [Use indexes](/d1/best-practices/use-indexes/) for more information on efficient querying.
326326
:::

0 commit comments

Comments
 (0)