The values for the following Ingres variables are established at the time of installation:
Some of these values can be easily changed, and some require unloading of the installation.
Before changing an existing Ingres installation location, be sure that the change is really necessary: ask yourself what needs to be moved, and why.
Installation locations do not need to be changed if:
Ingres provides the capability of creating new locations and placing any new databases, tables, or indexes in these new locations. If the requirement is space for new tables or databases, you do not need to change existing locations.
Instead, create the necessary new locations for these future tables and databases and use the available location flags of createdb (-d, -c, -j, -b, and -w) to create the data, checkpoint, journal, dump, and work files for the newly created database in some other location.
For more information on creating new databases, see the createdb command in the Command Reference Guide.
If space is becoming limited on a disk partition containing a particularly large table, you can move the table to a new disk or partition. Use the modify command to relocate and modify to reorganize statements as described in the Database Administrator Guide.
When you need to change the value of an installation location variable, the procedure depends to some extent on the underlying operating system. On UNIX and Windows, the procedure also depends on whether the change requires unloading the database.
You can change the ING_ABFDIR location value without unloading the installation.
The values of the following locations are stored in the configuration file "aaaaaaaa.cnf" of each database at the time it is created and can only be changed by unloading each database, re-installing Ingres and reloading the databases (thus creating a new configuration file):
To change the installation default for ING_ABFDIR:
Note: Application developers who do not want to use the installation default can redefine ING_ABFDIR in their local user environment.
To change the installation default value for ING_ABFDIR in VMS:
ING_ABFDIR can be redefined in the local user environment for application developers who do not want to use the installation default.
Follow these steps to change the value of II_SYSTEM, II_DATABASE, II_CHECKPOINT, II_JOURNAL, II_DUMP or II_WORK. "II_SYSTEM" is used as the example location to be changed:
Follow these steps in UNIX to change the value of II_SYSTEM, II_DATABASE, II_CHECKPOINT, II_JOURNAL II_DUMP, or II_WORK. "II_SYSTEM" is used as the example location being changed:
Follow the instructions in the Installation Guide for a new (not upgrade) installation.
As part of the installation procedure, you are asked to run the program ingbuild. This program prompts you for the new values of Ingres location variables II_DATABASE, II_CHECKPOINT, II_JOURNAL, II_DUMP, and II_WORK.
Use the createdb dbname command to recreate a database.
Reload each database by appropriately editing and running the reload.ing script.
Follow these steps in VMS to change the value of II_SYSTEM, user areas, II_DATABASE, II_CHECKPOINT, II_JOURNAL, II_DUMP, or II_WORK:
For more information about stopping and starting the installation using ingstop and ingstart, see the Command Reference Guide.
Ingres does not support or recommend the use of symbolic links to change locations in UNIX. (This is possible with the UNIX ln command, which allows the UNIX system administrator to create symbolic links to new directories so that files are found in another directory even though the values of Ingres installation location variables remain unchanged.)
Common problems that arise from the misuse of symbolic links are as follows: