Dashboards tool allows DBAs and programmers to quickly identify performance, disk space issues, number of connections and other important KPIs associated with a single database connection. To learn more about database connections, see Database Connections.

By default, DBeaver is delivered with a number of predefined sets of dashboards for such data bases as PostgreSQL, MySQL, Oracle and Exasol. Custom dashboards are also supported. To learn more about custom dashboards, see Managing Dashboards section below.

Managing Dashboards Panel

Dashboards panel is a collection of real-time dashboards, that is dashboards that are continuously updated.Dashboards displayed on the dashboards panel are actually a combination of continiously run SQL SELECT queries and charts continiously built on the data fetched.

Opening Dashboard Panel

To open dashboards panel Open Dashboard button Dashboards, DB monitoring - 图1 in the main toolbar. The default configuration of the dashboards panel for the current database connection will appear. To learn more about database connections, see Database Connections.

You can also right-click a connection name in the Database Navigator editor and select Open Dashboard menu option or use keyboard shortcut Ctrl+Alt+Shift+B and the dashboards panel will be opened.

Dashboards, DB monitoring - 图2

The following controls are available in the dashboards panel toolbar:

IconNameDescription
Dashboards, DB monitoring - 图3SettingsAllows managing dashboards' configuration.
Dashboards, DB monitoring - 图4Add dashboardAllows to add dashboards to the dashboard panel.
Dashboards, DB monitoring - 图5Remove dashboardAllows to remove dashboards from the dashboard panel.
Dashboards, DB monitoring - 图6Reset dashboardsAllows to restart dashboard calculation.

Adding Dashboards

To add a dashboard to the dashboards panel, press Add dashboard button Dashboards, DB monitoring - 图7 in the dashboards panel's toolbar, choose one of the dashboards from the list of available dashboards and press Add button.

Dashboards, DB monitoring - 图8

Note: Different databases have different sets of predefined dashboards. DBeaver is delivered with sets of predefined dashboards for such databases as Postgress SQL, MySQL, Oracle, and Exasol. It is also possible to create new custom dashboards, for more details see Managing Dashboards.

You can also add a dashboard by right-click in any place of the dashboards panel and then select the Add dashboard menu option.

Dashboards, DB monitoring - 图9

Removing Dashboards

To remove a dashboard from the dashboards panel, click on the dashboard you want to remove and press button Remove dashboardDashboards, DB monitoring - 图10 in the dashboards panel toolbar or select Remove dashboard option in the dashboard's context menu.

Dashboards, DB monitoring - 图11

Resetting Dashboards

If you want to restart dashboard's calculation you can reset it.

You can reset all the dashboards displayed in the dashboards panel by a single click on Reset dashboardsDashboards, DB monitoring - 图12 button in the dashboard panel's toolbar.

To reset a particular dashboard right-click on it and select Reset dashboards menu option or left click a dashboard and press Reset dashboards button in the dashboards panel's toolbar.

Dashboards, DB monitoring - 图13

Changing Dashboard Representation

To adjust dashboard representation settings right click on a dashboard and select the Settings menu option, then, in the opened dialog change the parameters you want.

Dashboards, DB monitoring - 图14

The following dashboard representation parameters can be adjusted:

ParameterDescription
NameDefines a name of a dashboard.
DescriptionDefines dashboard's description. Use this field to make it easy to understand what kind of information the dashboard represents.
Update periods(ms)Defines how often dashboard's rendering should be updated. The default value is 1000 ms.
Maximum itemsDefines maximum number of fetched items. The default value is 300.
ViewDefines visual representation of the dashboard. The following options are available: Bar, Pie, Time series.
Show legendIf this check-box is selected, the legend will be displayed on the dashboard.
Show gridIf this check-box is selected, the grid will be displayed on the dashboard.
Show domain axisIf this check-box is selected, the domain axis will be displayed on the dashboard.
Show range axisIf this check-box is selected, the range axis will be displayed on the dashboard.

Adjusting Dashboard Configuration

To adjust dashboard's configuration settings right-click on a dashboard, select the Settings menu option, then, in the opened dialog box press the Configuration menu option.

Dashboards, DB monitoring - 图15

The following dashboard parameters can be configured:

ParameterDescription
IDDefines dashboard's ID. Make sure that ID has numeric values in it.
NameDefines dasboard's name.
DatabaseDefines the database driver. To learn moe about database drivers, see Database Drivers.
Data typeDefines the data type. The following options are availabe: timerseries (the default option) and statistics. Select timeseries type if you want to track the actual value returned by the server. Select statistics type if your dashboard will show historical data.
Calc typeDefines how the data should be calculated. The following options are available: value (the default option) and delta. Select value if you're interested in the current value. Select delta if you want to track the difference between the current value and the previous one. This may be very useful when you work with statistics data, for example.
Value typeDefines the value to be shown on the range domain. The following options are available: decimal (the default option), integer, percent, bytes. Choose the value type in accordance with your data, for example, memory usage is convinient to be tracked in KBytes.
IntervalDefines time interval to be shown on the domain axis. The following time intervals are available: millicecond(the default option), second, minute, hour, day, week, month, year.
Fetch typeDefines whether the query should fetch data from rows or columns.
DescriptionDefines the description of a dashboard. Use this field to make it easy to understand what kind of information the dashboard represents.
QueriesDefines an SQL query whose fetched data will be used to build the chart displayed on the dashboard.
Default viewDefines the default visual representation of a dashboard on the dashboard panel. The following options are available: Bar, Pie, Time series(the default option).
Update period(ms)Defines how often the dashboard's rendering should be updated.
Maximum itemsDefines maximum number of items to be fetched for the dashboard.

Note: Predefined dashboards are read-only and cannot be re-configured, but you can copy them and use as templates to create new dashboards with any query and other settings. To learn about creating new dashboards, see Managing Dashboards section.

Setting Connection Prefereces

By default, if there is no active connection to the database and you open its dashboards panel, all the dashboards on the panel will be empty.

You can force database connection on the dashboard panel's activation by pressing Settings button Dashboards, DB monitoring - 图16 on the dashboards panel's toolbar and then selecting the Connect on activation check-box.

Detaching Dashboards

If you have several monitors and would like to place a dashboard into a separate screen, you can either detach the whole dashboards panel or a single dashboard and drag-and-drop them to any place you want.

To detach the whole dashboard panel right click on the dashboard's tab name and select the Detachmenu option.

Dashboards, DB monitoring - 图17

To detach a single dashboard make a double left click over it. You can also right click the dashboard and then, select the View Dashboard menu option, the dashboard will be detached from the panel and you will be able to move it to any place of your screen.

Dashboards, DB monitoring - 图18

Changing Dashboard View

You can change the representation of a dashboard and view it as a Pie, Bar or Time series. To change the view of a dashboard, right click on it and select View as menu option.

Dashboards, DB monitoring - 图19

Copying Dashboards to Clipboard

To copy a dashboard into the clipboard, right click on the dashboard and use Copy to Clipboard menu option, the screenshot of the dashboard will be placed to the clipboard.

Dashboards, DB monitoring - 图20

Saving Dashboards

If you want to save a screenshot of a dashboard locally in PNG format, right click on it and select the Save as … option in the context menu displayed.

Dashboards, DB monitoring - 图21

Printing Dashboards

If you want to print out a screenshot of a dashboard, right-click the dashboard to be printed and select the Print… option.

Dashboards, DB monitoring - 图22

Zooming

For Time series and Bar dashboard representations the following zooming options are available in the dashboard's context menu:

  • Zoom In
  • Zoom Out
  • Zoom Reset
    Dashboards, DB monitoring - 图23

Managing Dashboards

You can extend the list of predefined default dashboards by creating your own custom dashboards. This section describes dashboards' list management.

Creating Dashboards

You can create a new custom dashboard either from scratch or from any of already existing dashboards.

To create a dashboard from scratch:

  • Press Settings button Dashboards, DB monitoring - 图24 in the dashboards panel toolbar.
  • In the opened dialog box click Manage… button.
  • In the Manage dashboards window click New dashboard… button.
  • Set up all configurational parameters as required and press OK. To learn more about dashboard's configuration parameters, see Adjusting Dashboard Configuration.
    Dashboards, DB monitoring - 图25

To create a dashboard from template:

  • Press Settings button Dashboards, DB monitoring - 图26 in the dashboards panel toolbar.
  • In the opened dialog box click Manage… button.
  • In the Manage dashboards window select any of the existing dashboards from the list and click Copy.
  • Adjust all configurational parameters as required and press OK. To learn more about dashboard's configuration parameters, see Adjusting Dashboard Configuration.
    Dashboards, DB monitoring - 图27

Editing Dashboards

If you need to change dashboard's name , ID or any other configurational setting, you can edit a dashboard.

Note: Only custom dashboards can be edited, predefined dashboards are read-only, but you can use them as templates and create a custom dashboard whose parameters will be editable. To learn how to create dashboards from templates, see Creating Dashboards.

To edit dashboard's configuration:

  • Press Settings button Dashboards, DB monitoring - 图28 in the dashboards panel toolbar.
  • In the opened dialog box click Manage… button.
  • In the Manage dashboards window select any of the custom dashboards from the list and click Edit….
  • Adjust all configurational parameters as required and press OK. To learn more about dashboard's configuration parameters, see Adjusting Dashboard Configuration.
    Dashboards, DB monitoring - 图29

Deleting Dashboards

Note: Predefined dashboards cannot be deleted, but any of the custom dashboards can be deleted.

If you want to delete a dashboard, follow the steps described below.

To delete a dashboard:

  • Press Settings button Dashboards, DB monitoring - 图30 in the dashboards panel toolbar.
  • In the opened dialog box click Manage… dashboards.
  • In the Manage dashboards window select any of the custom dashboards from the list and click Delete.
    Dashboards, DB monitoring - 图31