# How to Optimize a Database via phpMyAdmin in cPanel

Optimizing your database can enhance its performance. Follow these steps:

* Log in to your **cPanel account**.
* In the **Databases** section, click on **phpMyAdmin**.

<figure><img src="/files/tqq7S8zEJi0VGNrcdspf" alt=""><figcaption></figcaption></figure>

* Click on the **Expand** icon from the navigation tree in the left sidebar.

<figure><img src="/files/xEDbXgCacKVDyVomX3lr" alt=""><figcaption></figcaption></figure>

* Scroll down, mark **Check All**, and select **Optimize tables** from the drop-down menu.

<figure><img src="/files/ZmAZOkpbZaDi3Xmmb5LR" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Your tables have been successfully optimized!
{% endhint %}


---

# 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.clouduxe.com/databases/how-to-optimize-a-database-via-phpmyadmin-in-cpanel.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.
