













                            Release Notes for

                         OpenIngres Release 2.0/00

                              August 1997



 PROPRIETARY AND CONFIDENTIAL INFORMATION

 This documentation contains, and is part of a computer software
 program which is proprietary and confidential information owned by
 Computer Associates International, Inc.  No part of this 
 documentation may be copied, photocopied, reproduced, translated,
 microfilmed, or otherwise duplicated on any medium without the
 express written consent of Computer Associates International, Inc.

 Use of the software programs described herein and this 
 documentation is subject to the Computer Associates license
 agreement enclosed in the software package.

 All product names referenced herein are trademarks of their
 respective companies.


 RESTRICTED RIGHTS LEGEND

 Use, duplication, or disclosure by the United States
 Government ("the Government") is subject to restrictions set
 forth in A) subparagraph (c) (2) of the Commercial Computer
 Software Restricted Rights clause at FAR 52.227-19, and/or
 B) subparagraph (c)(1)(ii) of the Rights in Technical Data
 and Computer Software clause of DFAR 252.227-7013.  This
 software is distributed to the Government by:

              Computer Associates International, Inc.
                  One Computer Associates Plaza
                     Islandia, NY 11788-7000

 Unpublished copyrighted work all rights reserved under the
 copyright laws of the United States.

 This material may be reproduced by or for the United States
 Government pursuant to the copyright license under the
 clause at DFAR 252.227-7013 (OCTOBER 1988).

 Copyright 1997 Computer Associates International, Inc. 
 One Computer Associates Plaza, Islandia, NY 11788-7000
 All rights reserved.


 Call Computer Associates technical services for any
 information not covered in this document or the related
 publications. In North America, see your Computer Associates
 product Support Directory for the appropriate telephone
 number to call for direct support, or you may call
 1-800-645-3042 or 1-516-342-4683 and your call will be
 returned as soon as possible.

 Outside North America, contact your local Computer
 Associates technical support center for assistance.







                           OpenIngres Release 2.0/00
                              (Dated August 1997)

                      For use with the OpenIngres 2.0/00
                           Release Notes Supplement

                                     and 

                        OpenIngres 2.0 Getting Started
        

 Please make sure that copies of the generic and supplemental
 release notes are distributed to the systems administrator,
 database administrator, and applications developers using
 OpenIngres at your site. These documents contain release
 notes of interest to each of these areas.

 The OpenIngres 2.0/00 Release Notes and Release Notes
 Supplement contain information not covered in the
 Getting Started guide or in any other OpenIngres document.
 The Release Notes Supplement provides information, in
 addition to that in the generic Release Notes, that is
 specific to a given operating system or that became
 available after the generic Release Notes were completed.

 Read the "Read This Before You Install" chapter in the
 OpenIngres 2.0/00 Release Notes and the Release Notes
 Supplement before installing OpenIngres.




                              Table of Contents

 1.0 PREFACE ...................................................
     1.0.1 Before You Begin ....................................
     1.0.2 Audience ............................................
     1.0.3 Related Guides ......................................
 2.0 READ THIS BEFORE YOU INSTALL ..............................
     2.0.1 Conversion Notes ....................................
     2.0.2 Installation Notes ..................................
     2.0.3 General Notes .......................................
 3.0 NEW FEATURES for OpenIngres 2.0............................
 3.1 OpenIngres 2.0 DBMS Features ..............................
     3.1.1 Variable Page Size ..................................
     3.1.2 New Page Format for Larger Page Size ................
     3.1.3 Larger Tuple Support ................................
     3.1.4 Distributed Multi-Cache Management ..................
     3.1.5 Enhanced Performance of Locking/Logging and 
           Buffer Manager ...................................
     3.1.6 Interval Based Deadlock Detection ...................
     3.1.7 Row Level Locking & Transaction Isolation Levels ....
     3.1.8 Alter Table Support .................................
     3.1.9 Async I/O Support ...................................
     3.1.10 Parallel Backup and Restore ........................
     3.1.11 Fast Load Support ..................................
     3.1.12 R-Tree Support: A Spatial Index for OpenIngres 2.0 .
     3.1.13 Statement Level Rules ..............................
     3.1.14 Temporary Tables as Procedure Parameters ...........
     3.1.15 Other Optimizer Enhancements .......................
     3.1.16 Operating System Thread Support ....................
     3.1.17 Table Cache Priorities .............................
     3.1.18 Transaction Access Mode ............................
     3.1.19 Soundex Function ...................................
 3.2 OpenIngres 2.0 Star Features ..............................
 3.3 OpenIngres 2.0 Net Features ...............................
     3.3.1 Protocol Bridge Support .............................
     3.3.2 Data-Stream Compression Support .....................
     3.3.3 SNA Duplex Support ..................................
     3.3.4 DECNet/OSI Support ..................................
 3.4 OpenIngres 2.0 OpenAPI ....................................
     3.4.1 Multi-Threaded OpenAPI ..............................
     3.4.2 OpenAPI Support for Autocommit ......................
     3.4.3 Enhanced OpenAPI Support for Database Events ........

 3.5 OpenIngres/ICE 2.0 Features ...............................
 3.6 OpenIngres Visual DBA 2.0 Features ........................
 3.7 OpenIngres 2.0 Server-Based Replication ...................
     3.7.1 Bulk Deleting/Modify to Truncated ...................
     3.7.2 OpenIngres/Replicator Manager CreateKeys ............
     3.7.3 User Defined Procedures .............................
     3.7.4 Replicating Between CA-OpenIngres 1.2 and 
           OpenIngres 2.0 ......................................
     3.7.5 convrep Utility .....................................
 3.8 Known Problems in OpenIngres ..............................
     3.8.1 Server Bugs .........................................
     3.8.2 Star Bugs ...........................................
     3.8.3 Replicator Bugs .....................................
     3.8.4 Front-end and Tools Bugs ............................
 3.9 OpenIngres Tuxedo Support .................................
 3.10 Dates after the Year 1999 ................................
 4.0 APPLICATION MIGRATION AND DEVELOPMENT INFORMATION .........
 4.1 Upgrading 1.x to 2.0 Installation Notes ...................
     4.1.1 New OpenIngres 2.0 Installations ....................
     4.1.2 Upgrading 6.4/1.x Database(s) to OpenIngres 2.0 .....
     4.1.3 Upgrading Existing 2.0 Installations.................
 4.2 CA-Ingres 1.x Support .....................................
 5.0 DOCUMENTATION ANNOUNCEMENTS ...............................
     5.0.1 Known Documentation Problems ........................
     5.0.2 Changes to Documentation ............................


 6.0 SUPPLEMENT - PLATFORM-DEPENDENT INFORMATION ...............






 1.0 PREFACE

 These Release Notes provide important information for installing 
 OpenIngres Release 2.0/00.  In response to customer requests, 
 these notes have been reorganized to highlight critical information
 that you must have before installing this release.  This critical
 information is contained in the "Read This Before You Install" 
 section.

 Section 3 describes new features in this release which are not
 documented in the Release Summary.

 Section 4 provides a discussion of issues that can affect the smooth
 migration of your Release 1.x applications to Release 2.0/00.

 Section 5 describes documentation announcements.

 Descriptions of many of the new features available with this release
 are published in a new document, Release Summary, 2.0.

 1.0.1 Before You Begin

 Refer to the Getting Started guide for your operating system
 before you begin installing OpenIngres Release 2.0/00.
 These OpenIngres 2.0/00 Generic Release Notes apply
 across many supported operating systems and provide
 additional information that is not covered in the
 Getting Started guide. Use the Release Notes Supplement for
 your specific operating system in conjunction with these
 Generic Release Notes. The Release Notes Supplement provides
 additional information that is not covered in the
 Getting Started guide and is specific to a given operating
 system.

 1.0.2 Audience

 The section is directed toward the System Manager who will be 
 installing the products.  Subsequent sections contain migration 
 and reference information appropriate to experienced developers
 and users of OpenIngres and OpenIngres tools.

 1.0.3 Related Guides

 These release notes are part of a series of guides describing the 
 full range of OpenIngres and OpenIngres tools products.  The
 guides that are relevant to the information in these notes are:

  o  Getting Started
  o  OpenIngres System Reference Guide
  o  OpenIngres Database Administrator's Guide
  o  OpenIngres/Net User Guide for UNIX and VMS
  o  OpenIngres/Net User Guide for NT
  o  OpenIngres/SQL Reference Guide
  o  OpenIngres Release Summary, 2.0




 2.0 READ THIS BEFORE YOU INSTALL

 This chapter covers critical release note information that
 System Managers must have before they upgrade or install
 this release.  This information includes warnings and changes
 of major impact that might affect the timing or successful
 completion of an upgrade or installation.

 2.0.1 Conversion Notes

 The conversion notes are included in the Release Notes
 Supplement.

 2.0.2 Installation Notes

 The installation notes are included in the Release Notes
 Supplement.

 2.0.3 General Notes

 All the utilities that were available in CA-OpenIngres 1.x are
 present in OpenIngres 2.0.  If you are upgrading from 1.x, you
 must checkpoint your database before you carry out any operation
 on the database.  All previous checkpoints from 1.x are not
 compatible with OpenIngres 2.0.

 Checkpoints of the iidbdb are strongly recommended at frequent
 intervals.  Generally, these checkpoints require little processor
 overhead.

 For table level rollforwarddb, the -noblob option has been removed
 (it makes the table physically inconsistent and unusable).
 Rollforwarddb no longer supports the -noblob option.

 Notes for all OpenIngres 2.0 Beta clients:
 Please re-install OpenIngres 2.0.  Upgrades from prior Beta releases 
 of OpenIngres 2.0 may not work correctly, especially if you are using
 larger page sizes. If you need to use your OpenIngres 2.0 Beta
 databases, you must unload and reload your data.


 3.0 New Features for OpenIngres 2.0
 
 Please refer to OpenIngres 2.0 Release Summary for additional
 information.

 
 3.1 OpenIngres 2.0 DBMS Features

 3.1.1 Variable Page Size

 OpenIngres now supports multiple page sizes. The supported 
 page sizes are 2Kb, 4Kb, 8Kb, 16Kb, 32Kb, and 64Kb. The following semantic
 change has been made to DDL to support the Variable Page Sizes.

 A PAGE_SIZE clause has been added to CREATE TABLE, CREATE INDEX,
 MODIFY, and DECLARE GLOBAL sql statements:

 CREATE TABLE ...... WITH PAGE_SIZE=n;
 CREATE INDEX ...... WITH PAGE_SIZE=n;
 MODIFY TABLE ...... WITH PAGE_SIZE=n;
 DECLARE GLOBAL .... WITH PAGE_SIZE=n;
	
 where valid page sizes are 2048, 4096, 8192, 16384, 32768, and 65536.

 If the WITH PAGE_SIZE clause is omitted, OpenIngres uses
 the configuration parameter default_page_size to determine the
 page size. For compatibility reasons, default_page_size defaults to
 2048 (2Kb).

 The different page sizes are not automatically available.  The DBA 
 must configure the buffer cache of the installation to a 
 specific page size; otherwise an error will occur.  Please refer to 
 the Database Administrator's Guide for new  buffer manager 
 configuration parameters, IMA changes, and standard catalog 
 interface changes.

 3.1.2 New Page Format for Larger Page Size

 OpenIngres 2.0 uses a different physical page format for
 larger page sizes. The page headers have been modified for larger
 page sizes to provide 64-bit TID support in the future.  Additional 
 features such as larger tuples, alter table support, and row
 level locking utilize the new page formats and are available
 only for larger page sizes.  With larger pages, for each tuple a
 24-byte tuple header is stored and the line table entry for larger
 page sizes has been increased to 4 bytes.  Please refer to the 
 Database Administrator's Guide and System Reference Guide for 
 details.

 3.1.3 Larger Tuple Support

 OpenIngres now supports larger tuples (up to 32Kb) with larger
 page sizes (64Kb).  The availability of larger tuples is dependent on
 the availability of larger pages, for example, through buffer manager 
 configuration.  With larger pages, maximum tuple length of the 
 installation can be configured by the configuration parameter 
 max_tuple_length.  If max_tuple_length is set to a larger values,
 DBMS server/Star Server and Recovery Server will require more
 memory.  For compatibility reason, the max_tuple_length parameter 
 defaults to 2008 bytes.  A value between 1 to 2008 is not 
 recommended. If the max_tuple_length is set to 0, max_tuple_length 
 will be dependent on the availability of the larger buffer manager.


 3.1.4 Distributed Multi-Cache Management

 OpenIngres 2.0 now supports Distributed Multi-Cache Management.
 You may use multiple servers using private buffer caches and 
 fast-commit. The Distributed Multi-Cache Management exploits the 
 Cluster Technology using a shared disk.  An installation can use 
 either shared cache or distributed multi-cache.  No mixture is 
 permitted. Unlike non-fast-commit servers, Distributed Multi-Cache 
 Management allows DBAs to configure the servers using fast-commit.  
 Distributed Multi-Cache Management should not be used in a single 
 CPU machine or when a single (sole) server is used.  A new 
 configuration parameter, dmcm, has been added to configure 
 Distributed Multi-Cache Management.

 3.1.5 Enhanced Performance of Locking/Logging and Buffer Manager

 OpenIngres 2.0 is optimized for performance using multiple
 mutexes to protect the internal critical data structures for the
 DBMS.  Changes in the log records render all the previous checkpoints
 invalid.  So after you upgrade to OpenIngres 2.0, we recommend 
 that you checkpoint all your databases for further recovery.  
 Old checkpoint files from CA-Ingres 6.4 and CA-OpenIngres 1.2 cannot 
 be rolled forward in OpenIngres 2.0.

 3.1.6 Interval Based Deadlock Detection

 OpenIngres 2.0 now uses an interval based deadlock mechanism
 to detect deadlocks. This also optimizes the contention within the
 OpenIngres lock manager and reduces CPU usage by the OpenIngres
 DBMS. Prior to OpenIngres 2.0, all locks caused a deadlock search 
 when blocked. In OpenIngres 2.0, we check for deadlocks at a 
 regular interval. A new special thread in the recovery server has 
 been created to do this Interval Based Deadlock Detection.
 The interval for deadlock detection is controlled dynamically by
 the OpenIngres 2.0 server based on the server utilization.

 3.1.7 Row Level Locking & Transaction Isolation Levels

 OpenIngres 2.0 supports row locking for tables created with page
 size greater than 2k.  The user may request row locking in cases 
 where page locking causes unnecessary contention. Row locking 
 is now only available to fast-commit servers. Row locking cannot be 
 used with distributed multi-cache (DMCM) servers.

 The SET LOCKMODE statement allows you to set the lock granularity,
 overriding the default locking strategy selected by the optimizer.
 The syntax for the SET LOCKMODE statement has been changed to
 support LEVEL=ROW.
							      
	SET LOCKMODE SESSION | on table 
	WHERE LEVEL = ROW | PAGE | TABLE | SESSION | SYSTEM

 Since it is difficult for an optimizer to determine when to use row 
 locking, the decision must be made by the user with the SET LOCKMODE
 statement.  The default lock granularity is PAGE.


 Row locks and intended page locks will be counted per transaction, 
 and escalation to TABLE locking will occur if this count reaches
 the "maximum locks per transaction". Row locks and intended page
 locks will not be counted for the "MAXLOCKS" per query.

 OpenIngres 2.0 now supports four SQL-92 transaction isolation 
 levels.  The supported levels are SERIALIZABLE, REPEATABLE READ, 
 READ COMMITTED, and READ UNCOMMITTED. The new SET TRANSACTION 
 statement specifies the isolation level for a transaction. 
 The syntax of the statement is:
	     
	<set transaction statement> ::=
		SET TRANSACTION <isolation level>
				      
	<isolation level> ::=
		ISOLATION LEVEL <level of isolation>
							       
	<level of isolation> ::=
		  READ UNCOMMITTED | READ COMMITTED |
                     REPEATABLE READ | SERIALIZABLE

 The default isolation level is SERIALIZABLE.

 The default isolation level for a DBMS server may be configured by
 editing a new DBMS Server configuration parameter 'system_isolation'.
 Acceptable values are serializable, repeatable_read, read_committed
 and read_uncommitted.

 The isolation level for a session may be specified with a new SET SESSION 
 option:

	SET SESSION ISOLATION LEVEL < level of isolation >

	<level of isolation> ::=
		  READ UNCOMMITTED | READ COMMITTED |
                     REPEATABLE READ | SERIALIZABLE

 3.1.8 Alter Table Support
	
 In OpenIngres 2.0, the alter table statement now supports add and
 drop column functionality. The following semantic changes have been 
 added to SQL to support the addition and deletion of columns 
 from the existing tuple:

	ALTER TABLE .... 
	    ADD [COLUMN] column_name format [null_clause] 
			[default_clause] [column_constraint] |
	    DROP [COLUMN] column_name RESTRICT | CASCADE

 In this release, "NOT NULL" in the null_clause and "WITH DEFAULT" in
 the default_clause is not supported.  Alter Table add/drop column
 is only available to page sizes larger than 2048 KB.  OpenIngres 2.0 
 uses a versioning technique to support the above SQL-92 compliant
 ALTER TABLE statement.  For performance reasons, the statement does
 not update user data. The newly added column now defaults to NULL 
 value for the existing rows.  Please note that alter table statement 
 does not reclaim space for the deleted column(s). Please modify the 
 table to reclaim the space for the deleted column(s).

 3.1.9 Async I/O Support

 On operating systems that support asynchronous I/O, OpenIngres
 allows the use of either I/O slaves or in-process asynchronous I/O,
 which may provide a performance improvement for those systems.
 
 The basic tenet for a DBMS (and RCP) server is that disk I/O should
 never cause the server to block while there is other work pending.
 To achieve this, OpenIngres has passed all disk I/O requests to
 separate processes (called "I/O slaves"), up to a limit of 30 per
 server, to do the actual disk operations.  The slave processes
 perform the task synchronously and notify the server when it is
 completed.
  
 Each I/O operation using I/O slaves involves, among other things,
 a number of context switches from server to slave and back again.
 Context switching between processes is a rather expensive task 
 when compared to context switching within a process. 
 Performing the same non-blocking I/O within the server process 
 provides a more efficient way to achieve non-blocking I/O.
   
 OpenIngres 2.0 provides a new per-server configuration 
 parameter called "async_io" that can be set in CBF to enable 
 the in-process asynchronous I/O and disable I/O slaves. In a 
 multiple-server installation, each server can be configured 
 separately to use either slaves or asynchronous I/O.

 3.1.10 Parallel Backup and Restore
	
 o Parallel Checkpointing to Disk

 To checkpoint a multi-location database to disk in parallel, use the
 #m flag followed by the number of parallel checkpoints to be run:

	ckpdb #m2 dbname

 This will save two data locations at a time to the II_CHECKPOINT 
 location.
	    
 o Parallel Checkpointing to Tape

 To checkpoint a multi-location database to tape in parallel, list 
 the devices to be used with the -m flag:

	ckpdb -m/dev/rmt/0m,/dev/rmt/1m dbname
		       
 This will save one location per tape.  The first location will 
 be stored on device 0m.  The second location will be stored on 
 device 1m.  The third location will be stored on whichever device 
 is done first.  The remaining locations will be stored on the next 
 free device.  The operator will be prompted to insert a new tape for 
 each location.
		
 o Parallel Rollforwarddb from Disk
 
 To rollforward a multi-location database to disk in parallel, use the
 #m flag followed by the number of parallel restores to be run:

	rollforward #m2 dbname
				   
 This will restore two data locations at a time from the II_CHECKPOINT
 location.
				    
 o Parallel Rollforwarddb from Tape

 To rollforward a multi-location database from tape in parallel, list 
 the devices to be used with the -m flag:
			      
	rollforward +c -m/dev/rmt/0m,/dev/rmt/1m dbname
					       
 The first location will be restored from device 0m.  The second 
 location will be restored from device 1m.  The third location will 
 be restored from whichever device is done first.  The remaining 
 locations will be restored from the next free device.  The operator 
 will be instructed to insert the numbered tape into the free device.

 3.1.11 Fast Load Support

 OpenIngres 2.0 supports a new fast bulk loading of data into a 
 single table in a single database; the fastload command can load 
 binary formatted files into database tables.  In contrast to the copy 
 statement, the fastload command is run from the command line and 
 uses OpenIngres low level record management functions directly 
 to load the data.  It does so without the use of a connection to an 
 OpenIngres DBMS, and thus avoids passing data through 
 communications channels on the system.  The user's process will both 
 read the input file and write to the table in the database.  The 
 loading of some complex data types, and the use of some table 
 structures are not supported in all situations. 

 See the Database Administrator's Guide for details.
	     
 3.1.12 R-Tree Support : A Spatial Index for OpenIngres 2.0

 This is a new access method for secondary indexes on ordered pair 
 data.  This is directed at spatial data types, but it can be extended 
 to user-defined types.  RTree indexes can be created for any base 
 table type: btree, hash, heap, and isam, using the CREATE INDEX 
 command with WITH STRUCTURE=rtree syntax.

 This access method provides lightening lookup to solve range 
 queries and spatial joins for large numbers of objects. Record 
 pointers are stored in spatial sequence (that is, consecutive 
 objects in the index represent objects that are physically close). 
 An RTree index participates in the usual query optimization and 
 is used with the operators: inside, intersects, and overlaps.
						 

 o Spatial Data Types and Operators

 There are now integer forms of point, box, lseg, line, polygon, and
 circle.  Up to 249 ipoints can be used in an iline, versus 124 points
 in a line.  Line, iline, polygon, and ipolygon are stored in 
 compressed variable length form when "compression=data" is defined 
 for the table. Spatial data types can be constructed from their 
 base components.  For example, mybox = box (llpoint, urpoint).

 New data types, "nbr" and "hilbert", can be used to order  
 spatial data.  New "overlaps" operator determines if two objects 
 have any points in common.  Spatial operators now support infix 
 notation.  For example:
	
	select count(*) where property_location intersects pond-area;

 3.1.13 Statement Level Rules

 Prior to OpenIngres 2.0, row level rules support resulted in the 
 invocation of the rules procedure for every row qualified by the 
 triggering statement. This can entail a significant amount of 
 overhead, particularly for auditing rules applications that may 
 be interested in the number of rows touched rather than their 
 actual contents. The statement level rules feature of 2.0 allows 
 users to create rules that call the corresponding procedure exactly 
 once for each execution of the triggering statement, rather than 
 once for each row touched.  In fact, the same information is still 
 made available to the procedure as with row level rules.  For each 
 qualifying row touched by the triggering statement, OpenIngres 
 inserts a row into an internal temporary table.  This row contains 
 the data from the parameter list of the rule definition's execute 
 procedure statement.  The entire temporary table is then passed to 
 the rule procedure for processing (see the "Temporary Tables 
 as Procedure Parameters" section).
	     
 3.1.14 Temporary Tables as Procedure Parameters

 OpenIngres database procedures currently have limited 
 ability to process bulk information. This is largely the result of 
 the restriction requiring that scalar parameters be passed between 
 the caller and the procedure.  Release 2.0 now permits a global 
 temporary table to be passed as a parameter to an OpenIngres 
 database procedure. The temporary table can contain as many rows 
 as desired upon entry to the procedure, permitting the procedure 
 statements to process all the data with a single call.  Likewise, 
 the temporary table can be empty on entry to the procedure, 
 to be filled by retrieval statements inside the procedure.  
 The declaration of the temporary table inside the procedure allows 
 it to be treated as any other OpenIngres table.  It can be 
 referenced in the "from" clause of a select or update statement, 
 and can be the target of an insert, delete, or update statement 
 within the procedure.  The potential effect of the feature is 
 to reduce the number of procedure calls required to 
 process a given quantity of data.


 3.1.15 Other Optimizer Enhancements

 Several changes were made to the OpenIngres optimizer in 
 release 2.0 to improve the quality of the generated query plans.  
 The changes include the following:

   * reduction in size of generated query plans
   * improvement of join cardinality estimates
   * improvement of selectivity estimates for "<>" (not equals)
       restriction predicates
		   
 Following similar improvements in release 1.2 of OpenIngres, 
 changes were made to various internal query plan structures to 
 further reduce the size of query plans generated by release 2.0. 
 The combined effect of the 1.2 and 2.0 changes reduces typical 
 query plans by 40% to 60%.  This frees QSF cache for use by more 
 queries, resulting in significantly improved cache utilization.  
	
 A new statistic and new formulas have been introduced into 
 release 2.0 which should result in more accurate estimates of 
 the number of rows produced by the join of two tables in an 
 OpenIngres query.  Since row estimates are a major component of 
 the algorithms used to generate query plans, these enhancements 
 should result in improved query optimization.  The new statistic 
 is a "per-cell" repetition factor.  It reflects the average number 
 of rows per distinct column value for EACH cell of a histogram, 
 thus allowing more accurate join estimates.  The new statistic is 
 automatically computed by release 2.0 optimizedb requests, and is 
 displayed by release 2.0 statdump requests.  Moreover, 
 OpenIngres 2.0 uses the default for prior release histograms, 
 so that no statistics upgrade will be required. 
		    
 OpenIngres has always used histogram values to estimate 
 the number of rows qualified by =, <, <=, >=, and > restriction 
 predicates. As with the join cardinality estimates, these accurate 
 row counts allow OpenIngres to build optimal query plans. 
 Release 2.0 introduces histogram-based selectivity estimates 
 for <> (not equals) restriction predicates, as well.  This will 
 allow OpenIngres 2.0 to generate even better query plans.


 3.1.16 Operating System Thread Support

 A major enhancement to OpenIngres on operating systems that
 support operating-system threads is greater support for symmetrical
 multi-processor (SMP) machines.  The database server takes full
 advantage of the ability of the operating system to balance
 processing time among all the available CPUs.  By mapping database 
 tasks to operating-system threads, individual sessions are 
 dynamically balanced among available CPUs, providing greater 
 throughput and scalability.

 3.1.17 Table Cache Priorities

 Database page cache priorities are normally assigned and managed
 by algorithms within the OpenIngres buffer manager. This addition
 allows tables to be assigned fixed priorities, which will reduce
 the page replacement rate for those tables in a properly configured 
 cache.

 The syntax for assigning fixed cache priority is:

	CREATE TABLE table_name ... WITH PRIORITY = <cache_priority>
	CREATE INDEX index_name ... WITH PRIORITY = <cache_priority>

	DECLARE GLOBAL TEMPORARY TABLE ... WITH PRIORITY = 
            <cache_priority>
	MODIFY <table_name> | <index_name> TO PRIORITY = 
            <cache_priority>
	MODIFY <table_name> | <index_name> TO <storage_structure>
				WITH PRIORITY = <cache_priority>

	The "TO PRIORITY ..." form of MODIFY permits the assignment
	of a cache priority without having to also change the
	storage structure.

	<cache_priority> must be an integer in the range 0 through 8, 
	with 0 being the lowest and 8 being the highest priority. A
	specification of 0 causes the table to revert to normal
	cache management algorithms, and is the default value.

 If an explicit priority is not set for an index belonging to a table
 to which an explicit priority has been assigned, the index will
 inherit the base table's priority.

	HELP TABLE|INDEX <name> displays the cache priority.



 3.1.18 Transaction Access Mode

 A transaction's access mode may now be defined by the syntax:

	SET SESSION <session access mode>

	    <session access mode> ::=
		  READ ONLY
		| READ WRITE

	    Rules:
		o If unspecified, READ WRITE is implicit.
		o <session access mode> remains in effect until
		  changed by a subsequent SET SESSION <session 
		  access mode>.

	SET TRANSACTION 
	    <transaction mode> [ { <comma> <transaction mode> }... ]

	    <transaction mode> ::=
		  <transaction access mode>
		  <isolation level>

	    <transaction access mode> ::=
		  READ ONLY
		| READ WRITE

	    <isolation level> ::=
		ISOLATION LEVEL <level of isolation>

	    See section 3.1.7 for a discussion of <isolation level>.

	    When specified, <transaction access mode> overrides
	    <session access mode>.

	    Rules:
		o SET TRANSACTION may not be issued within a
		  transaction.
		o If <transaction access mode> is not specified
		  and <level of isolation> is READ_UNCOMMITTED,
		  then READ ONLY is implicit; otherwise,
		  READ WRITE is implicit.

 When a <transaction access mode> of READ ONLY is in effect,
 database modifications (insert, update, delete, load, and ddl
 operations) are disallowed, and SQLSTATE of 25000 (invalid
 transaction state) will be returned. Temporary tables are
 immune to this test, and are always writable.

 3.1.19 Soundex Function

 OpenIngres 2.0 supports a new string function - SOUNDEX.
 The results of SOUNDEX are a char(4), and similar sounding words
 have the same SOUNDEX value.  This is particularly useful when 
 searching for names.  For example:

	SELECT fname, lname, addr1, addr2 from customer_table
	    WHERE SOUNDEX(fname) = SOUNDEX('kathy');

 The SOUNDEX function is case-insensitive.


 3.2 OpenIngres 2.0 Star Features

 OpenIngres 2.0 Star server supports variable page size 
 and larger tuples as well as connectivity with previous CA-Ingres
 releases.  To support variable page size, the standard catalog 
 interface has been changed to include page sizes and other 
 catalog changes.  Please refer to the Database Administrator's Guide 
 and the System Reference Guide for a description of the new standard 
 catalog interfaces.
	
 3.3 OpenIngres 2.0 Net Features

 3.3.1 Protocol Bridge Support

 OpenIngres Protocol Bridge resolves the problem of connecting 
 an OpenIngres client on one network to a server on a different 
 type of network. Under the current architecture, a client 
 and server must be able to communicate over the same network 
 protocol (such as TCP/IP or SNA_LU62). The protocol bridge will
 "bridge" a client using one network protocol to a server 
 using another.  For example, a PC on a TCP/IP network could 
 communicate via the protocol bridge to an OpenIngres Gateway (DB2, 
 IMS, DATACOM, and so on) on a SNA network.
  
 The protocol bridge provides communication capability between 
 incoming connections and outgoing connections using a DIFFERENT 
 UNDERLYING PROTOCOL.  It listens for and accepts incoming connection 
 requests and establishes corresponding connections to a local or 
 remote communication server, allows bi-directional data transfer 
 over the established connections, and terminates connections in 
 an orderly way.
   
 The protocol bridge does not provide any security checking 
 when passing the messages through; security is still handled 
 as usual on the server.
    
 Please refer to the OpenIngres Net User Guide for information 
 on installing, starting and stopping, monitoring, and tracing the 
 protocol bridge server.

 3.3.2 Data-Stream Compression Support

 OpenIngres 2.0 supports data-stream compression for 
 variable-length data types, such as varchar and byte varying.  
 Previously, when a client performed a COPY FROM or SELECT operation, 
 the DBMS would send varchars at their maximum lengths, even if 
 only a small fraction of the varchars contained usable data.  In 
 OpenIngres 2.0, the DBMS sends only the usable data.  This is 
 true for both local and network connections. 

 Database administrators may disable data-stream compression by 
 invoking CBF, and setting the vch_compression parameter of the DBMS 
 to OFF.  This will disable compression when the DBMS is re-started.  
 Individual clients may disable compression by setting the environment
 variable II_VCH_COMPRESS_ON to N.  Setting II_VCH_COMPRESS_ON to Y, 
 or unsetting II_VCH_COMPRESS_ON, will re-invoke data-stream 
 compression only if the vch_compression parameter of the DBMS is ON.

	      
 3.3.3 SNA Duplex Support

 In previous releases of OpenIngres/Net, a single SNA LU 6.2 
 conversation was used to support each client-server SNA connection.  
 Since LU 6.2 conversations are inherently half-duplex, and 
 OpenIngres transactions cannot be guaranteed to be, a large amount 
 of overhead was created in order to maintain the flexible OpenIngres 
 client-server dialog.  This was only a problem with the 
 SNA LU 6.2 protocol driver since the other protocols supported 
 by OpenIngres/Net use full duplex protocol.
 
 In this release of OpenIngres/Net, the overhead of maintaining 
 the half-duplex nature of SNA LU 6.2 has been eliminated by using 
 two conversations per client; one conversation stays in send state, 
 the other in receive state.  There are two important consequences 
 of this implementation: (1) Response time shows an approximate 50%
 improvement as the result of avoiding all request-to-send 
 and prepare-to-receive calls. (2) Only half the number of 
 clients can be supported.  
  
 This feature can be controlled by a new environmental variable:

	  II_HALF_DUPLEX
       
 If this variable is set to 1, classic CA-Ingres/Net half-duplex 
 operation is enabled.  If this variable is undefined or set to 0, 
 OpenIngres/Net 2.0 full duplex operation is enabled.
	
 3.3.4 DECNet/OSI Support

 On VMS systems, users may enter Phase-V-style node names, which 
 may be greater than seven characters, for node addresses.

 
 3.4 OpenIngres 2.0 OpenAPI
	
 3.4.1 Multi-Threaded OpenAPI

 OpenIngres 2.0 OpenAPI now supports multi-threading development and
 runtime environments for multi-threaded applications.  
 Multi-threading support is platform-dependent.  Please refer to the 
 platform-specific Release Notes Supplement for further details.  
 There is no external change required for multi-threaded OpenAPI 
 support.
		
 3.4.2 OpenAPI Support for Autocommit 
	
 OpenIngres 2.0 OpenAPI now supports the SET AUTOCOMMIT 
 statement through special autocommit transaction handles.  
 Autocommit transactions are enabled/disabled through the new 
 OpenAPI function, IIapi_autocommit().  See the OpenIngres 2.0 
 OpenAPI User Guide for further details.

 3.4.3 Enhanced OpenAPI Support for Database Events 
	
 OpenIngres 2.0 OpenAPI introduces enhanced support for 
 database events with the IIapi_getEvent() function.  This function 
 permits an application to wait for database event notification when 
 client/server activity is idle.  Previously, applications would 
 only receive database event notifications when other non-event 
 related client-server communications were occurring.

 
 3.5 OpenIngres/ICE 2.0 Features

 The following new features have been added:

     * Support for the Microsoft Internet Information Server 
       on Windows NT through a version of OpenIngres/ICE 
       written for Microsoft ISAPI (Internet Server API). 
		
     * Support for NSAPI (Netscape API).
		 
     * Connection caching for ISAPI, ADI, and NSAPI interfaces, 
       providing improved performance.  
	    
     * Requests and result pages can now be up to 2 GB in size, 
       subject to available disk and memory space.
		       
     * Support for SQL Select statements. 
       
       The result set of the select is automatically formatted 
       as a table and displayed on the client browser.

     * Support for BLOB data. 

       Images stored as binary database objects may be selected 
       and displayed on the client browser.
	    
     * A new HTML macro feature. 
       
       Template HTML files that contain simple macros specifying 
       SQL statements can be created.  When OpenIngres/ICE 
       loads the macro file, it replaces the macros with the 
       result of the SQL statements, allowing data from 
       different tables and databases to be combined on a single page.
			     
     * Improved Security. 

       OpenIngres/ICE interoperates with the security 
       configuration of the target Web Server.  The HTTP basic 
       authentication protocol is fully supported.  This means that 
       user IDs and passwords can be passed in an encoded form 
       across the network.
				    
     * HTML-based installation and configuration utility. 


 3.6 OpenIngres Visual DBA 2.0 Features

 OpenIngres/Visual DBA 2.0 now differentiates between the following
 installations:

     * OpenIngres 2.x installation
     * CA-OpenIngres 1.x installation
     * Local CA-OpenIngres/Desktop server
     * Other installations

 Users can connect and open simultaneously several windows displaying
 these installations. The ability to "drag and drop" tables is 
 available between CA-OpenIngres 1.x, OpenIngres 2.x, and local 
 CA-OpenIngres/Desktop server windows.

 The new OpenIngres/Visual DBA features for OpenIngres 2.0 
 installations include:
 
     * Alter table support through OpenIngres/Visual DBA 2.0
     * Support of variable page size for Create Table, Create Index
       and Modify commands, as well as the space calculations
     * Management of table-level unique constraints and
       table-level check constraints both in Create and 
       Alter Table
     * References sub-dialog of Create Table is re-designed
     * Support of table-level checkpoint and rollforwarddb
     * Support for CA-Ingres Replicator versions 1.0/03, 1.0/05, 1.1, 
       or 2.0

 The following new features are also available for 1.x installations:
 
     * Management of table level unique constraints and
       table level check constraints in create table
     * Create table as select new feature in VisualDBA 2.0 (with 
       the Assistant to build the select statement)
     * Enhancements for Replicator


 3.7 OpenIngres 2.0 Server-Based Replication

 The initial data capturing of OpenIngres/Replicator is
 now performed inside the OpenIngres DBMS. The use of database 
 rules and an application external to the DBMS to maintain the 
 replicator input and distribution queues has now been superseded 
 by internal DBMS functions and system threads. Any lock contention 
 caused by previous versions of CA-Ingres Replicator has now been 
 eliminated, and replicator data capture work is performed at a 
 much lower level, producing a more streamlined and faster performing 
 replicator.
      
 The OpenIngres/Replicator product is now delivered as part of the 
 base OpenIngres 2.0 release, and the configuration and installation 
 tools are integrated into the base OpenIngres setup tools. Please 
 see the OpenIngres Getting Started guide for details.

 3.7.1 Bulk Deleting/Modify to Truncated

 In the OpenIngres/Replicator 2.0 User Guide on page 6-4, 
 in the section, Bulk Deleting/Modify to Truncated, the second 
 sentence of the second paragraph should read:
 
 "In this case, issue modify to truncated on the table to be cleared 
 in every database in the replicated system.  It is also 
 recommended that you run arcclean at this time."

 3.7.2 OpenIngres/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 effect the transfer, ensure that all users disconnect 
 from the database. 

 In the OpenIngres/Replicator 2.0 User Guide in the section, Copying 
 Replicated Tables Between Replicated Databases, the following 
 steps (11-13) should be added to the procedure on page 6-3:

 11.  Determine the name of the shadow table and, if necessary, the 
      archive table by using the SQL Terminal Monitor.

      Note:  The archive table will be needed if the base table 
      will be part of a Full Peer CDDS at the target database.

 12.  Use the copydb command to copy the shadow and archive tables 
      from the old database.

      For example:

      copydb old_dbname shadow_name
      [archive_name]
      sql old_dbname < copy.out

 13.  Edit the copy.in script and remove any CREATE TABLE, MODIFY, and 
      CREATE INDEX statements.  Then copy the shadow and archive 
      tables into the new database.

      For example:	

      sql new_dbname < copy.in

 Alternatively, if you are satisfied that the base tables are 
 synchronized in all existing databases, you can replace steps 12 and 
 13 by deleting all rows from the shadow and archive tables.

 3.7.3 User Defined Procedures

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

 3.7.4 Replicating Between CA-OpenIngres 1.2 and OpenIngres 2.0                 

 OpenIngres/Replicator 2.0 cannot replicate directly to and from 
 CA-Ingres Replicator 1.1 running under CA-OpenIngres 1.2 or earlier. 
 However, in order not to migrate all Replicator sites to 
 OpenIngres 2.0 at once, it is possible to replicate between 
 CA-Ingres Replicator 1.1, running under CA-OpenIngres 1.2, and 
 CA-Ingres Replicator 1.1 running under OpenIngres 2.0. To achieve 
 this, when installing OpenIngres 2.0, do not install 
 OpenIngres/Replicator 2.0.  Instead, after upgrading to 
 OpenIngres 2.0, install CA-Ingres Replicator 1.1, preferably on 
 %II_SYSTEM%\ingres\rep.  After installing CA-Ingres Replicator 1.1, 
 edit the %DD_INGREP%\bin\dddistsv.bat script 
 and add the following line after the header comments:   
 
 II_AUTH_STRING=XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX;export 
     II_AUTH_STRING

 Use the authorization string from your CA-OpenIngres 1.2 
 installation. 

 3.7.5 convrep Utility
 
 Run "convrep" to convert the 1.0 (or 1.1) catalogs and objects to 
 their 1.1 (or 2.0) versions.  The convrep utility should be run 
 between the following:
 
 Rep 1.0/0x and Rep 1.1/00
 Rep 1.0/0x and Rep 2.0/00
 Rep 1.1/00 and Rep 2.0/00

 The syntax is:
	convrep dbname [-udba_name]

 
 3.8 Known Problems in OpenIngres 2.0

 Please contact OpenIngres 2.0 support for a workaround/patch for 
 the following known problems.  The issue number precedes the 
 description of the problem.

 3.8.1 Server Bugs 

 81905 	
 
 Alter table: Create a table with 2 columns. When one column is 
 dropped, alter table adds a column with either check or reference 
 constraint. Both the column and the constraint will not be added 
 followed by either no message or the message, "Communications 
 or transmission error received without text. The generic error # 
 is 39100. The local error is 590342, and the # of parameters is 
 0 (should be 1)". 

 81894 	
 
 Alter table: Create 2 tables t1 and t2. T2 has 2 columns and
 2 reference constraints on each column. If alter table t2 
 drops col1 cascade, not only col2 and its dependent 
 object are dropped, but reference constraint on col1 
 is also dropped.  The same problem occurs when dropping 
 col1 of t2, except when the constraint is dropped from the table, 
 it remains in iiconstraints table.

 80239 	
 
 Alter table: Create a table with 2 columns and 2 unique 
 constraints on each column. When alter table drops one column, 
 the other column's unique constraint fails to check 
 values being inserted or updated, so duplicate values could 
 be inserted into the column even though the unique constraint still 
 exists.

 81224 	

 Alter table: Create two tables--the first with a unique 
 constraint on one column(col2) and the second table with a 
 references constraint referring to table1 column(col2)-- 
 and insert data into the tables.  When alter table1 drops 
 col2 with cascade, both col2 and the dependent col3 in table2 
 should drop.

 3.8.2 Star Bugs 

 81521 	

 Creating a distributed database fails when more than one 
 DBMS server is running.  Sometimes the Star server goes down (with 
 2 DBMS servers) after creation fails. The following error 
 messages are returned while creating Front-end System Catalogs, 
 "E_US0014, E_RQ0042, E_RQ0006, E_QE0506, E_SC0206, E_LQ0009, 
 E_DU3511_NOCR_FE_CATS ...".

 3.8.3 Replicator Bugs

 80978 	
 
 In a scheme where two full peer databases try to update the same row 
 in a protected read-only database with COL1 and EMD0, the collision 
 is not detected by the protected RO database. This happens only when 
 the PRO row does not have a shadow record. Collisions will also 
 be detected when transmitting between the full peers.

 3.8.4 Front-end and Tools Bugs 

 77937 	
 
 A joindef is copied from a file into a database for userB by 
 using "copyform", and QBF is invoked by userB.  UserB cannot 
 execute the table owned by userA but granted to userB.  The resulting
 error message says, "Table 'tablename' does not exist or is not 
 owned by you. (E_QF0117)".                                   

 60357 	
 
 Vision. Problem using synonyms. When creating a vision frame 
 (browse, append, update) based on a synonym, the VQ and the 
 generated source code both use the base table name instead 
 of the synonym name.  However, adding a lookup table that 
 is a synonym displays the correct synonym name in the VQ.  

 77339

 Using OpenAPI, when selecting more than 63 columns from a 6.4 
 server, the program hangs indefinitely.

 86612

 The "READLOCK" clause of the SET LOCKMODE statement was being used to 
 define isolation levels: 
    READLOCK = NOLOCK:    READ UNCOMMITTED
    READLOCK = SHARED:    SERIALIZABLE
    READLOCK = EXCLUSIVE: SERIALIZABLE with exclusive locks on readonly cursors 

 This prevented the use of readlock with isolation levels lower than 
 serializable.


 Resolution:

 The SET LOCKMODE "readlock" options are:
	readlock = nolock | shared | exclusive | session | system

 Isolation levels are not valid readlock settings. Readlock settings
 are not isolation levels. Readlock settings can be used with 
 any isolation level, however if readlock = nolock is specified 
 and the isolation level is not READ UNCOMMITTED, the DBMS server
 will still follow the lock protocols defined by your current isolation
 level, however the transaction isolation level is actually READ UNCOMMITTED
 if you open a readonly cursor which will scan the table without any locks.


 3.9 OpenIngres Tuxedo Support

 The Tuxedo support on this product distribution is certified
 for Tuxedo 6.x. If you require support for a higher release, please 
 contact your technical support representative.

 
 3.10 Dates After the Year 1999

 OpenIngres 2.0 provides new features for users who wish
 to use dates beyond the year 1999.

 The valid range for a date field is from 1-Jan-1582 to
 31-Dec-2382, inclusive.

 OpenIngres handles date input and output according to the
 setting of the environment variable, logical II_DATE_FORMAT.
 The settings of this variable are explained in the SQL
 Reference Guide, which states:

       Year defaults to the current year. In formats that
       include delimiters (such as forward slashes or dashes),
       you can specify the last two digits of the year; the
       first two digits default to the current century (1900).
       For example, if you enter '03/21/93' using the format
       mm/dd/yyyy, the DBMS assumes that you are referring to
       March 21, 1993.

 This behavior forces the user to specify all 4 digits of the
 date when dealing with dates in the next century.

 To modify this behavior, OpenIngres provides a new
 environment variable, II_DATE_CENTURY_BOUNDARY, which may be
 set with an integer value in the range 0 < n <= 100.

 On date input, if the century part of the date is not
 specified (the date_year component is < 100 and there is a
 valid setting of II_DATE_CENTURY_BOUNDARY), then the century
 is determined by the following calculation:

         if ( date_year < II_DATE_CENTURY_BOUNDARY )
            then
               (date_year += 2000)
            else
                 (date_year += 1900)
            endif

 For example, if II_DATE_CENTURY_BOUNDARY is 90, an input date of
 '03/21/93' is treated as March 21, 1993; but a date of '03/21/03' 
 is treated as March 21, 2003.

 In addition, a new value for II_DATE_FORMAT, MULTINATIONAL4,
 is provided.  This date format is identical to the existing
 MULTINATIONAL format, with the exception of the 4 digit
 year.  Input formats are accepted as for the MULTINATIONAL
 format.  This functionality has been implemented in response to 
 SIR/DAR 38800.


 4.0 Application Migration and Development Information

 This section provides information that systems managers and
 developers should consider to migrate their applications
 smoothly from Release 1.x to Release 2.0/00. This
 information includes differences between Release 1.x and
 Release 2.0/00 that need to be taken into account when
 upgrading, as well as changes that will affect development in
 Release 2.0/00.

 In some cases, the information provided includes new
 functionality. However, in general, you should refer to the 
 Release Summary 2.0 guide for a brief overview of new 
 functionality and features.  For details about
 a specific feature, refer to the appropriate OpenIngres guide.

 Some of the core catalogs have been expanded to accommodate new
 features in OpenIngres Release 2.0. These core catalogs are 
 iirelation, iiattribute. Due to this modification, some of the
 standard catalogs have been changed also. These are mainly iitables,
 iicolumns, iiindexes, and iiphysical_tables. If any application 
 depends on these catalogs, verify that "select * from 
 <std_catalogs>" has not been used in the application. If it was used, 
 these references must be changed to the 1.x column lists.

 The following reserved words have been added:
 LEVEL, COMMITTED, ISOLATION, READ, REPEATABLE, SERIALIZABLE,
 UNCOMMITTED, COLUMN, and OUTER.

 These reserved words cannot be used as table or column names
 or as user-defined names. If these words have been used, upgradedb
 will fail to upgrade your database. You should ensure that your
 databases do not contain these reserved words as names for the 
 following objects: user table, column, rule, constraint, synonym, 
 procedure, alarm, dbevent, group, profile, schema, user, index, or 
 view.

 In previous releases, OpenIngres would not allow direct coercion 
 between decimal and string data types. This type of coercion is 
 now allowed. As a result, an attempt to join a string type field 
 (c, char, varchar, or text) to a decimal field--where the string 
 field contains anything but pure numbers--will result in the error:

 E_US100F String cannot be converted to a numeric type due to 
 incorrect syntax.

 Previously, OpenIngres would incorrectly allow coercion to take place
 if the non-numeric string contained only characters that could be 
 converted to the money data type (e.g., the string '$100.23'). 
 This was achieved by implicitly converting both the string field 
 and the decimal field to the money type, and displaying the result 
 as dollars and cents. This implicit conversion to the money type 
 without the developer's explicit wish could result in the incorrect 
 truncation of the decimal data. Users wishing to maintain the 
 previous behavior must, in both cases, explicitly ask the result to 
 be converted to dollars and cents using the money function 
 (for example, select money(col1)).

 4.1 Upgrading 1.x to 2.0 Installation Notes

 Regardless of which installation method you use, it is
 important that the 1.x database(s) be structurally sound
 before you begin. The following procedures are recommended:

       1. Run "modify" on all your database tables.

       2. Run "sysmod <database>" on all databases.

       3. Run "verifydb -mreport -sdbname <database> -odbms_catalogs"

       4. Run "infodb <database>" to verify the status is "VALID".

       5. Take an offline backup of each database.

 4.1.1 New OpenIngres 2.0 Installations

 If you are reloading data from a 1.x or 6.4 database, and your
 OpenIngres 2.0 installation is on a different platform,
 unload your 1.x or 6.4 data with "unloaddb -c <database>".

 Before running "reload.ing" on the OpenIngres installation, edit 
 the "cp_ingre.in" file if unloading from 6.4 (or the "copy.in" 
 file if unloading from 1.x) and change the 1.x references.

    Change:

           \include /<64path>/ingres/files/iiud.scr
           \include /<64path>/ingres/files/iiud64.scr

      	   or

           \include /<OpIngpath 1.x>/ingres/files/iiud.scr
           \include /<OpIngpath 1.x>/ingres/files/iiud65.scr

    To:

           \include /<OpIngpath 2.0>/ingres/files/iiud.scr
           \include /<OpIngpath 2.0>/ingres/files/iiud65.scr

 After the reload is complete, verify that the table "ii_id"
 has only 1 row. Type "isql <database>", and "select * from
 ii_id". If there is more than 1 row returned, then delete the
 row with the lowest "object_id".

 4.1.2 Upgrading 6.4/1.x Database(s) to OpenIngres 2.0

 You may either unload your database from 6.4/1.x database 
 and reload into OpenIngres 2.0, or run the upgradedb utility to
 upgrade your database. Please make sure that the new 2.0 reserved
 words are not used in your table or application.

 4.1.3 Upgrading Existing 2.0 Installations

 If you already have OpenIngres 2.0 installed, we strongly recommend 
 that you unload your databases before you install the new OpenIngres
 2.0, and reload your databases after you have performed the 
 installation. 
 

 4.2 CA-Ingres 1.x Support

 OpenIngres 2.0 provides support for 1.x applications at
 the binary level. You can run 1.x applications that access an
 OpenIngres 2.0 server without rebuilding the application.
 However, it is recommended that you rebuild all CA-Ingres
 1.x applications with OpenIngres 2.0. 


 5.0 Documentation Announcements

 5.0.1 Known Documentation Problems

 Please note that the System Reference Guide for UNIX/VMS, 
 Release 2.0, mentions that ckpdb (page B-29), rollforwarddb 
 (page B-132), infodb (page B-70), alterdb (page B-15), 
 auditdb (page B-18) and relocatedb (page B-120) do not work 
 over the net and hence do not accept vnode::dbname.

 The SQL Reference Guide does not contain the following information:
 Spatial objects' type conversion function nbr() will not work with 
 long line or long polygon as the first operand. SQL stops because of 
 SPusNbrLongObject: Invalid input.    

 The SQL Reference Guide does not contain the following information:
 Spatial data type conversion function nbr() only accepts integer 
 variations of spatial objects as the first parameter when using ibox 
 as nbr()'s second parameter. SQL stops with the message, "Implied 
 conversion to integer spatial object would lose data" if you use 
 non-integral spatial data type as the first parameter. 

 The SQL Reference Guide, SET LOCKMODE readlock options are:
     readlock = nolock | shared | exclusive | session | system
 Isolation levels are not valid readlock settings.


 5.0.2 Changes to Documentation

 For OpenIngres Release 2.0/00, we have added Release
 Summary 2.0 to the documentation set.
