

 Amazon Redshift will no longer support the creation of new Python UDFs starting Patch 198. Existing Python UDFs will continue to function until June 30, 2026. For more information, see the [ blog post ](https://amazonaws-china.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/). 

# STV\$1WLM\$1QMR\$1CONFIG
STV\$1WLM\$1QMR\$1CONFIG

Records the configuration for WLM query monitoring rules (QMR). For more information, see [WLM query monitoring rules](cm-c-wlm-query-monitoring-rules.md).

STV\$1WLM\$1QMR\$1CONFIG is visible only to superusers. For more information, see [Visibility of data in system tables and views](cm_chap_system-tables.md#c_visibility-of-data).

## Table columns
Table columns

[\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/en_us/redshift/latest/dg/r_STV_WLM_QMR_CONFIG.html)

## Sample query
Sample query

To view the QMR rule definitions for all service classes greater than 5 (which includes user-defined queues), run the following query. For a list of service class IDs, see [WLM service class IDs](cm-c-wlm-system-tables-and-views.md#wlm-service-class-ids).

```
Select *
from stv_wlm_qmr_config
where service_class > 5
order by service_class;
```