GridGain Developers Hub

Table Configuration

In GridGain 9, you can set up cluster-wide policies for how tables should be handles. Additionally, you can configure the properties of individual tables and indexes to improve performance under your load.

Generic Settings

Generic configuration settings are applied to all tables and indexes in the cluster. Below is the list of properties:

Property Default Description

gcThreads

16

Number of CPU threads dedicated to garbage collection.

globalIdCounter

0

Current global ID of the table. Incremented automatically when a new table is created.

lowWatermark.dataAvailabilityTime

2700000

The duration deleted data is kept in database, in milliseconds.

lowWatermark.updateFrequency

300000

Low watermark update frequency (in milliseconds).

Table Configuration

Table configuration parameters can be used to fine tune table parameters manually to improve performance.

Property Default Description

name

The name of the table.

tableId

1

The ID of the table.

zoneId

0

The ID of the distribution zone the table belongs to.

columns

The list of columns in the table.

primaryKey

The table’s primary key.

Index Configuration

Index configuration parameters can be used to fine tune index parameters manually to improve performance.

Property Default Description

type

The name of the index type.

id

Index ID.

name

Index name.

tableId

The ID of the table the index.