Pivotal Knowledge Base

Follow

How to change a regions type

Applies to

GemFire 6 and later

Purpose

The purpose of this article is to describe how to change the type of an existing region.

Description

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

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)

Comments

Powered by Zendesk