Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page Properties
hiddentrue
idDONE

Product Version2020 Winter
Report Note
AssigneeAntje

Resources & Remarks

Modification History

NameDateProduct VersionAction
Antje08 FEB 20212020 WinterNew page properties macro.
JaR29 SEP 2021yMwA5new command style
Antje21 FEB 20212022 Winteragain new command style



Excerpt

Turn on/off the simulation mode for the reindexing command.

...

ParameterDescriptionExample
-s | --simulation

Turns the simulation mode on (parameter  is true - parameter is set) or off (false - parameter is not set).

After starting the Commander service and after a non-simulation reindexing process, the simulation mode is set to on automatically.

dbs-configure --simulation

true automatically.

dbs-configure --simulation
-c | --cockroach

Turns cockroach-db on/off. If cockroach-db is turned on (true - parameter is set), command rename will do updates on database without SELECT FOR UPDATE

The parameter is optional, default is false.

dbs-configure -s -c
-f | --fulltext

Turns full-text index on/off.

The parameter is optional, default is ff (false).

dbs-configure -s -f

Lt. Commander>dbs-configure -s -c -f
Running dbs-configure setting values simulation('true'), cockroach('true'), fulltext('true')
Lt. Commander>dbs-configure -s -f
Running dbs-configure setting values simulation('true'), cockroach('false'), fulltext('true')
simulation mode is [true]


The following example code shows the commands together with the corresponding command line outputs for a non-simulation reindexing. The simulation mode is turned off in line 725. In line 1828, the reindexing is executed for the default tenant starting from 2017 2020-01-01 and  and ending on 20172022-1201-3101.

Code Block
languagepowershell
linenumberstrue
Lt. Commander>help dbs-configure


NAME
        dbs-configure - configure timeouts

SYNOPSYS
        dbs-configure [-s]  [-c]  [-f]

OPTIONS
        -s or --simulation
                turn simulation mode on/off
                [Optional, default = false]

        -c or --cockroach
                Sturn cockroach-db  on/off. If cockroach-db is turned 'on', command 'rename' will do updates on database without 'SELECT FOR UPDATE'
                [Optional, default = false]

        -f or --fulltext
                turn fulltext index  on/off.
                [Optional, default = false]



Lt. Commander>dbs-configure --simulation
simulation mode is [true]
 
Lt. Commander>help dbs-reindex

NAME
        dbs-reindex - reindex all dmsObject from database
SYNOPSYS
        dbs-reindex [[-t] string]  [[-s] string]  [[-e] string]
OPTIONS
        -t or --tenant  string
                specify tenant
                [Optional, default = ]

        -s or --start-date  string
                Set start date. e.g.: -s 2019-01-21
                [Optional, default = ]

        -e or --end-date  string
                Set end date. e.g.: --end-date=2020-01-21
                [Optional, default = ]
 
f
Running dbs-configure setting values simulation('false'), cockroach('false'), fulltext('true')
SessionState(simulation=false, reindexing=false, cockroach=false, fulltext=true)
Lt. Commander>dbs-reindex -t default -s 20172020-01-01 -e 2022-end-date=2017-12-31
tenant[default]  start-date[2017-01-01] endDate[2017-12-31]
getting stats
....01-01
Running dbs-reindex for 'default' from '2020-01-01' to '2022-01-01'


Info
iconfalse

Read on

Section


Column
width25%

Audit Trail - an "Object's History"

Insert excerpt
Audit Trail - an "Object's History"
Audit Trail - an "Object's History"
nopaneltrue
 Keep reading


Column
width25%

/wiki/spaces/YMY/pages/320050357

Insert excerpt
COMMANDER Service for System Maintenance new
COMMANDER Service for System Maintenance new
nopaneltrue
 /wiki/spaces/YMY/pages/320050357



...