<commit_before>---
title: Migrating PXF from Greenplum 5
---

If you are using PXF in your Greenplum Database 5 installation, upgrade Greenplum Database to version **5.21.2** or newer before you migrate PXF to Greenplum Database **6.10.1** or newer.

The PXF Greenplum Database 5 to 6 migration procedure has two parts. You perform one PXF procedure in your Greenplum Database 5 installation, then install, configure, and migrate data to Greenplum 6:

-   [Step 1: Complete PXF Greenplum Database 5 Pre-Migration Actions](#pxf5pre)
-   [Step 2: Migrate PXF to Greenplum Database 6](#pxfmig)


## <a id="prerequisites"></a>Prerequisites

Before migrating PXF from Greenplum 5 to Greenplum 6, ensure that you can:

- Identify the version number of your Greenplum 5 installation. If it is older than 5.21.2, upgrade to a newer 5.x version.
- Identify the version of PXF running in the Greenplum 5 cluster.
- Identify the location of your PXF installation:
<commit_msg>Added note to PXF migration from GPDB 5 (#12264)<commit_after>---
title: Migrating PXF from Greenplum 5
---

If you are using PXF in your Greenplum Database 5 installation, upgrade Greenplum Database to version **5.21.2** or newer before you migrate PXF to Greenplum Database **6.10.1** or newer.

The PXF Greenplum Database 5 to 6 migration procedure has two parts. You perform one PXF procedure in your Greenplum Database 5 installation, then install, configure, and migrate data to Greenplum 6:

-   [Step 1: Complete PXF Greenplum Database 5 Pre-Migration Actions](#pxf5pre)
-   [Step 2: Migrate PXF to Greenplum Database 6](#pxfmig)


## <a id="prerequisites"></a>Prerequisites

Before migrating PXF from Greenplum 5 to Greenplum 6, ensure that you can:

- Identify your OS Version. Greenplum Database 6 does not support running PXF on CentOS 6.x or RHEL 6.x due to a limitation with the version of `cURL`. See [Known Issues and Limitations](https://gpdb.docs.pivotal.io/latest/relnotes/release-notes.html) for more details.
- Identify the version number of your Greenplum 5 installation. If it is older than 5.21.2, upgrade to a newer 5.x version.
- Identify the version of PXF running in the Greenplum 5 cluster.
- Identify the location of your PXF installation:

{'fraction_non_alphanumeric': 0.07158836689038031, 'fraction_numerical': 0.029082774049217, 'mean_word_length': 4.261176470588235, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5928016', 'n_tokens_mistral': 739, 'n_tokens_neox': 670, 'n_words': 321}