11---
2- title : Query inspection
2+ title : Query History
33permalink : /cloud/inspecting-queries
44category : Workspace
55menuOrder : 4
66---
77
8- The Queries page in Cube Cloud is a one-stop shop for all performance and
9- diagnostic information about queries issued for a deployment. It is kept
8+ The Query History screen in Cube Cloud is a one-stop shop for all performance
9+ and diagnostic information about queries issued for a deployment. It is kept
1010up-to-date in real time and provides a quick way to check whether queries are
1111being accelerated with [ pre-aggregations] [ ref-caching-gs-preaggs ] , how long they
1212took to execute, and if they failed.
1313
14- <Screenshot src = " https://ucarecdn.com/44bb6d8d-5943-4978-8b15-73e1e43fd988/" />
14+ <SuccessBox >
15+
16+ Query History is available in Cube Cloud on
17+ [ all tiers] ( https://cube.dev/pricing ) .
18+
19+ </SuccessBox >
20+
21+ <Screenshot src = " https://ucarecdn.com/951a2a64-bc9b-4277-b2fe-4cc88dbf4f49/" />
1522
1623## Setting the time range
1724
@@ -22,25 +29,25 @@ a time period:
2229
2330<Screenshot
2431 highlight = " inset(15% 1% 60% 21% round 10px)"
25- src = " https://ucarecdn.com/691e7cfa-e7fd-4df1-8cfa-f8f0d74634f6 /"
32+ src = " https://ucarecdn.com/393dfa47-033d-421b-87ce-fcf5617ac1c8 /"
2633/>
2734
2835To go back to live mode, click <Btn >▶</Btn >:
2936
3037<Screenshot
3138 highlight = " inset(15% 6% 79% 88% round 10px)"
32- src = " https://ucarecdn.com/691e7cfa-e7fd-4df1-8cfa-f8f0d74634f6 /"
39+ src = " https://ucarecdn.com/393dfa47-033d-421b-87ce-fcf5617ac1c8 /"
3340/>
3441
3542## Exploring queries
3643
37- You can switch between [ queries made to the API] ( #api-queries ) and
38- [ queries made to connected data sources] ( #database-queries ) by switching between
39- the <Btn >API</Btn > and <Btn >Database</Btn > tabs.
44+ You can switch between [ queries made to the API] ( #inspecting- api-queries ) and
45+ [ queries made to connected data sources] ( #inspecting- database-queries ) by
46+ switching between the <Btn >API</Btn > and <Btn >Database</Btn > tabs.
4047
4148<Screenshot
42- highlight = " inset(22% 64 % 70% 20 % round 10px)"
43- src = " https://ucarecdn.com/44bb6d8d-5943-4978-8b15-73e1e43fd988 /"
49+ highlight = " inset(22% 79 % 70% 7 % round 10px)"
50+ src = " https://ucarecdn.com/951a2a64-bc9b-4277-b2fe-4cc88dbf4f49 /"
4451/>
4552
4653### <--{"id" : " API and Database" }--> All Queries and Top Queries
@@ -50,8 +57,8 @@ while <Btn>Top Queries</Btn> will show the most-frequently executed
5057queries:
5158
5259<Screenshot
53- highlight = " inset(30% 50 % 64% 20 % round 10px)"
54- src = " https://ucarecdn.com/44bb6d8d-5943-4978-8b15-73e1e43fd988 /"
60+ highlight = " inset(30% 65 % 64% 7 % round 10px)"
61+ src = " https://ucarecdn.com/951a2a64-bc9b-4277-b2fe-4cc88dbf4f49 /"
5562/>
5663
5764### <--{"id" : " API and Database" }--> Filtering
@@ -61,8 +68,8 @@ duration, cache status, whether the query was accelerated, and by failing
6168queries:
6269
6370<Screenshot
64- highlight = " inset(36% 8 % 58% 20 % round 10px)"
65- src = " https://ucarecdn.com/44bb6d8d-5943-4978-8b15-73e1e43fd988 /"
71+ highlight = " inset(36% 22 % 58% 7 % round 10px)"
72+ src = " https://ucarecdn.com/951a2a64-bc9b-4277-b2fe-4cc88dbf4f49 /"
6673/>
6774
6875## Inspecting API Queries
@@ -162,9 +169,9 @@ and stacktrace:
162169<Screenshot src = " https://ucarecdn.com/efd45e3a-8b44-4ee9-9f9e-284f0fd8eb96/" />
163170
164171Errors here generally indicate a problem with querying the data source. The
165- generated SQL query can be copied from the
166- <Btn >[ Query] ( #inspecting-database-queries-query ) </Btn > tab and run directly
167- against your data source to debug the issue.
172+ generated SQL query can be copied from
173+ the & nbsp ; <Btn >[ Query] ( #inspecting-database-queries-query ) </Btn > tab and run
174+ directly against your data source to debug the issue.
168175
169176### <--{"id" : " Inspecting Database Queries" }--> Events
170177
0 commit comments