# Upgrade Database

<div align="left"><figure><img src="/files/1wAmUngf4ivtquVxyrOh" alt=""><figcaption></figcaption></figure></div>

HollaEx Kit provides a straightforward way to upgrade the PostgreSQL database to the latest version. Running a simple command will allow you to upgrade your DB to a newer version with improved security and performance. It is always a good practice to keep your DB up-to-date.

## How-to

{% hint style="info" %}
The database upgrade command is supported by HollaEx CLI v2.8.1+
{% endhint %}

{% hint style="success" %}
The latest confirmed PSQL DB version is **14**.
{% endhint %}

```
hollaex toolbox --upgrade-psql-db-version 14
```

The command above will upgrade your local PSQL DB to v14 while automatically migrating all the DB data.\
Please keep in mind that the exchange will get restarted while the DB is getting upgraded.


---

# 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.hollaex.com/advanced/database/upgrade-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.
