ermdb add
Note: For instructions on installing and running the Administration Utility, see Getting Started with the Administration Utility.
The ermdb add command creates a new routing database resource on the server. You must have the Spectrum Spatial installed to use this command.Note: The ermdb add command requires a unique name be used for each of the databases being added.
Usage
ermdb add --name database_name --poolsize pool_size --path database_path --mn minimum_memory_size --mx maximum_memory_sizeNote: To see a list of parameters, type help ermdb add.
Required | Argument | Description |
---|---|---|
Yes | --name or --n database_name | Specifies the name of the database resource to be added. The name must be a unique name on the server. For a list of existing routing database resources, use the ermdb list command. |
No | --poolsize or --s pool_size | Indicates the maximum number of concurrent requests the database should handle. The default if not specified is 4. The accepted range for concurrent requests is any integer between 1 and 128. |
Yes | --path database_path | Specifies the location of the routing database on the file server. |
No | --mn or --minMem minimum_memory_size | Defines the minimum amount of memory allocated for this database. This value must be less than or equal to the --mx setting. |
No | --mx or --maxMem maximum_memory_size | Defines the maximum amount of memory allocated for this database. This value must be greater than zero, but cannot exceed 65536 MB. |
Example
This example adds the database resources US from E:/ERM-US/2019.09/driving/south into the server.
ermdb add --name US --poolsize 10
--path E:/ERM-US/2019.09/driving/south --mn 1200 --mx 65536