# Bloated License Server Database

The most common reason for a bloated DB is the **QLM Event Log**.

The QLM License Server logs events that occur on the server. By default, it logs warnings and errors. If you have changed the default settings to log information or verbose messages, your DB will grow very quickly.

The fastest way to clear the event log is to run the following SQL commands on the server:

```sql
-- To get the count
SELECT COUNT(*) from EventLog

-- To clear the event log table
Truncate Table EventLog
```

To configure the License Server to log errors and warnings only:

* Launch the QLM Management Console
* Go to the Manage Keys tab
* Click Sites
* Go to the Advanced tab
* Set the Logging Level dropdown to **Warning**
* Click Apply
* Click OK


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.soraco.co/docs/faq/bloated-license-server-database.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
