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 06:40] 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 ====== |
| - | ===== Upgrading from Version 5.1 to 5.2 ===== | + | ===== Reasons to Upgrade from 4.x to 5.x ===== |
| - | 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. | + | |
| - | The following is a list of items that are known changes between Omnidex 5.1 and 5.2. | + | There are several good reasons to upgrade from an Omnidex version 4.x installation to a 5.x installation. |
| - | === Connection strings have changed === | + | * Faster Omnidex Index build times due to the merging of MDK and ASK indexes. |
| + | * 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. | ||
| - | In 5.1, a PHP connection string with Username and Password would be as follows: | + | ===== Reasons to stay on 4.x ===== |
| - | <code> | + | * NsAdmin is no longer supported and the replacement interface is not available in the Omnidex 5.1 version. |
| - | $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> | + | ===== Upgrading from previous Omnidex versions ===== |
| - | $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 === | + | 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. |
| - | 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. | ||
| - | === RegMaint and SysInfo functionality included in OdxSQL === | + | [[install:upgrading:v4x_to_v50 | Upgrading Versions 4.x to 5.0 ]] |
| - | 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. | + | [[install:upgrading:50_to_v51 | Upgrading Versions 5.0 to 5.1 ]] |
| - | === TDF File type is now DELIMITED. === | ||
| - | The Tabbed-Delimited File type is now named DELIMITED since the column and row separators can be specified. | ||
| - | TDF is still a supported synonym for DELIMITED but may be removed in future releases. | + | ==== 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.) | ||
| + | * Compile environment source using oacomp 5.1 | ||
| - | === Omnidex ODBC driver name change === | + | * Run dbinstal install only (no build) script |
| - | 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. | + | * Run OdxSQL and do the following steps (assume current.env) |
| - | The existing name is Omnidex ODBC Driver for OdxNet. | + | * Use Odxsql connect to .env environment |
| - | The new name is Omnidex. | + | os> odxsql current.env |
| - | DISC provides a program called odbcreg that can register the Omnidex ODBC driver under the supported Windows Operating Systems. | + | * 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. |
| - | 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. | + | odxsql> extract DDL to myddl.sql |
| + | * Compile the extracted DDL to create a new Omnidex Environment with the XML format. | ||
| + | |||
| + | odxsql> use myddl.sql | ||
| - | ===== Upgrading from Versions 5.0 to 5.1 ===== | + | * Connect to XML environment |
| - | === New Omnidex Data Definition Language (DDL) added. === | + | odxsql> connect myddl.xml |
| - | 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. | + | * Build the new indexes |
| - | * 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. | + | odxsql> update indexes |
| + | |||
| - | * 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 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. | ||
| - | |||
| - | === 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. | ||
| - | |||
| - | == Connection strings supported for ODBC and JDBC Data Sources. === | ||
| - | |||
| - | As of 5.0, Omnidex provided some limited support for connection strings. These were further increased in 5.1 and changed slightly in 5.2. | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | === 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 an 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. | ||
| - | |||
| - | === 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. | ||
| - | |||
| - | OdxAdmin will incorporate the NsAdmin and DsEdit functionality once it is released. | ||
| - | |||
| - | And references in the documentation to OdxAdmin should be ignored at this time. | ||
| - | |||
| - | === 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 | | ||
| - | |||
| - | === Oracle and SQLServer Stored Procedure interfaces no longer documented === | ||
| - | |||
| - | === 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" | ||