Dbserver: Difference between revisions
Created page with "The dbserver is responsible for managing the connection to the database and is the central connection for all mapservers and launchers. == Command line arguments == In progr..." |
No edit summary |
||
Line 3: | Line 3: | ||
== Command line arguments == | == Command line arguments == | ||
{{CommandLineTable| | |||
{{CLArg|-logserver|Start the dbserver as a logserver instead. (This also happens if the executable name is "logserver".)}} | |||
{{CLArg|-noencrypt|Disable encryption between the client and dbserver.}} | |||
{{CLArg|-productionmode|Enable production mode/disable development mode. ''Document production mode.''}} | |||
{{CLArg|-startall|Start all static non-DontAutoStart maps automatically on startup.}} | |||
{{CLArg|-start <n>|Start up to n static maps on startup.}} | |||
{{CLArg|-verbose|Enable verbose logging.}} | |||
{{CLArg|-testcleanshutdown [n]|Run a database shutdown test on the ''n'' first containers and then exit. ''n'' is 100 by default.}} | |||
{{CLArg|-perfbench|Run a performance benchmark and then exit.}} | |||
{{CLArg|-perfload [n]|Run a load test of ''n'' runs on the database and then exit. ''n'' is 0 by default.}} | |||
{{CLArg|-perfdup [n]|Run a duplication test of ''n'' runs on the database and then exit. ''n'' is 0 by default.}} | |||
{{CLArg|-perfupdate [n]|Run an update test of ''n'' runs on the database and then exit. ''n'' is 0 by default.}} | |||
{{CLArg|-flattosql|Load the on-disk flat format (.defs or .bins) of Ents, Supergroups, Teamups and Leagues to the database, then exit. Only works in development mode.}} | |||
{{CLArg|-sqltoflat|Dump the database containers of Ents, Supergroups, Teamups and Leagues to the on-disk format, then exit. Only works in development mode.}} | |||
{{CLArg|-importdump <dumpfile> [mappingfile brokenfile progressfile splitnames]|Load a dump file. Defaults: | |||
* ''mappingfile'': {{ms|conids.map}} | |||
* ''brokenfile'': {{ms|links.bk}} | |||
* ''progressfile'': {{ms|progress.txt}} | |||
* ''splitnames'': 0}} | |||
{{CLArg|-fiximport [mappingfile brokenfile progressfile]|Revisit DB (after import?) and fix broken links. Defaults: | |||
* ''mappingfile'': {{ms|conids.map}} | |||
* ''brokenfile'': {{ms|links.bk}} | |||
* ''progressfile'': {{ms|progress.txt}}}} | |||
{{CLArg|-exportdump <dumpfile>|Export a dump file.}} | |||
{{CLArg|-packetdebug|Enable packet debug info (data type and length). Enabled by default if the build is FULLDEBUG, disabled otherwise.}} | |||
{{CLArg|-memlogecho|Echo logs for the generic memlog instance to the console.}} | |||
{{CLArg|-cod|Pass the {{ms|-cod}} option to mapservers launched via the launchers connected to this dbserver.}} | |||
}} |
Revision as of 14:14, 1 May 2019
The dbserver is responsible for managing the connection to the database and is the central connection for all mapservers and launchers.
Command line arguments
|
Start the dbserver as a logserver instead. (This also happens if the executable name is "logserver".) |
|
Disable encryption between the client and dbserver. |
|
Enable production mode/disable development mode. Document production mode. |
|
Start all static non-DontAutoStart maps automatically on startup. |
|
Start up to n static maps on startup. |
|
Enable verbose logging. |
|
Run a database shutdown test on the n first containers and then exit. n is 100 by default. |
|
Run a performance benchmark and then exit. |
|
Run a load test of n runs on the database and then exit. n is 0 by default. |
|
Run a duplication test of n runs on the database and then exit. n is 0 by default. |
|
Run an update test of n runs on the database and then exit. n is 0 by default. |
|
Load the on-disk flat format (.defs or .bins) of Ents, Supergroups, Teamups and Leagues to the database, then exit. Only works in development mode. |
|
Dump the database containers of Ents, Supergroups, Teamups and Leagues to the on-disk format, then exit. Only works in development mode. |
|
Load a dump file. Defaults:
|
|
Revisit DB (after import?) and fix broken links. Defaults:
|
|
Export a dump file. |
|
Enable packet debug info (data type and length). Enabled by default if the build is FULLDEBUG, disabled otherwise. |
|
Echo logs for the generic memlog instance to the console. |
|
Pass the |