
What Is Qlik PostgreSQL Installer (QPI) Tool?
Backup, Upgrade, and Recover Qlik Sense
Overview
The answer to the question of the lesson is that QPI tool is a tool that Qlik built to help upgrade bundled PostgreSQL server and convert it to a standalone PostgreSQL. In this lesson, we’ll dive deeper and:
Review the two PostgreSQL installation options in the context of upgrading PostgreSQL.
See where QPI tool fits in.
Learn how to tell if you have a bundled or standalone installation of PostgreSQL.
And see where to go to find and download the QPI tool.
Let’s get started!
3
POINTS
3
TAKEAWAYS
MED
COMPLEXITY
01. Upgrading Bundled vs. Standalone PostgreSQL
You and I have a couple of options when it comes to installing a Qlik Sense server and PostgreSQL database. The options are:
Install Qlik Sense bundled with PostgreSQL server.
Install standalone PostgreSQL server and then, separately, install Qlik Sense and configure it to use the standalone server.
If your Qlik Sense server is using bundled installation of PostgreSQL, then upgrading PostgreSQL becomes quite a hustle. With bundled installation of PostgreSQL, it’s easy to end up having a new version of Qlik Sense running on outdated and unsupported PostgreSQL database. This happens because when we upgrade Qlik Sense, the upgrade process doesn’t upgrade bundled PostgreSQL. The result is Qlik Sense server gets newer and newer while PostgreSQL remains on the same, old version.
Standalone version of PostgreSQL offers more flexibility and control over keeping PostgreSQL updated. The QPI tool, therefore, was created to help us upgrade and unbundle PostgreSQL.
At high level, QPI tool is used to upgrade PostgreSQL to a newer version, convert PostgreSQL to standalone installation, and copy contents of old version of PostgreSQL from bundled to the new, standalone installation of PostgreSQL.
02. How To Tell if PostgreSQL Installation is Bundled or Standalone?
Bundled
Most reliable way is to launch Services app and see if you have Qlik Sense Repository Database service installed and running:

If you have Qlik Sense Repository Database service installed and running, that is a sign that your Qlik Sense server is using bundled PostgreSQL database. This means that you likely are able to use QPI tool to upgrade and unbundle PostgreSQL server. I say “likely” because there are several other requirements for using the QPI tool. We’ll take a look at those in the next lesson.
Standalone
When a standalone PostgreSQL database is used, Qlik Sense Repository Database service is not installed. Instead, you will see a postgresql-x64-## service running:

If you see a service with a name that starts with postgresql-x64, that means that your Qlik Sense server is using a standalone installation of PostgreSQL. In this case, the QPI tool is not useful because it only works on bundled installations of PostgreSQL.
03. Where to Find QPI Tool
There are couple of places where QPI tool can be downloaded. Best place to go is to Qlik’s Downloads page. Alternatively, you may also find the QPI tool setup file on GitHub. We’ll go through a process of downloading and running QPI tool in the next lesson.
Guide
Summary
Key Takeaways
QPI tool upgrades and converts PostgreSQL into standalone installation.
QPI tool is only useful on Qlik Sense environments that use bundled installation of PostgreSQL.
If your Qlik Sense server is already using standalone installation of PostgreSQL, there’s nothing for QPI tool to do.
You can tell whether your Qlik Sense is using bundled version of PostgreSQL by checking Services app and looking for a service named Qlik Sense Repository Database.
If Qlik Sense Repository Database service is present and running, that means that your Qlik Sense server is using a bundled installation of PostgreSQL.
If you don’t see the service named Qlik Sense Repository Database and instead see service named postgresql-x64-##, that means that your Qlik Sense server is using standalone installation of PostgreSQL.
Assuming that your Qlik Sense is using a bundled installation of PostgreSQL, next we’ll learn the process for using QPI tool to upgrade and convert PostgreSQL to a standalone installation.
If your Qlik Sense server is already using a standalone version of PostgreSQL, you can skip the next lesson and instead jump to Standalone PostgreSQL Upgrade Overview lesson.
References
Up Next
Bundled PostgreSQL Upgrade Overview
Copyright © 2023 howdash LLC



