Search code examples
gridgain

Is there a way to change the partition backup parameter in Gridgain cache?


I have below table in gridgain.

CREATE TABLE CUSTOMER(....) WITH "template=partitioned,backups=1"

I would like to increase the parameter backups=1 --> backups=3. Is there a command to change it?


Solution

  • No, the backup factor can't be changed without table re-creation.

    As a workaround, you can create a new table with BACKUPS=3, copy the data from the old table to the new one, and after that drop the old table.