2016-06-21 03:06:44 -05:00
|
|
|
.. _resource_group_dialog:
|
2016-05-20 15:39:21 -05:00
|
|
|
|
2018-06-15 03:14:12 -05:00
|
|
|
******************************
|
|
|
|
`Resource Group Dialog`:index:
|
|
|
|
******************************
|
2016-05-24 07:47:35 -05:00
|
|
|
|
2019-03-08 09:29:05 -06:00
|
|
|
Use the *Resource Group* dialog to create a resource group and set values for
|
|
|
|
its resources. A resource group is a named, global group on which various
|
|
|
|
resource usage limits can be defined. The resource group is accessible from all
|
|
|
|
databases in the cluster. To use the *Resource Group* dialog, you must have
|
|
|
|
superuser privileges. Please note that resource groups are supported when
|
|
|
|
connected to EDB Postgres Advanced Server; for more information about using
|
|
|
|
resource groups, please see the EDB Postgres Advanced Server Guide, available
|
|
|
|
at:
|
2016-05-20 15:39:21 -05:00
|
|
|
|
|
|
|
http://www.enterprisedb.com/
|
|
|
|
|
2019-03-08 09:29:05 -06:00
|
|
|
Fields used to create a resource group are located on the *General* tab. The
|
|
|
|
*SQL* tab displays the SQL code generated by your selections on the *Resource
|
|
|
|
Group* dialog.
|
2016-05-20 15:39:21 -05:00
|
|
|
|
|
|
|
.. image:: images/resource_group_general.png
|
2018-01-11 10:58:30 -06:00
|
|
|
:alt: Resource Group dialog general tab
|
2019-03-08 09:29:05 -06:00
|
|
|
:align: center
|
2016-05-20 15:39:21 -05:00
|
|
|
|
2017-11-30 06:22:22 -06:00
|
|
|
Use the fields on the *General* tab to specify resource group attributes:
|
2016-05-20 15:39:21 -05:00
|
|
|
|
2019-03-08 09:29:05 -06:00
|
|
|
* Use the *Name* field to add a descriptive name for the resource group. This
|
|
|
|
name will be displayed in the tree control.
|
|
|
|
* Use the *CPU rate limit (%)* field to set the value of the CPU rate limit
|
|
|
|
resource type assigned to the resource group. The valid range for a CPU rate
|
|
|
|
limit is from 0 to 1.67772e+07. The default value is 0.
|
|
|
|
* Use the *Dirty rate limit (KB)* field to set the value of the dirty rate
|
|
|
|
limit resource type assigned to the resource group. The valid range for a
|
|
|
|
dirty rate limit is from 0 to 1.67772e+07. The default value is 0.
|
2016-05-20 15:39:21 -05:00
|
|
|
|
|
|
|
Click the *SQL* tab to continue.
|
|
|
|
|
2019-03-08 09:29:05 -06:00
|
|
|
Your entries in the *Resource Group* dialog generate a SQL command. Use the
|
|
|
|
*SQL* tab for review; revisit the *General* tab to make any changes to the SQL
|
|
|
|
command.
|
2016-05-24 07:47:35 -05:00
|
|
|
|
2019-03-08 09:29:05 -06:00
|
|
|
Example
|
|
|
|
*******
|
2016-05-24 07:47:35 -05:00
|
|
|
|
2019-03-08 09:29:05 -06:00
|
|
|
The following is an example of the sql command generated by selections made in
|
|
|
|
the *Resource Group* dialog:
|
2016-05-24 07:47:35 -05:00
|
|
|
|
2016-05-20 15:39:21 -05:00
|
|
|
.. image:: images/resource_group_sql.png
|
2018-01-11 10:58:30 -06:00
|
|
|
:alt: Resource Group dialog sql tab
|
2019-03-08 09:29:05 -06:00
|
|
|
:align: center
|
2016-05-20 15:39:21 -05:00
|
|
|
|
2019-03-08 09:29:05 -06:00
|
|
|
The example creates a resource group named *acctg* that sets *cpu_rate_limit*
|
|
|
|
to *2*, and *dirty_rate_limit* to *6144*.
|
2018-01-11 10:58:30 -06:00
|
|
|
|
|
|
|
* Click the Info button (*i*) to access online SQL syntax reference material.
|
|
|
|
* Click the Help button (*?*) to access online documentation about Resource Groups.
|
2016-05-20 15:39:21 -05:00
|
|
|
* Click the *Save* button to save work.
|
|
|
|
* Click the *Cancel* button to exit without saving work.
|
|
|
|
* Click the *Reset* button to restore configuration parameters.
|
|
|
|
|