此数组使用NODE_PATH环境变量进行初始化,此环境变量是冒号分割的路径列表。
It is set initially from the NODE_PATH environment variable, which is a colon-delimited list of absolute paths.
在声明的初始化部分指定限定路径。
Specify the qualification path in the initialization part of the declaration.
这样配置就把数据文件分散在了disk1和disk2两个路径下,第一个文件固定2G大小,第二个文件初始化2G,可以自增长。
Configuring innodb_data_file_path like this, InnoDB can distribute the two datafiles to disk1 & disk2. The first file is fiexed size, 2GB. And the second file is auto extened, initial size id 2GB.
应用推荐