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 SUN Solaris
ODBC Driver

Installation Notes
Mounting the CD
Installing from a Remote Host
Disk Space Requirements
Semaphores and Shared Memory
Syscheck -v
Environment Configuration
Preprocessor and Compiler Support
Ingres/ABF and FORTRAN
Interoperability
GUI Database Administration Tools
Replicator Issues
Behavioral Changes From Previous Releases


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.

106461

In VDBA, when running an SQL query from the SQL Test window VDBA will hang or crash if the results are displayed as XML.

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 SUN Solaris

This release of Ingres is supported on Sun SPARC machines running the Solaris operating system version 2.6, 2.7 and Solaris 8.

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.


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 requires a driver manager. We suggest the use of the Merant ODBC Driver Manager.

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.1

*       Apache HTTP server 1.3


Installation Notes

Use the following information in conjunction with the Getting Started guide. Information presented here supersedes information in the Getting Started guide.

This release of Ingres contains visual tools which can be used on UNIX platforms; they are part of the Ingres Visual Management Tools package. Prior to using these visual tools, you must add /usr/local/CAlib to your shared library path.

Additionally, the following must be executed:

For C shell:

% setenv MWHOME $II_SYSTEM/ingres/mwrun/mw

% source $MWHOME/setmwruntime.csh

For Bourne shell:

$ export MWHOME=$II_SYSTEM/ingres/mwrun/mw

$ . $MWHOME/setmwruntime

If multiple installations of Ingres are installed on the same UNIX machine, then all installations should use one common MWHOME. Each installation may use its own visual tools, but MWHOME should be set to the same directory for all installations. The visual management tools may hang if there are multiple MWHOME settings. In order to keep multiple installations independent, it recommended that MWREGISTRY is set to point to location unique to each installation before running $MWHOME/setmwruntime. This location should be writable by all users intended to use the Visual Management Tools and should be of the form:

For C shell:

% setenv MWREGISTRY <absolute path to directory>/<registry filename>

For Bourne shell:

$ export MWREGISTRY= <absolute path to directory>/<registry filename>


Mounting the CD

Please note that the instructions provided in this section for mounting the CD-ROM drive on your machine should be taken as an example only. To mount the CD-ROM drive from a local host and perform the installation, do one of the following (Note that if you have automount enabled on your system for the CD-ROM drive, then neither of these will be necessary, and an attempt to execute the mount command will produce an error indicating that the device is busy)

EITHER:

1. Login as root and put the following entry in /etc/vfstab:

/dev/dsk/c0t6d0s2 /cdrom hsfs ro,noauto 0 0

2. Place the CD-ROM media in the CD-ROM drive and execute the following command:

$ /usr/sbin/mount /cdrom

3. Continue as with any other installation. See the Getting Started for more information.

OR:

1. Log in as root and execute the following command

$ /usr/sbin/mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /cdrom

Continue as with any other installation. See the Getting Started for more information.


Installing from a Remote Host

The unload command from a remote host for Solaris machines is as follows:

% remsh <remotehost> "dd if=<distribname> bs=20b | compress" | \

% uncompress | dd \ bs=20b | tar xvf - install


Disk Space Requirements

These are the disk space requirements for Solaris with the following system configurations:

System Configuration

Space Required

DBMS Server with Ingres Net

110 MB

DBMS Server with Ingres Tools

140 MB


Semaphores and Shared Memory

Ingres requires semaphores and shared memory to be loaded. You can do so by adding set commands to the /etc/system file. The following is an example of the statements you should add:

forceload: sys/semsys

forceload: sys/shmsys

set semsys:seminfo_semmap=1

set semsys:seminfo_semmni=100

set semsys:seminfo_semmns=1000

set semsys:seminfo_semmnu=30

set semsys:seminfo_semmsl=50

set semsys:seminfo_semopm=10

set semsys:seminfo_semume=10

set semsys:seminfo_semusz=96

set semsys:seminfo_semvmx=32767

set semsys:seminfo_semaem=16384

set shmsys:shminfo_shmmax=100000000

set shmsys:shminfo_shmmin=1

set shmsys:shminfo_shmmni=100

set shmsys:shminfo_shmseg=10

Important! The shminfo_shmmax value has increased from previous versions.

Notes:

You must reboot for these statements to be executed.

The minimum value required for seminfo_semmns is the sum of the number of semaphores required by non-Ingres processes, plus 5 for each Ingres installation running, plus 30 for each Ingres DBMS server running. Thus, a system running two Ingres installations, with three DBMS servers each, requires that seminfo_semmns be set to at least 190, and may require a higher value to accommodate other software. We recommend that this value be configured generously.

The minimum value required for shminfo_shmmax is at least as large as the largest shared memory segment that Ingres will allocate on your system. The recommended value of 100000000 is generally sufficient. Small systems with only a few users may be able to run with shminfo_shmmax set to 5000000 or less. Conversely, a very large shared DMF cache may require that shminfo_shmmax be set to 150000000 or more. The syscheck utility can be used to determine the size of the shared memory segments Ingres will allocate and whether the current value of shminfo_shmmax is adequate.


Syscheck -v

You may see a discrepancy between what the C-shell command "limit" returns and what syscheck -v returns for the per-process limit on open file descriptors. This is because Ingres extends its default per-process limit for open file descriptors. The output from syscheck -v is correct. Here is a description of how to interpret the output:

System Hard Limit

This is the absolute maximum number of open file descriptors that the operating system will permit. On Solaris, this value is 1024.

System Soft Limit

This is the maximum number of open file descriptors that Ingres could conceivably get, depending on how many open files other processes have at that point in time. This value is also 1024 because Ingres uses SETRLIMIT() to extend the default value of 64.


Environment Configuration

This release of Ingres supports the use of shared libraries. The LD_LIBRARY_PATH environment variable must be set in order to add the Ingres shared libraries to your shared library. Set this variable as follows:

For C shell:

$ setenv LD_LIBRARY_PATH "/lib:/usr/ccs/lib:/usr/ucblib: \

$II_SYSTEM/ingres/lib:$LD_LIBRARY_PATH"

For Bourne shell:

$ LD_LIBRARY_PATH= /lib:/usr/ccs/lib:/usr/ucblib:$II_SYSTEM/ingres/lib:\

$LD_LIBRARY_PATH

$ export LD_LIBRARY_PATH


Preprocessor and Compiler Support

The following compilers are supported for this release:

Sun Workshop Compilers C/C++ 4.2, 5.0

Sun Workshop Compilers FORTRAN 4.2

COBOL Micro Focus COBOL

Sun Workshop Compilers ADA 2.0

A default C compiler (/usr/ucb/cc) is included with the Solaris operating system. This compiler cannot be used to create executable images in ABF. The optional SPARC C compiler must be used for ABF. If installed, these compilers are located in /opt/SUNWspro/bin respectively.

If the command "which cc" returns the value "/usr/ucb/cc", you must change your search path to include the correct compiler location before /usr/ucb.


Ingres/ABF and FORTRAN

The F77 FORTRAN libraries required for the F77 compiler have changed locations and some libraries have been deleted for the newer versions of the compiler. Users who have F77 should determine which version of the compiler they are using and verify the location of the required libraries. If you are using FORTRAN procedures within your Ingres/ABF applications, you must link in the required FORTRAN libraries. The following is a list of the required libraries for the various F77 versions and additional lines that you should add to your abflnk.opt and abfdyn.opt files. The libraries are located in: /opt/SUNWspro/lib. The abflnk.opt and abfdyn.opt files are located in the $II_SYSTEM/ingres/files directory. Add these lines to abflnk.opt and abfdyn.opt:

 
-L$II_SYSTEM/ingres/lib -linterp.1 -lframe.1
-lq.1 -lcompat.1 -lcurses -lgen
-L/opt/SUNWspro/lib -lF77 -lm

If you develop some applications which use FORTRAN procedures and some which do not, you can eliminate the FORTRAN libraries from the *.opt files and create a new option file with just the FORTRAN libraries. Then define the environment variable ING_ABFOPT1 to point to the new option file. If you are already using this environment variable to point to an option file that includes your own user libraries, you can add the FORTRAN libraries to your existing file. The benefit of this method is that you will not link in the FORTRAN libraries if you are not using FORTRAN procedures. For applications linked with the shared FORTRAN system library (default), you must include the location of that library in the search path that is defined by the environment variable LD_LIBRARY_PATH.


Interoperability

This release supports the following communication packages:

Network Protocol

Version

Ingres/Net Protocol ID

SUN TCP/IP

All versions

TCP_IP

SUN SNA LU62

SunLink SNA

SNA_LU62


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.


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.


Behavioral Changes From Previous Releases

Support for Priority Paging

The algorithm used on Solaris to determine paging priority determines the priority of an in-memory page using the file attributes of the file from which it was paged. Pages from executable files have a higher priority than pages from data files. Prior to release 2.6, Ingres would make all database data files executable, giving them a higher priority in the system cache. This action second-guesses the systems paging algorithm, and may have a detrimental effect on system performance, because executable image pages may be paged out in favor of Ingres data pages. In this release, any newly created Ingres data files will not be executable, allowing the Solaris paging algorithm to treat them as normal data pages when executing its paging algorithm. Pre existing data file attributes will not be changed, and if the new behavior is desired throughout Ingres, the system administrator will need to run the chmod Unix command on all existing Ingres data files.


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