Running a Dashboard
Opening a dashboard runs the query behind each tile and renders the results. The numbers you see reflect the latest execution, not a stored snapshot — except for a tile whose query has its result cache turned on: that tile shows the cached result until it expires.
How tiles execute
Each tile runs its own query against the connection it uses. Tiles render as soon as their data arrives, so a dashboard fills in tile-by-tile rather than waiting for everything at once.
Inside Kvery a tile loads for a viewer who can run its query as a member of the query's group, as their member tags allow. For other viewers the tile stays empty, unless the dashboard is shared: then the tile runs as it does on the shared link.
The expand icon of a tile shows it full screen; it is not offered on a shared dashboard opened in the Kvery mobile app.
Slow tiles
Some queries take longer to run. Each tile loads its result on its own, so the page stays usable while a slow tile finishes, and that tile fills in when its result arrives. One expensive query does not hold up the rest of the report.
Refreshing
Re-open or refresh the dashboard to re-run its tiles and pull current data. While the dashboard stays open, its tiles reload their data every 15 minutes. A scheduled run of a query does not change what a tile shows: the tile runs the query itself.
Tiles with inputs
If a tile's query uses form variables, the
dashboard can prompt for those values, letting viewers filter the report
themselves. The parameters of the dashboard's address are passed to every tile, so
?status=open on the dashboard's address fills the form variable status of each
tile (see Share URLs and embedding).
Tips
- Keep chart tiles backed by aggregated queries — they run faster and read better.
- Add
LIMITor aggregation to a tile whose query scans a lot of data. - Watch the group logs if a tile is consistently slow or failing.