Skip to content

Commit

Permalink
Update query-history.mdx
Browse files Browse the repository at this point in the history
The "Top Queries" definition was incorrect as learned in a Q&A with Artyom and Pavel. I also added the information about the 100 query limit.
  • Loading branch information
morgan-at-cube authored Feb 7, 2024
1 parent 5480978 commit 3be5105
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pages/product/workspace/query-history.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ switching between the <Btn>API</Btn> and <Btn>Database</Btn> tabs.
### All queries and top queries

Clicking <Btn>All Queries</Btn> will show all queries in order of recency,
while <Btn>Top Queries</Btn> will show the most-frequently executed queries:
while <Btn>Top Queries</Btn> will show the queries with the largest total duration (hits * avg duration) in the selected time frame. Both results are limited to 100 unique queries.

<Screenshot
highlight="inset(30% 65% 64% 7% round 10px)"
Expand Down Expand Up @@ -207,4 +207,4 @@ while the query is in the query execution queue:
[ref-deployment-refresh-worker]: /product/deployment#refresh-worker
[ref-workspace-sqlrunner]: /product/workspace/sql-runner
[ref-query-format]: /product/apis-integrations/rest-api/query-format
[ref-cache-types]: /product/caching#cache-type
[ref-cache-types]: /product/caching#cache-type

0 comments on commit 3be5105

Please sign in to comment.