Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
appendix:reference:envvar:reserved [2011/03/15 14:24]
els created
appendix:reference:envvar:reserved [2016/06/28 22:38] (current)
Line 2: Line 2:
  
  
-====== Appendix: ​Environment Variables ​======+====== Appendix: ​Reference ​======
  
-===== Topic =====+===== Environment Variables ​=====
  
 [[appendix:​reference:​envvar:​home|Overview]] |  [[appendix:​reference:​envvar:​home|Overview]] | 
 [[appendix:​reference:​envvar:​variables|Environment Variables]] | [[appendix:​reference:​envvar:​variables|Environment Variables]] |
 [[appendix:​reference:​envvar:​shell|Shell Scripts]] | [[appendix:​reference:​envvar:​shell|Shell Scripts]] |
-[[appendix:​reference:​envvar:​locations|Locations]] |+[[appendix:​reference:​envvar:​uses|Uses]] |
 **[[appendix:​reference:​envvar:​reserved|Reserved Variables]]** **[[appendix:​reference:​envvar:​reserved|Reserved Variables]]**
  
Line 18: Line 18:
  
 Omnidex reserves some environment variables for its own use.  Some of required, but most are optional. ​ These variables either point to the location of the software or configure aspects of the software. Omnidex reserves some environment variables for its own use.  Some of required, but most are optional. ​ These variables either point to the location of the software or configure aspects of the software.
 +
 +=== System Environment Variables ===
 +
 +== PATH ==
 +PATH points to the directory where the Omnidex executables reside. This variable is a system variable, and is not Omnidex-specific. The PATH variable is likely to contain other paths. To ensure that existing settings are not overridden, append the setting to the existing value.
 +
 +If the PATH is not set, users will either be required to run all Omnidex executables from the directory in which the executable resides or must pass the fully qualified path to the executable. ​
 +
 +  UNIX
 +  export PATH="/​omnidex/​bin:​$PATH"​
 +
 +  Windows
 +  set PATH="​c:​\Program Files\Omnidex 5.1\bin";​%PATH%
 +
 +== LD_LIBRARY_PATH ==
 +
 +LD_LIBRARY_PATH points to the directory where shared libraries reside. This variable is a system variable, and is not Omnidex-specific. ​ The LD_LIBRARY_PATH variable is likely to contain other paths. To ensure that existing settings are not overridden, append the setting to the existing value. LD_LIBRARY_PATH is only used on UNIX operating systems.
 +
 +  UNIX
 +  export LD_LIBRARY_PATH="/​omnidex/​lib"​
 +
 +== CLASSPATH ==
 +
 +CLASSPATH points to the directory where the Omnidex.jar file resides and is required for Java development on all platforms. This variable is a system variable, and is not Omnidex-specific. ​ The CLASSPATH variable is likely to contain other paths. To ensure that existing settings are not overridden, append the setting to the existing value. ​
 +
 +Omnidex.jar is located in the bin subdirectory of the Omnidex root directory on the server, and in the lib subdirectory of the Omnidex Client root directory on the client machine.
 +
 +  UNIX
 +  export CLASSPATH="/​omnidex/​bin/​Omnidex.jar:​$CLASSPATH"​
 +
 +  Windows
 +  set CLASSPATH="​c:​\Program Files\Omnidex 5.1\bin\Omnidex.jar";​%CLASSPATH%
 +
 +== TMPDIR ==
 +TMPDIR points to a directory where Omnidex temporary files are built. On UNIX, this system variable governs the directory for temporary files for all process, not just Omnidex; however, this variable is not commonly used on Microsoft Windows. ​ Omnidex uses this variable on both UNIX and Microsoft Windows.
 +
 +It is recommended that TMPDIR be set to a directory with plenty of available disk space, especially when building Omnidex indexes. ​ It is also recommended that TMPDIR be placed on a separate drive, and preferably a separate disk controller, from the underlying data and the Omnidex index files.
 +
 +  UNIX
 +  export TMPDIR="/​temp"​
 +
 +  Windows
 +  set TMPDIR=d:​\temp
  
 === Required Environment Variables === === Required Environment Variables ===
 +
 +The following environment variables must be set for Omnidex to function properly.
  
 == OMNIDEX_HOME == == OMNIDEX_HOME ==
  
 +OMNIDEX_HOME points to the root directory of the Omnidex server software. ​
 +
 +  UNIX
 +  export OMNIDEX_HOME="/​omnidex"​
 +
 +  Windows
 +  set OMNIDEX_HOME=c:​\program files\omnidex 5.1
 +
 +=== Configuration Environment Variables ===
 +
 +The following environment variables are optional and can be used to configure the behavior of Omnidex.
 +
 +== OMNIDEX_DEBUG ==
 +
 +The OMNIDEX_DEBUG variable controls Omnidex debugging and is described in [[dev:​debug:​home|Omnidex Debugging]].
 +
 +
 +== OMNIDEX_QUALIFICATION_THRESHOLD ==
 +
 +The OMNIDEX_QUALIFICATION_THRESHOLD variable controls when Omnidex indexes are used for qualifying rows in a table and is described in [[admin:​optimization:​config:​home|Configuring Omnidex Optimization]].
 +
 +
 +== OMNIDEX_AGGREGATION_THRESHOLD ==
 +
 +The OMNIDEX_AGGREGATION_THRESHOLD variable controls when Omnidex indexes are used for aggregating rows in a table and is described in [[admin:​optimization:​config:​home|Configuring Omnidex Optimization]].
 +
 +== OMNIDEX_DATE_FORMAT,​ OMNIDEX_TIME_FORMAT and OMNIDEX_DATETIME_FORMAT ==
 +
 +The OMNIDEX_DATE_FORMAT,​ OMNIDEX_TIME_FORMAT and OMNIDEX_DATETIME_FORMAT variables control the default format for dates and times when converted from their internal binary format to a displayable character format. ​ The environment variable can be set to a string that references the following tokens:
 +
 +{{page>​dev:​appendix:​reference:​date_tokens_insert&​noheader&​nofooter&​noeditbtn}}
 +
 +The following example establishes the default format for dates:
 +
 +  UNIX
 +  export OMNIDEX_DATE_FORMAT="​MMM D, YYYY"
 +
 +  Windows
 +  set OMNIDEX_DATE_FORMAT="​MMM D, YYYY"
 +
 +<​code>​
 +> select birthdate from individuals;​
 +
 +BIRTHDATE
 +-------------------
 +July 14, 1938
 +November 22, 1957
 +July 28, 1960
 +August 22, 1929
 +July 9, 1933
 +August 1, 1944
 +September 14, 2004
 +</​code>​
 +
 +== ODXSQLINIT ==
 +
 +The ODXSQLINIT variable points to an [[programs:​odxsql:​init|initialization file]] used by the OdxSQL Program. ​ This initialization file contains OdxSQL statements to be run when OdxSQL is launched. ​ Typically, these statements are SET commands; however, any OdxSQL commands are allowed.  ​
 +
 +  UNIX
 +  export ODXSQLINIT="/​class/​.odxsqlinit"​
 +
 +  Windows
 +  set ODXSQLINIT=d:​\class\.odxsqlinit"​
 +
 +== ODXSQLHIST ==
 +
 +The ODXSQLHIST variable points to a [[programs:​odxsql:​history|history file]] used by the OdxSQL Program. ​ This history file contains statements that have been run in the OdxSQL program. ​ Note that if multiple sessions point to the same file, their statements will all be written to the same file.  ​
 +
 +  UNIX
 +  export ODXSQLHIST="/​class/​.odxsql_history"​
  
-=== Optional Environment Variables ===+  Windows 
 +  set ODXSQLHIST=d:​\class\.odxsql_history"​
  
-== OMNIDEX_REG == 
  
 =====  ===== =====  =====
  
-**[[appendix:​reference:​envvar:​locations|Prev]]**+**[[appendix:​reference:​envvar:​uses|Prev]]**
  
 ====== Additional Resources ====== ====== Additional Resources ======
 
Back to top
appendix/reference/envvar/reserved.1300199062.txt.gz · Last modified: 2016/06/28 22:38 (external edit)