Mode

A stricter synchronization mode lowers the chance that the database is corrupted in case of a crash or power failure. The memory journaling mode can also corrupt the database.

General Information

Domain

TcHmiSqliteHistorize

Full symbol path

TcHmiSqliteHistorize.Config::mode

Property is hidden

Yes

Contained in every configuration by default

No

Schema

Enumeration type

integer

Default value

3

Options

Value

Label

0

Synchronous extra, journal mode persist

1

Synchronous full, journal mode persist

2

Synchronous full, journal mode memory

3

Synchronous normal, journal mode persist

4

Synchronous off, journal mode persist

5

Synchronous off, journal mode memory

JSON Schema

{
    "configDescription": "descMode",
    "default": 3,
    "enum": [
        0,
        1,
        2,
        3,
        4,
        5
    ],
    "hidden": true,
    "options": [
        {
            "label": "ENUM_SYNCHRONOUS_EXTRA_PERSIST",
            "value": 0
        },
        {
            "label": "ENUM_SYNCHRONOUS_FULL_PERSIST",
            "value": 1
        },
        {
            "label": "ENUM_SYNCHRONOUS_FULL_MEMORY",
            "value": 2
        },
        {
            "label": "ENUM_SYNCHRONOUS_NORMAL_PERSIST",
            "value": 3
        },
        {
            "label": "ENUM_SYNCHRONOUS_OFF_PERSIST",
            "value": 4
        },
        {
            "label": "ENUM_SYNCHRONOUS_OFF_MEMORY",
            "value": 5
        }
    ],
    "propertyOrder": 7,
    "type": "integer"
}