This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
install:upgrading:home [2011/04/07 16:59] admin |
install:upgrading:home [2012/10/26 14:51] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{page>:top_add&nofooter&noeditbtn}} | {{page>:top_add&nofooter&noeditbtn}} | ||
| - | ====== Upgrading from previous Omnidex versions ====== | + | ====== Omnidex Upgrading from Previous Releases ====== |
| - | The best way to currently review all the upgrade notes is to start at the bottom and read upwards. Even if you are already on 5.0, you should review the upgrade notes on going from 4.x to 5.0 to see all the changes to the Omnidex product. | + | ===== Reasons to Upgrade from 4.x to 5.x ===== |
| - | These pages will be redone to make reading all the notes in sequence easier. | + | There are several good reasons to upgrade from an Omnidex version 4.x installation to a 5.x installation. |
| - | ===== Upgrading from Version 5.1 to 5.2 ===== | + | * Faster Omnidex Index build times due to the merging of MDK and ASK indexes. |
| - | Although 5.2 has not yet been released, there are a few items that are known changes from 5.1 to 5.2 that are worth knowing when doing 5.1 development. | + | * Easier to maintain Omnidex Grid Environments with Grid aware Explain Plans |
| + | * Easier Omnidex Environment setup and maintenance using the Omnidex Data Defintion Language and OdxSQL. | ||
| + | * Improvements in the Sample and Random selection of records. | ||
| + | * Automatically de-dup records on selection. | ||
| + | * Cached Qualifications to improved the speed of drill down counts. | ||
| + | * PowerSearch for synonyms, miss-spellings, transpositions, plurality, etc. | ||
| + | * Autocomplete suggestions of words as they are being typed. | ||
| - | The following is a list of items that are known changes between Omnidex 5.1 and 5.2. | + | ===== Reasons to stay on 4.x ===== |
| + | * NsAdmin is no longer supported and the replacement interface is not available in the Omnidex 5.1 version. | ||
| - | === Connection strings have changed === | + | ===== Upgrading from previous Omnidex versions ===== |
| - | In 5.1, a PHP connection string with Username and Password would be as follows: | + | The best way to currently review all the upgrade notes is to start at the older releases and read through to the newer releases. Even if you are already on 5.0, you should review the upgrade notes on going from 4.x to 5.0 to see all the changes to the Omnidex product. |
| - | <code> | + | |
| - | $conn = odbc_connect("DRIVER={DISC OMNIDEX OdxNet Driver}; | + | |
| - | ENV=[localhost:7555]c:\\xavit\\xavit_mysql.xml","xavit_user","xavit_pass"); | + | |
| - | </code> | + | |
| - | In 5.2, a PHP connection string to do the same thing would be as follows: | + | |
| - | <code> | ||
| - | $conn = odbc_connect(‘{DRIVER=Omnidex};ConnectionString= | ||
| - | [localhost:7555]c:\\xavit\\xavit_mysql.xml;uid=xavit_user;pwd=xavit_pass’,’’,’’); | ||
| - | </code> | ||
| - | === C STRING data type is now STRING === | + | [[install:upgrading:v4x_to_v50 | Upgrading Versions 4.x to 5.0 ]] |
| - | The C STRING data type has been renamed to STRING in 5.2. C STRING is still supported as a synonym and will continue to work in the legacy Environment Catalogs as well as in the new Omnidex Data Definition Language (DDL) syntax. However, it may be removed in future versions so all new Omnidex Environments should use the STRING syntax when referring to Character columns that can be NULL terminated for faster internal Omnidex processing. | + | [[install:upgrading:50_to_v51 | Upgrading Versions 5.0 to 5.1 ]] |
| - | === RegMaint and SysInfo functionality included in OdxSQL === | ||
| - | As part of DISC's continuing efforts to simplify the Omnidex product, the licensing functionality in the sysinfo and regmaint programs has been moved to the OdxSQL program. | ||
| - | === TDF File type is now DELIMITED. === | + | ==== Correct Steps to convert existing oacomp Environment to DDL based XML Environment ==== |
| + | * Modify 4.x environment source to test environment locations (table physical, database index_prefix, etc.) | ||
| - | The Tabbed-Delimited File type is now named DELIMITED since the column and row separators can be specified. | + | * Compile environment source using oacomp 5.1 |
| - | TDF is still a supported synonym for DELIMITED but may be removed in future releases. | + | * Run dbinstal install only (no build) script |
| + | * Run OdxSQL and do the following steps (assume current.env) | ||
| - | === Omnidex ODBC driver name change === | + | * Use Odxsql connect to .env environment |
| - | The Omnidex ODBC driver has been renamed as of the 5.2 release which can impact existing Microsoft Machine DataSources which are referred to as System and User data sources in the Data Sources Administrator. | + | os> odxsql current.env |
| - | The existing name is Omnidex ODBC Driver for OdxNet. | + | * Use OdxSQL to extract the new DDL from the current.env. This will include both the metadata from the Environment Catalog and the Omnidex indexing information. |
| - | The new name is Omnidex. | + | odxsql> extract DDL to myddl.sql |
| - | DISC provides a program called odbcreg that can register the Omnidex ODBC driver under the supported Windows Operating Systems. | + | * Compile the extracted DDL to create a new Omnidex Environment with the XML format. |
| + | |||
| + | odxsql> use myddl.sql | ||
| - | As of 5.2, this program has the option to register the old name as well as the new ODBC Driver name so that each datasource does not have to be converted. | + | * Connect to XML environment |
| + | odxsql> connect myddl.xml | ||
| - | ===== Upgrading from Versions 5.0 to 5.1 ===== | + | * Build the new indexes |
| - | === New Omnidex Data Definition Language (DDL) added. === | + | odxsql> update indexes |
| + | |||
| - | Once Omnidex 5.1 is in use, DISC recommends that new Omnidex Environment files are maintained using the Omnidex Data Definition Lanaguage (DDL) using OdxSQL. However the old style syntax of compiled Omnidex Environment files are supported. | ||
| - | |||
| - | * When using Omnidex DDL Environments, DBINSTAL can no longer be run directly or it will invalidate the installation. So if features in DBINSTAL are being used, then Omnidex Compiled Environments should continue to be used. | ||
| - | |||
| - | * There is some syntax such as UNION VIEWS that are not supported in the Omnidex DDL. If those features are needed, then Omnidex Compiled Environments should continue to be used. | ||
| - | |||
| - | Limitations: | ||
| - | |||
| - | * Dbinstal Batch Index option not supported. | ||
| - | * Dbinstal SIID option not supported. | ||
| - | |||
| - | |||
| - | = | ||
| - | |||
| - | === OdxSQL Removal of Several Commands. === | ||
| - | |||
| - | To simplify OdxSQL, several previous commands are no longer supported. | ||
| - | |||
| - | * CREATE FILE | ||
| - | * Extract DML | ||
| - | |||
| - | ===== Upgrading from Versions 4.x to 5.0 ===== | ||
| - | |||
| - | |||
| - | === Unification of the ASK and MDK indexes === | ||
| - | |||
| - | The Multi-Dimensional-Keyword (MDK) indexes and the Aggregation-Sorted-Key (ASK) indexes have been merged into a single index which will decrease greatly the time to re-index on Omnidex Environment containing ASK indexes. | ||
| - | |||
| - | The ASK and MDK terminology is no longer being used although Omnidex error messages and the Explain Plans still use the terminology. These will be removed in future releases. | ||
| - | |||
| - | === Unification of Client and Server installation distributions. === | ||
| - | |||
| - | Omnidex no longer has installation options for Client and Server installations. Any Omnidex installation can be used as either a server or a client or both. | ||
| - | |||
| - | Note that Omnidex Client and Omnidex Server versions must have the same major version number (ie 5.1 to 5.1) to communicate to each other. | ||
| - | |||
| - | === Connection strings supported for ODBC and JDBC Data Sources. === | ||
| - | |||
| - | As of 5.0, Omnidex provided some limited support for connection strings in both ODBC and JDBC to eliminate the need to create File Data Sources or System or User Data Sources. Note that connection strings were further enhanced in 5.1 and changed slightly in 5.2. | ||
| - | |||
| - | In OdxSQL, the following would work: | ||
| - | |||
| - | os> odxsql -odbc | ||
| - | odxsql> connect [localhost:7555]c:\odx\myenv.env | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | === New Omnidex XML Environment File instead of Environment Compiled Source File === | ||
| - | |||
| - | In Omnidex 5.0, DISC introduced a new XML format for maintaining Omnidex metadata information that also included Omnidex index specifications. However, the Omnidex Data Definition Language (DDL) syntax was not fully completed in the 5.0 release. Customers on 5.0 should continue to maintain their Omnidex Environments using a text editor and dbinstal index and build scripts. As of Omnidex 5.1, customers can use OdxSQL and the Omnidex DDL statements that create Omnidex Enviroments containing both metadata information and Omnidex index information. | ||
| - | |||
| - | For Omnidex 5.0 customers that want to take a looks at the new 5.0 XML file layout, use OACOMP to translate a Legacy Environment Source into an Environment XML file. | ||
| - | |||
| - | os> oacomp myenv.src myenv.xml | ||
| - | |||
| - | DISC recommends that all existing Omnidex Environments be maintained using an editor and compiled with OACOMP should continue to do so under Omnidex 5.0. | ||
| - | |||
| - | |||
| - | |||
| - | === NsAdmin no longer supported. === | ||
| - | |||
| - | NsAdmin is no longer supported as of the 5.0 release. The NsAdmin functionality has been moved to a new monitoring environment that is available through the Omnidex SQL interface so it is easy to access via OdxSQL. | ||
| - | |||
| - | This functionality is not available in versions 5.0 and 5.1 but will be available in Omnidex version 5.2. | ||
| - | |||
| - | Customers that rely on NsAdmin to monitor existing Omnidex production environments may want to want until the Omnidex 5.2 release is available. | ||
| - | |||
| - | === DsEdit is no longer supported. === | ||
| - | |||
| - | DsEdit is no longer supported as of Omnidex version 5.0 as part of DISC's effort to make the Microsoft Windows and Unix/Linux versions more consistent. However all of the features provided by DsEdit are available in other ways as follows: | ||
| - | |||
| - | ^ DsEdit Current Feature ^ 5.x Approach ^ | ||
| - | |Create ODBC File data sources | copy from documentation and edit with editor| | ||
| - | | Create ODBC System and User data sources | use Control Panel, Data Source Adminstrator | | ||
| - | | Create JDBC data sources | use connection strings and test with OdxSql -JDBC option | | ||
| - | | Test connections | use OdxSQL with -odbc and -jdbc option to test connections | | ||
| - | | Perform simple test queries | use OdxSql with -odbc and -jdbc option to test queries | | ||
| - | |||
| - | === OdxAdmin's release has been delayed. === | ||
| - | DISC is developing a Windows based front end to administer Omnidex in a multi-server environment. However, due to other customer driven priorities, the Omnidex Administrator is not available in either 5.0 or 5.1. | ||
| - | |||
| - | OdxAdmin will incorporate the NsAdmin and DsEdit functionality once it is released. | ||
| - | |||
| - | And any references in the documentation to OdxAdmin should be ignored at this time. | ||
| - | |||
| - | === Oracle and SQLServer Stored Procedure interfaces no longer documented === | ||
| - | |||
| - | The Oracle and SQLServer Stored Procedure interface is not currently being moved to the current documentation as DISC undergoes a planned refresh of the Store Procedure Interface. | ||
| - | |||
| - | Contact support@disc.com if you need documentation on the Stored Procedure Interface. | ||
| - | |||
| - | === Switching between two versions === | ||
| - | |||
| - | * PATH | ||
| - | * CLASSPATH | ||
| - | * OMNIDEX_HOME | ||
| - | |||
| - | cmd> odbcreg -i "program files\omnidex 5.1\bin" | ||
| - | |||
| - | cmd> odbcreg -i "program files\omnidex 4.4\bin" | ||