I’ve recently experienced the trials and tribulations of installing and upgrading a piece of software I’ve known for many years. Starting life as DDB4, MaxDB under the MySQL banner has gone through many hands and developers, and even more names. Developed by the University of Berlin under sponsorship from Nixdorf Computers, it transformed into Supra, Entire-SQL, Adabas D and then SAP DB. The software has has been open-sourced for a while and has been under the knife many, many times. And that shows.
A recent installation of SAP 4.6C on Windows 2003 64-bit went rather awry. Strangely, SAP 4.6C installed without issue on the default database version of its day, SAP DB 7.2.05. Even better, the subsequent upgrade of the database software completed without issue to SAP DB 7.3.04. Since I intended upgrading to ECC 6.0, I hoped to get everything running in the SYSWOW64 shell, then transferring to 64-bit later on. Everything went well until I hit the upgrade to SAP DB 7.4.3. That failed spectacularly, many times. The reason for my upgrade path is the unfortunate legacy of an application passed from vendor to vendor and developer to developer. You can’t simpy upgrade to the latest, but have to follow a complicated upgrade path. I tried many things, but could not get the 7.4.3 software installed or upgraded. SAP technical support eventually indicated they could not support my upgrade path – try the 32-bit route, they suggested.
The 32-bit installation of the same type as tried in the SYSWOW64 shell works flawlessly. But even here, there is a dangerous side effect that trapped me on the second system with a database sized just beyond a certain limit. To cater for a database restore, I ensured the target database was at least 120GB in size. Accidentally, my first successful installation ended up being in the region of 126.9GB. On the quality assurance system, I sized the database slightly larger: 129.3GB, to be precise. I don’t pick these numbers, but simply provide a MB size in case you were wondering…
Turns out anything beyond 128GB for a database segment or space is too large. But not for SAP DB versions 7.2.05 or 7.3.04. No: it’s too big for version 7.4.3 and causes the upgrade to fail yet again:
extracting: -rw-r–r– 443294 2004-08-24 20:46:41 runtime/jar/sapdbc.jar
checking unpacked archive… ok
installation of SAP DB Server finished successfully Tu, Aug 26, 2008 at 10:17:43
finding instance type…
starting release already known
migration strategy already known
running finalize check…
looking for domain user…
current database state is OFFLINE
checking parameters…
parameter check failed
cannot finish instance update for “SID”
current database state is OFFLINE
checking parameters…
parameter check failed
param_checkall
ERR
-24973,ERR_XPCHECK: param check failure/request
DATA_SIZE_0002 Constraint
17024000
On later versions, this error can be resolved by changing the value of a database parameter, thus:
dbmcli -d <DBSID> -u <dbm>,<dbm pass> param_directput VOLUMENO_BIT_COUNT 6
But of course, this parameter does not exist in 7.4.3. Thankfully I could simply restart the installation and select smaller dbspaces instead of backing up, resizing and then restoring.

It’s an important lesson for all user of open-source software: the cost of free software is not measured by it’s ease of acquisition, deployment or ability to customize its features. Instead, its real cost is often realized only when it may already be too late: it’s been deployed and the organization using it has become dependent on it.
This is an extreme case: the versions of SAP DB mentioned here have been out of maintenance for ages. Nonetheless, such software is still in active use, as my experience has taught me…
And don’t ever believe the hype that software featuring a higher version number will be better than an older one!