

 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://aws.amazon.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/). 

# STL\$1USAGE\$1CONTROL
<a name="r_STL_USAGE_CONTROL"></a>

The STL\$1USAGE\$1CONTROL view contains information that is logged when a usage limit is reached. For more information about usage limits, see [Managing Usage Limits](https://docs.aws.amazon.com/redshift/latest/mgmt/managing-cluster-usage-limits.html) in the *Amazon Redshift Management Guide*. 

STL\$1USAGE\$1CONTROL 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
<a name="r_STL_USAGE_CONTROL-table-columns"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/redshift/latest/dg/r_STL_USAGE_CONTROL.html)

## Sample query
<a name="r_STL_USAGE_CONTROL-sample-queries"></a>

The following SQL example returns some of the information logged when a usage limit is reached. 

```
select query, pid, eventtime, feature_type
from stl_usage_control
order by eventtime desc
limit 5;
```