How to change a regions type
search cancel

How to change a regions type

book

Article ID: 294054

calendar_today

Updated On:

Products

VMware Tanzu Gemfire

Issue/Introduction

The purpose of this article is to describe how to change the type of an existing region. This article applies to GemFire 6.0 and later

There are no gfsh commands to change a regions type. With alter region, a lot of the attributes of a region can be changed but not the type.


Resolution

To change an existing regions type several steps are needed as follows:

  1. Using gfsh export, export the data from the region
  2. Drop the region
  3. Create a new region with the new type and the same name
  4. Use gfsh import to import the data from the initial region in step 1.


Additional Information

Applies to

GemFire 6 and later