Version 2 (modified by csa, 15 years ago) |
---|
Administrative Guide
This section describes ADEI configuration
ADEI Administrative Pages
- http:adei/admin/ - Provides information on the cache and display log files
- http:adei/wiki.php - ADEI WiKi editor
The data source description
- title - The data source title
- reader - The name of the READER class
- host - The host name or IP address of the data source (database server, etc.)
- port - The network port of the data source (0 - instructs to use default)
- user - The user name (if required)
- password - The password (if required)
- database - The list (array("db1", "db2")) of databases
- timeout - The reader access timeout
- ping - The flag instructs ADEI to ping the server before actually trying access it. If the ping is not answered within specified timeout, the data source considered unavailable.
The following options are specific to the database-based sources
- driver - The PDO driver used to access the database (mysql, odbc, ...)
- subdrv - For multi-database drivers, like odbc, specifies the actual driver to be used (FreeTDS, ...)
- sqldrv - For multi-database drivers, like odbc, specifies the SQL dialect to be used (mssql, ...)
The data source options
- ignore_subseconds - Ignore subsecond part of timestamps
- fill_raw_first - Fill RAW cache table completely prior to processing aggregating cache tables
- optimize_empty_cache - Do not fill lower resolution cache intervals if encompassing one is empty
- use_cache_timewindow - Shrink time window to the currently cached data
- use_cache_reader - Do not access data source while reading cache
- overcome_reader_faults - Use CACHE if connection to reader is failed
- optimize_time_axes - Limit time window size by the available data
- use_md5_postfix - Use md5 for table name postfixes in the caching database
- null_value - The numeric value to use instead of NULL (missing data) when needed
- disable_caching - The CACHE should not be generated, Item for real-time display only
- channel_uids - If channels have unique identifactors within ADEI setup
- date_limit - Ignore the data outside of the specified time range. The following time format should be used "YYYY-mm-dd hh:mm:ss". Two different modes are supported:
- "start_time" - just ignore the data older than the start_time
- array("start_time", "end_time") - ignore everything outside of the range
- maximal_allowed_gap - The expected rate in seconds, if the distance between records greater than specified value, some records were not recorded due to some problems.
- ignore_invalid_data - Instructs ADEI to silently ignore the invalid data
- channel_uids - Use channel names as uids.
- true - use all channel names as uids
- "regular_expression" - use channel names as uids only for channels which names are matching regular expression
Global options
- $ADEI_DB - The associative array describing ADEI database: host, port, database, user, password.
- $ADEI_RELEASE -