service/5 is an Erlang function exported by "firebird" module. This service management function allows you to setup different server parameters, or to commence maintenance tasks by sending commands. Available service-level commands: •{page_buffers, Value} - updates the database page buffer size. •{sweep_interval, Value} - sets a new interval for commencing DB seep. •async_write - enables asynchronous write to the database. •sync_write - enables synchronized write of data to the database. •read_only - sets up a read-only access to the database. •read_write - sets up read and write access to the database. •all_space - this command is used for optimization purposes in order to avoid data space reservation for records visioning. •reserve_space - enables data space reservation for records visioning. •{shutdown, Mode, Timeout} - this command schedules DB server shutdown by specifying the Timeout and the operation Mode (force, deny_trans, deny_attach) •{repair, Mode} - commence a repair procedure onto database. Repair mode is encoded bit mask. Please refer to the Firebird documentation for more details. •restart - try to restart the DB server (Firebird service) remotely. •sweep - initiates DB sweep (compacting the DB storage when possible). •{backup, Backup, Mode} - creates a new Backup file in particular Mode. Please refer to the Firebird documentation for more details. •{restore, Backup, Mode, PageSize} - restores data from Backup by selecting the operational Mode and DB page size. Please refer to the Firebird documentation for more details. |
|
|