4.622/4.526 Release Notes

These notes apply equally to release 4.526. Release 4.622 is currently available for Windows and Windows CE platforms. Release 4.526 is now available for Windows platforms and Intel x86 Linux.

Contents

For latest changes to the 4.622 see 4.622 updates. 4.622 was the final "annual official" release of DP4. There is also now a 4.624 release which supports much larger QAB programs which has now been finalised, and formally tested, and is therefore an official DP4 release. The 4.624 set of components reflects what has been used internally by Itim for recent roll-outs of Chameleon. A 4.625 beta will probably be opened in due course.

Introduction

The DP4 database manager has been almost entirely rewritten for release 4.622, and very significant changes have been made to it. However, most of the new functionality is only enabled when you use the advanced database properties dialog in REORGDB to enable chosen areas of new functionality. In addition the choices you make for the various properties in this dialog may cause considerable variation in the performance of various aspects of DP4. Although there are many internal changes to the structure of DP4 databases, these have almost no impact on DP4 applications.

Release 4.622 incorporates the features originally planned for the "Terabyte Database" project. It is no longer planned to release a separate "Terabyte Database Manager". Instead the 4.622 Database manager works with both existing DP4 databases, and databases upgraded to use the new features.

Installation

DP4 for 4.622 can be installed using the regular DP4 install program. However, before performing the installation you should make sure that all your databases are backed up, and are not corrupt. There are a number of significant incompatibilities between release 4.622 and previous DP4 releases, and should you wish to revert to an earlier DP4 release for some reason you may need to restore these backups. Databases touched in any way by release 4.622 will not work with earlier DP4 releases. You should also read the notes on compatibility issues below, and make sure you understand the implications of upgrading to release 4.622.

If you are installing manually, note that there is a new DLL: dbmslibt.dll. The database manager won't work at all without this DLL. An additional complication is that this DLL does not work on Windows 95 or some NT 4 machines, and on these platforms a replacement DLL is installed instead. See Supported Platforms below. In the Linux/Unix release 4.526 there is a corresponding shared library: dbmslibu.so.

Summary of New Features

Compatibility Issues

Performance of Very Large Databases

There are special considerations that apply when your database is very large. In this context "Very Large" is a function of the size of the database relative to the RAM available for caching the file system - if the total size of your database files(including an allowance for the rollback and transaction log files), is significantly larger than this, then the normal caching performed by modern operating systems will be much less effective than for a small database.

In release 4.622 DP4 incorporates facilities that can significantly reduce the amount of time the database manager is blocked while waiting for disk I/O to complete.

For futher details, refer to the separate Performance of Very Large Databases topic.

Enhanced Data Compression

Release 4.622 of DP4 supports a new data compression technique which can reduce data file sizes by a factor of 3 or more. Inevitably this causes a slight decrease in performance, but where the size of your database has become a problem, or storage space is a limited resource (for example on a handheld PC), enabling the enhanced compression is recommended. Even without the enhanced compression REORGDB will reduce the size of data files by using a new smaller record header, and by turning on data compression for tables where it would be beneficial.

For further details, refer to the separate Enhanced Data Compression topic.

New Options for Indexing

In previous release of DP4 various aspects of the index file structure were hard coded in such a way as to limit the maximum database file size to 4GB. For practical purposes all such limits have been removed, and the maximum size of a DP4 database will only be limited by the capabilities of the underlying hardware and operating system. However, a database index designed for a database with many billions of records would be highly inefficient for a database which in fact only contains a few thousand records. Instead REORGDB contains options which allow you to configure the database structure most suitable for the number of records your database contains now or will contain before you next reorganise it.

Choosing values that allow for an unnecessarily large database will result in a database that is somewhat larger and slightly slower than necessary. Choosing values that are too small may mean that another reorgansisation is forced sooner than expected (because you need to increase the values). In addition there are some options for which different choices will be appropriate depending on the nature of your application and the number of secondary indexes that are present on the database.

For most databases, you are strongly recommended to upgrade your database to use the new "Two File Index" index structure.

For further details, refer to the separate Configuring the Index File Structure topic.

General DP4 Enhancements in 4.622