|
Appendix |
Environment Variables |
|
Other Environment Variables
DBINSTAL Environment VariablesThe following variables can be set before running DBINSTAL. The required variables (above) must also be set prior to running DBINSTAL. Don't forget to set the temporary directory variables prior to running DBINSTAL. DBINSTAL uses the temporary directory while building the indexes.
OA_MAX_ROWSOA_MAX_ROWS restricts the number of rows to be indexed. This setting should be used for testing purposes only. Setting OA_MAX_ROWS to 100 for example, will cause the first 100 rows of each table to be indexed. However, there is no guarantee, in a parent/child relationship, that the 100 rows in the child table will belong to any of the 100 rows in the parent table. Unixexport OA_MAX_ROWS=100 Windowsset OA_MAX_ROWS=100
OA_SKIP_ROWSOA_SKIP_ROWS skips indexing the specified number of rows. Unixexport OA_SKIP_ROWS=100 Windowsset OA_SKIP_ROWS=500
OA_OPTIONSOA_OPTIONS sets the connect options that will be used to connect to the Environment Catalog. Options can be any valid options for a CONNECT. Unixexport OA_OPTIONS="WRITE" Windowsset OA_OPTIONS="READ" ODXSQL Environment VariablesThe following variables can be set before running ODXSQL. The required variables (above) must also be set prior to running ODXSQL.
ODXSQL_APIODXSQL_API specifies which API to use, OA (default) or ODBC during this ODXSQL session. If running ODXSQL on a client machine where the Omnidex server software has not been installed, this variable MUST be set to ODBC, since the OA API does not exist on the client. Unixexport ODXSQL_API="OA"
Windowsset ODXSQL_API="ODBC"
ODXSQLHISTODXSQL_HIST_FILE points to an ODXSQL History File. By default, the ODXSQL command history is written to .odxsql_history. Use this variable to write the history to a different file. Unixexport ODXSQLHIST="myhistoryfile.txt" Windowsset ODXSQLHIST="myhistoryfile.txt"
ODXSQLINITODXSQLINIT points to an ODXSQL Init File. This file can contain initialization settings that will be set when ODXSQL starts. This is very useful for set options. Unixexport ODXSQLINIT="init_file.txt" Windowsset ODXSQLINIT="init_file.txt" Oracle Environment VariablesThe following variables apply when going against an Oracle database only. ORACLE_SIDORACLE_SID specifies the Oracle SID. This is an Oracle environment variable required by Omnidex. UnixSee the Oracle documentation for syntax WindowsSee the Oracle documentation for syntax
DA_ORA_DATE_FMTDA_ORA_DATE_FMT controls which date format Omnidex uses for dates when communicating with Oracle. Syntax is the same as Oracle's NLS_DATE_FORMAT. UnixSee the Oracle documentation for syntax on Oracle's NLS_DATE_FORMAT WindowsSee the Oracle documentation for syntax on Oracle's NLS_DATE_FORMAT Operating System Environment VariablesThe following variables are Operating System environment variables optionally used by Omnidex. See the operating system documentation for syntax specifications. COMSPECWindows Only. Points to the command shell, CMD.EXE for example. SHELLUnix Only. Points to the shell to use for commands. SHLIB_PATHUnix Only. Points to the path for shared libraries. HOMEAll Platforms. Points to the HOME directory. USERNAMECurrent system user name. Configuration Environment VariablesThe following variables are Omnidex configuration environment variables optionally used by Omnidex.
OA_API_TIMEOUTOA_API_TIMEOUT control timeout of API. Setting value is in seconds. Unixexport OA_API_TIMEOUT=180 Windowsset OA_API_TIMEOUT=360
OA_ASK_RETRIEVAL_THRESHOLDOA_ASK_RETRIEVAL_THRESHOLD controls the ASK_RETRIEVAL_THRESHOLD. Setting value is an number representing a percentage, 1 for 1 %, 2 for 2%, etc... Setting OA_ASK_RETRIEVAL_THRESHOLD tells Omnidex at what point it may be more efficient to retrieve the rows and order or aggregate the results manually, where the threshold is the percentage of qualified rows out of total rows in the table. Unixexport OA_ASK_RETRIEVAL_THRESHOLD=1.5 Windowsset OA_ASK_RETRIEVAL_THRESHOLD=2
OA_MDK_RETRIEVAL_THRESHOLDOA_MDK_RETRIEVAL_THRESHOLD controls the MDK_RETRIEVAL_THRESHOLD. Setting value is an number representing a percentage, 1 for 1 %, 2 for 2%, etc... Setting OA_MDK_RETRIEVAL_THRESHOLD tells Omnidex at what point it may be more efficient to perform a sequential scan than to use the Omnidex indexes, where the threshold is the percentage of qualified rows out of total rows in the table. Unixexport OA_MDK_RETRIEVAL_THRESHOLD=1 Windowsset OA_MDK_RETRIEVAL_THRESHOLD=2
OMNIDEX_API_OSCOMMANDSOMNIDEX_API_OSCOMMANDS controls whether operating system commands may be performed through oaexecsql against the $COMMAND table. Setting value is ON or OFF. The purpose of the environment variable is to prevent or allow client applications to execute system commands through ODBC and JDBC. Default is OFF. Unixexport OMNIDEX_API_OSCOMMANDS=ON Windowsset OMNIDEX_API_OSCOMMANDS=OFF
OMNIDEX_COMMIT_EVERYOMNIDEX_COMMIT_EVERY controls how often to commit on an INSERT. Defines how often Omnidex asks the underlying database to commit updates. Default is 32. Unixexport OMNIDEX_COMMIT_EVERY=50 Windowsset OMNIDEX_COMMIT_EVERY=100
|
|
Home | What's New | Quick Links | Appendix |