Advantage Ingres
Version 2.6


Welcome

General Considerations
Operating System (OS) Version
Upgrading Your Installation
Shutting Down an Ingres Installation that Includes an Ingres/ICE Server
Execution of Remote Commands
Exclusive Database Access to imadb
OpenROAD Support
Support for Unicode
New Character Sets for Euro Currency Symbol Support

Known Issues
DBMS Server and Tools Bugs
DBA Tools Bugs
Application Development Tools Bugs

Behavior changes between previous releases and Ingres 2.6
Query compilation and OPF memory
Transaction Log File Size
Row order changes

Contacting Technical Support

Acknowledgements

Appendix: Supplemental Information for Microsoft Windows
Multiple Ingres 2.6 Instances on a Windows Machine
ODBC Driver
Support Qualifications
Upgrade Notes
Application Migration and Development Notes
GUI Database Administration Tools
Replicator Issues


Welcome

Before you start using the software, you should review this README file for important information to help you with your installation and use of the product. The information provided is for use with the Ingres 2.6 Getting Started guide and the Ingres 2.6 Migration Guide. The appendix provides information that is specific to your operating system.

Please make sure that copies of this README are distributed to the system administrator, database administrator, and applications developers using Ingres at your site. This document contains information of interest to each of these users.


General Considerations


Operating System (OS) Version

It is very important in your planning that you review the list of operating system versions supported for this version. Please make sure that your operating system is supported by this version. As the list of supported operating systems changes frequently, you may wish to review the latest information available at esupport.ca.com. Your implementation of this version may require you to upgrade your OS version. In this situation, the new OS version may not be supported by your current Ingres installation, and in this case the only recommended approach is to use the unload/reload procedure rather than any upgradedb procedures.


Upgrading Your Installation

All of the utilities that were available in OpenIngres 2.0 and Ingres II versions 2.0 and 2.5 are present in Ingres 2.6. If you are upgrading to Ingres 2.6, please review the Ingres Migration Guide before performing the upgrade.

When upgrading from a release older than 2.0, the database "imadb" will not be created. After the upgrade has been completed you should create this database by hand by executing the following commands as the user ingres:

Windows

 
rmcmdstp
createdb -fnofeclients -u$ingres imadb
 sql -u$ingres imadb < %II_SYSTEM%\ingres\vdba\makiman.sql >
%II_SYSTEM%\ingres\vdba\makiman.out
 rmcmdgen
ingst art -rmcmd

UNIX

 
rmcmdstp
createdb -fnofeclients  – u\$ingres imadb
 sql  – u\$ingres imadb < $II_SYSTEM%/ingres/vdba/makimau.sql >
$ II_SYSTEM/ingres/vdba/makimau.out
 rmcmdgen
ingstart -rmcmd

Note: All checkpoints taken with previous Ingres versions are not compatible with Ingres 2.6/0201. Checkpoints of the iidbdb are strongly recommended at frequent intervals. Generally, these checkpoints require little processor overhead. For table-level rollforwarddb, the -noblobs option has been removed as it makes the table physically inconsistent and unusable. Rollforwarddb no longer supports the
-noblobs option.


Shutting Down an Ingres Installation that Includes an Ingres/ICE Server

In order to shutdown an Ingres installation that includes an Ingres/ICE server the following should be noted. Ingres/ICE HTTP server extensions maintain a pool of client connections to the Ingres/ICE server. The Ingres/ICE server detects these connections as active sessions. To disconnect these sessions the HTTP server extension should be unloaded or if this is not possible, the HTTP server should be shut down. Then, the Ingres installation may be shut down.

An alternative method, without shutting down the HTTP server, would be to force the shutdown of Ingres/ICE before shutting down the remainder of the Ingres installation. This can be achieved through the "stop server" command when in iimonitor for the Ingres/ICE server.


Execution of Remote Commands

Some of the options and/or dialogs in Ingres Visual DBA result in the launch of an Operating System level command on the server. These "remote commands" are performed by a remote command process, "rmcmd" on behalf of Visual DBA.

The rmcmd utility is started and stopped together with Ingres, according to the settings for this component defined in the Ingres Configuration Manager, or in CBF, for the "Remote Command" component.

By default, only the 'ingres' user can use the remote commands from Visual DBA. It is possible for other users to execute commands, by granting them that privilege in the Create/Alter User dialog in Visual/DBA.

The command is launched by the 'ingres' user with the -uusername option (described in the System Administrator's Guide), where the username specified is the username used to connect to Visual DBA. This restriction means that Ingres commands that do not support the -u option are not supported.

If you choose not to grant the Visual/DBA privilege through Visual/DBA, you can do so by executing the following SQL statements while connected to the imadb database as the "ingres" user:

grant select,insert,update,delete on remotecmdinview to <user>

grant select,insert,update,delete on remotecmdoutview to <user>

grant select,insert,update,delete on remotecmdview to <user>

grant execute on procedure launchremotecmd to <user>

grant execute on procedure sendrmcmdinput to <user>

grant register,raise on dbevent rmcmdcmdend to <user>

grant register,raise on dbevent rmcmdnewcmd to <user>

grant register,raise on dbevent rmcmdnewinputline to <user>

grant register,raise on dbevent rmcmdnewoutputline to <user>

grant register,raise on dbevent rmcmdstp to <user>

Note that NO grants should be made to the underlying tables directly.


Exclusive Database Access to imadb

Because the remote command server maintains a connection to imadb, you need to stop the remote command server before performing any operations that require exclusive database access to imadb. Use the rmcmdstp command to stop the remote command server and ingstart –rmcmd to restart it.


OpenROAD Support

This version of Ingres does not support OpenROAD running in the local installation. OpenROAD applications must be run through Ingres/Net.


Support for Unicode

This release contains the first phase of Ingres support for Unicode; further Unicode support will be added to future releases. In this release the DBMS supports three new data-types, nchar, nvarchar, and long nvarchar. These data-types store character data using two bytes for each character. Collation of these data-types uses the standard collation algorithm as defined by the Unicode organization, and the data-types may be used in indexes and database statistics. The native two-byte (UCS2) format is supported and maintained through the entire Ingres process, from the front-end application, through the DBMS, to the data representation on disk. The embedded SQL pre-processor for C and C++ supports declaration of wchar_t variables, which are assumed to contain multi-byte Unicode character strings, VDBA also supports these new data-types. Support for the ODBC and JDBC drivers is present through their normal Unicode interfaces. These new data-types are not supported in any of the Ingres character based tools, or any of the terminal monitors. This release does not support coercion between Unicode data-types and non-Unicode data-types such as char and varchar.


New Character Sets for Euro Currency Symbol Support

Two new character sets which contain the Euro currency sign (€, Unicode U+20AC) have been added: IS885915 and WIN1252.

To set the Ingres Money Format to the Euro Currency Symbol you must issue the following command:

 
ingsetenv II_MONEY_FORMAT L:€

alternatively, this value may be set in the Ingres Visual Manager (IVM)

Windows

WIN1252 corresponds to Windows code page 1252 Latin 1. This is the common character set of most American and Western European Windows PCs and also includes the Euro sign. Users wishing to use the Euro Symbol in a Windows GUI environment will need to select the WIN1252 character set at installation time. To set this code page in a Windows Command Prompt environment, you must issue the following Windows command

 
chcp 1252

The default font in a Windows Command Prompt does not provide support for the Euro Currency Symbol, to counter this you must set the font to Lucida Console. The Lucida Console font has moved the line drawing characters, used in Ingres forms, into an area not accessible to Ingres binaries, so we have provided rudimentary line drawing in the IBMPCD terminal entry. To set this terminal type you must issue the following command

 
ingsetenv TERM_INGRES IBMPCD

or set TERM_INGRES through IVM or specify this terminal type at install time.

UNIX

IS885915 corresponds to the ISO 8859-15 Latin 9 character set which is almost identical to the ISO 8859-1 Latin 1 set, except for eight characters, chief among them is the Euro currency sign (€, Unicode U+20AC).

If you have an existing installation and would like to change the installation's character set, please be aware that this is not normally supported since characters already in your databases could be displayed incorrectly by the new character set. However, since the ISO 8859-15 only has eight characters different from ISO 8859-1, if you can verify that none of the eight characters are already present in your databases, then you could safely change the set (by changing II_CHARSETxx). The following table details these differences, with the corresponding Unicode character names:

Hex

 

ISO 8859-1

 

ISO 8859-15

A4

¤

CURRENCY SYMBOL

€

EURO SIGN

A6

¦

BROKEN BAR

Š

LATIN CAPITAL LETTER S WITH CARON

A8

¨

DIAERESIS

Š

LATIN SMALL LETTER S WITH CARON

B4

´

ACUTE ACCENT

Ž

LATIN CAPITAL LETTER Z WITH CARON

B8

¸

CEDILLA

Ž

LATIN SMALL LETTER Z WITH CARON

BC

¼

VULGAR FRACTION ONE QUARTER

Œ

LATIN CAPITAL LIGATURE OE

BD

½

VULGAR FRACTION ONE HALF

Œ

LATIN SMALL LIGATURE OE

BE

¾

VULGAR FRACTION THREE QUARTERS

Ÿ

LATIN CAPITAL LETTER Y WITH DIAERESIS


Known Issues

Contact Computer Associates Technical Support for a workaround/patch for the following known problems.


DBMS Server and Tools Bugs

Bug Number

Description

106470

gather_write is not supported on Solaris and HP.

106091

The XML import and export utilities do not support float and decimal data types.


DBA Tools Bugs

Bug Number

Description

105480

The option to only refresh performance data when Visual DBA is uppermost is ignored and the refresh happens regardless of whether Visual DBA is uppermost or not.

105483

Table level views are not supported in IJA on UNIX.

105485

Recovering a database level transaction through IJA is not supported on UNIX.

106479

When the maximum number of sessions defined in the VDBA preferences has been reached, VDBA provides a "Connection failure." error, the "Errors" button specifies why it's failing. Clicking the OK button causes VDBA to crash on UNIX.

106461

In VDBA on UNIX, when running an SQL query from the SQL Test window VDBA will hang or crash if the results are displayed as XML. This bug does not exist on Windows.

106480

In VCBF editing the protocol status for a bridge server will cause VCBF to crash on UNIX. Use CBF for this task instead.

105486

On UNIX the Ingres Import Assistant does not provide a file format confirmation page as it does on Windows.


Application Development Tools Bugs

Bug Number

Description

105475

OpenROAD is not supported in a local Ingres 2.6 installation.


Behavior changes between previous releases and Ingres 2.6


Query compilation and OPF memory

The Ingres query optimizer has been altered to produce query plans more efficiently for certain types of queries. In most cases, less query optimizer memory will be used, but there are some cases where more optimizer memory is required than previous releases in order to optimize a query. If a query runs out of optimizer memory when it did not do so before, then one of these cases may have occurred. In order to fix the problem, increase the amount of optimizer memory available to the DBMS.


Transaction Log File Size

The minimum transaction log file size was increased for Ingres 2.5 and beyond, if you have an existing transaction log file that is less than 16 Mb, you must destroy the transaction log and re-create it with a size of at least 16 Mb before upgrading to Ingres 2.6.


Row order changes

Because of enhancements to the Ingres query optimizer the default order in which query results are returned where an 'order by' clause is not explicitly specified may differ from previous releases. If results are required in a particular order, then the 'order by' clause should be used to specify this.


Contacting Technical Support

For further technical assistance with this product, please contact Technical Support at esupport.ca.com for a complete list of locations and phone numbers. Technical support is available 24 hours a day, 7 days a week.


Acknowledgements

Copyright © 2001 Computer Associates International, Inc.

All trademarks, trade names, service marks, and logos referenced herein belong to their respective companies.

This product includes software developed by the Apache Software Foundation http://www.apache.org ; (c) 1999 The Apache Software Foundation. All rights reserved. THE APACHE SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THE APACHE SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


Appendix: Supplemental Information for Microsoft Windows

This version of Ingres is supported on Microsoft Windows NT Workstation and Server Version 4.0 with Service Pack 5 and above; Microsoft Windows 2000 and Microsoft Windows XP Professional. In addition, the client components may be installed on Microsoft Windows '98 and Microsoft Windows Me. This version of Ingres cannot be installed from a Microsoft Terminal Services Client.

Embedded SQL/C applications must be built with Microsoft Visual/C++ Versions 6.0 only. Use of earlier versions of the compiler may result in undesired behavior.

For an up-to-date list of supported operating environments, please visit the Ingres product page from the CA Support web site at esupport.ca.com.


Multiple Ingres 2.6 Instances on a Windows Machine

Ingres 2.6 enables the installation of multiple copies of Ingres on a single Windows machine. Each Ingres instance is identified by a unique installation identifier (II_INSTALLATION). This installation identifier is included in the program group name and the service name, so as to avoid confusion. We strongly recommend that you start Ingres programs from the Windows Start Menu so that you may clearly identify which installation a given program belongs to.

When working in a Windows Command Prompt environment, you must ensure that the value of II_SYSTEM is set correctly for that environment, and that the search, include, and lib paths list the Ingres directories in the desired order.


ODBC Driver

The Ingres/ODBC 3.5 driver is automatically installed with this version of the Ingres DBMS or Ingres/Net.

The Ingres/ODBC 3.5 driver is supported with Microsoft Transaction Server.


Support Qualifications

Third Party Web Servers

This version of Ingres has been designed to work with the following third party web servers:

*       iPlanet™ Web Server Enterprise Edition versions 4.x and 6.0

*       Apache HTTP server 1.3

*       Microsoft Internet Information Services 4.x and 5.0


Upgrade Notes

Configuration Alterations

The default value for the buffer_count parameter under "logging" in CBF or Configuration Manager for versions earlier than 2.5 was 4. In order to upgrade successfully to 2.6, this parameter must be set to at least 20.


Application Migration and Development Notes

Preprocessor and Compiler Support

This version supports the C and C++ language compiler Microsoft Visual C++ Release 6.0.


GUI Database Administration Tools

QUEL Support

Views defined in QUEL will now be displayed in Visual DBA.

Copying a Table Using Drag-and-Drop Method

In Visual DBA, copying a table using the drag-and-drop technique does a "COPY INTO" of the table rows into a local temporary file, followed by a "COPY FROM" into the new table, and then removes the temporary file.

Importing from Excel Spreadsheets with Ingres Import Assistant

When saving the contents of an Excel spreadsheet for import into Ingres using Ingres Import Assistant, it is recommended that you "Save as…" dBASE Format (DBF).


Replicator Issues

Replicator Manager CreateKeys

If the BothQueue&ShadowTable option of CreateKeys (under Configuration, Table Registration) is used, the rows placed in the input queue will not be transferred immediately to the distribution queue. To affect the transfer, ensure that all users disconnect from the database.

User Defined Procedures

In previous versions of Replicator, the ability to customize Change Recording procedures existed. The rationale for this customization capability was the non-deterministic order of firing of multiple rules on a given table. Since Change Recording is now implemented in the DBMS Server, this customization capability is no longer necessary. If you have custom "rules" (actually, procedure template files) from a previous release, you can implement them in Ingres 2.6 as regular database procedures triggered by rules.

Adobe Acrobat Reader 5.0

The Acrobat reader is included on this CD for your convenience. You can install the Acrobat Reader by running the rp500enu.exe self-extracting installation program located in the \doc directory on the CD, should you choose not to install it when installing Ingres.


Copyright © 2001 Computer Associates International, Inc.
All trademarks, trade names, service marks, and logos referenced herein belong to their respective companies.