blob: 04d0d7f875944ad9bd026796795b5f296d8ff931 [file] [log] [blame]
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
= Table Configuration
In Ignite 3, 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:
[cols="1,1,3",opts="header", stripes=none]
|===
|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.
[cols="1,1,3",opts="header", stripes=none]
|===
|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.
[cols="1,1,3",opts="header", stripes=none]
|===
|Property|Default|Description
|type||The name of the index type.
|id||Index ID.
|name||Index name.
|tableId||The ID of the table the index.
|===