Configure server-synchronizer (ServerSpace.exe)


There are two files to configure:

 

MySQLParams.cfg - file of the MySQL server client configuration.

see a default configuration description below:

DriverName=MYSQL            // driver name
BlobSize=-1                           //. blob size is unlimited
Database=space                     //. work data base
ErrorResourceFile=                //. not used
HostName=localhost              //. host where mysql server is installed
LocaleCode=0000                 //. not used
Password=whegdqhwge         //. administrative user  password
Port=3306                             //. port to connect to mysql server
User_Name=ModelAdmin     //. administrative user

 

ServerSpace.cfg - file of the server-synchronizer configuration.

[INITIALIZATION]
  Partition__ContainersGrid_dX = 10                //. space indexation: a index container width
  Partition__ContainersGrid_dY = 10                //. space indexation: a index container height
[SPACE]
  MaxFragmentationFactor = 1.001                  //. space data max fragmentation factor. Space will be packed when fragmentation reach this value
[HISTORY]                
  ItemLifeTime = 7                                            //. a objects changes history log: max item life time in days
  ComponentsContextMaxCount = 16000        //. a objects changes history log: max components number for a client history (up-to-date) requests
  VisualizationsContextMaxCount = 8000         //. a objects changes history log: max visualization objects number for a client history requests
  VisualizationsReflectionsMaxCount = 128       //. a objects changes history log: max number of a client reflector windows for a client history requests
[BACKUP]
  BackupTime = 1:00                                        //. space backup time, hours: minutes