System
===========

Drivers
-------------

``Drivers`` pane lists all installed ``JDBC`` drivers.

Libraries ``Jaybird 5 Driver``, ``Jaybird 6 Driver`` are installed in RDBExpert by default, 
that allows to work with Firebird and Red Database.

.. figure:: img/drivers.png

    Drivers

To add a new driver, click on ``Add Driver`` button and fill in all fields. 
See :ref:`driver` section for detailed description of the fields.

.. figure:: img/new_driver.png

    Adding driver
 
Application log
-------------------

Log records all information that is output to the standard output stream, errors and warnings. 
Output level can be set in Settings to limit the information contained in the log.

System output log is stored in ``$HOME/.RDBExpert/logs``. 
and can be opened with any text editor, but can also be viewed with RDBExpert.

Heap memory status
-------------------

RDBExpert allows monitoring current memory usage and running gubbish collection.

.. figure:: img/memory.png

    Heap memory status

Preferences
----------------------

Select ``System`` :math:`\to` ``Preferences`` menu item to configure the application.

.. note:: 

    Almost all changes take effect when RDBExpert is restarted.

.. figure:: img/settings.png

    Preferences

See :ref:`settings` appendix for a detailed description of settings.

Portability of settings
~~~~~~~~~~~~~~~~~~~~~~~~~~

To store RDBExpert and its settings in the same folder, follow the steps below:

#. Close the programme;
#. In  ``RDBExpert/config/launcher.conf`` file. specify  ``app.settings.directory=.rdbexpert`` and save the changes.
   
   * if no path is specified for the ``app.settings.directory`` parameter, the settings will be stored in the path ``$HOME/.rdbexpert``;
   * relative path for the ``app.settings.directory`` parameter is determined relative to the file ``/directory c RDBExpert/rdbexpert.jar``.

#. Move the ``.rdbexpert`` folder to the root of the directory where RDBExpert is installed;
#. Run RDBExpert.



