从配置文件中读入开关。
语法
start_iq @该文件可以包含换行符,并且可以包含任何命令行开关集。例如,以下 Windows 命令文件保存名为 iqdemo 的服务器使用的命令行开关集(该服务器允许使用 10 个连接),将最大目录页大小设置为 4096 字节并启动 iqdemo 数据库:
iqdemo.cfg
------------------------------------------------
Default startup parameters for the IQ demo database
---------------------------------------------------
-n iqdemo
-x tcpip{port=2638}
The following parameters are also found in the configuration file
%IQDIR%\scripts\default.cfg. Any parameters not specified below
and not in the start up parameter list, will be added by start_iq
using default.cfg as a guide.
-c 48m
-gc 20
-gd all
-gl all
-gm 10
-gp 4096
-iqmc 32
-iqtc 24
如果此配置文件另存为 c:\config.txt ,则可将其用于命令行,如下所示:
start_iq @c:\config.txt