Mainframe database systems and speed

Currently, I’m very interested in (early) database systems. Probably the most useful software (next to games, mainly on home computers). Databases on home computers also exists, but a Vic-20 as office computer (like on my recent ads) is only suitable for very small companies. A C64 is acceptable but the real thing are terminals and mainframes or similar with green or amber displays and masks on screen. Like on my recent Nixdorf post.
delphisoraclec64
We recently talked about speed and I found this JES2 log, taken from CBT224. A mainframe, probably IBM, took 3.62 minutes in 1994 for reading 78 punch cards and printing 20,678 records (on real hardware). To me it’s sort of slow. (Tape involved. Is printing here maybe writing to tape?)

1 J E S 2 J O B L O G – S Y S T E M A F C 1 – N O D E A F C N Y C T A
17.03.06 JOB01194 IEF403I ITMSREPT - STARTED - TIME=17.03.06
17.03.14 JOB01194 +ITMI000: ITMS000A HAS STARTED
17.03.19 JOB01194 +ITMI001: ITMS DATABASE HAS BEEN OPENED

17.06.42 JOB01194 -ITMSREPT STEPC ITMSTEP 00 386 933 .01 .00 .1 8527 1 0 0 0 0
17.06.43 JOB01194 IEF404I ITMSREPT - ENDED - TIME=17.06.43
17.06.43 JOB01194 -ITMSREPT ENDED. NAME-ITMS REPORTS TOTAL TCB CPU TIME= .11 TOTAL ELAPSED TIME= 3.6
17.06.43 JOB01194 $HASP395 ITMSREPT ENDED

0------ JES2 JOB STATISTICS ------
10 NOV 94 JOB EXECUTION DATE
78 CARDS READ
20,678 SYSOUT PRINT RECORDS
0 SYSOUT PUNCH RECORDS
2,258 SYSOUT SPOOL KBYTES
3.62 MINUTES EXECUTION TIME
1 //ITMSREPT JOB (ACCT#),‘ITMS REPORTS’,MSGLEVEL=(1,1), JOB01194
// CLASS=A,MSGCLASS=X,NOTIFY=SYSSTEI 00002000
//* 00016300

There is also a sample database and sources like on CBT923 on CBTTAPE (SQLITE for z/OS Unix) . Most is only useful for Hercules users. Although there are PDF and even some few Windows software (inside the zipped XMIT files).

I also like books (mainly physical books). Many interesting books are online, especially on bitsavers. For IBM: DB2 and IMS (Information Management System). The introduction of the latter one has many good illustrations


I also found database system DMS-170 for CDC.
So many different databases and so much to read. No need for buying books, rather a good e-book reader.

1 Like

This is utter speculation on my part (so “salt shakers at the ready”), but it would seem that the mysterious 3.62 minutes can hardly be explained by the number of cards read or lines printed. Maybe an unoptimized SQL query was involved, say, without the benefit of a useful index, thus resulting in a “full table scan.” In 1994 computers were not that slow, so database I/O would be my SWAG. We’ll probably never know…

There are 5 seconds between “job started” and “database has been opened” – there may have been some slow connection involved.
The total CPU time is just 11 seconds (“TOTAL TCB CPU TIME= .11 TOTAL ELAPSED TIME= 3.6”), the rest of the 3:6 minutes must have been passed in wait cycles.
(Or, maybe, the system had been interrupted by some priority task?)

Sorry, this log is from a test run of a tape management system with “every option it is capable of”.
The software itself is on another tape (CBT 223).
There’s a 2nd log which is faster (but still quite slow) but has much fewer cards.
3 cards
79 records printed
0.16 minutes (=10 seconds)

So, printing a record is writing to tape? One can imagine that might take time, especially if it’s not streaming - extra-especially if the tape needs to keep backing up before appending the next record.

I see the output buffer is only 2k, so the 20k records are going to have to get written.

I still don’t know if printing means printing or writing to tape. But the tape is of course used (including scratching).
The log is much longer and I haven’t checked the other tape. Probably there’s a documentation.

There are at least 15 tapes involved.

I think there was a time when print jobs would be written to tape, to be printed off from tape to printer without using a computer, or more likely using a smaller cheaper one. Fast computers are too expensive to wait for printers!

I now have checked the other tape with the software.
It’s called ITMS (TMS stands for Tape Management System, “I” maybe for IBM).
It’s in fact a database and keeps track of typically 2000 tapes.
All tape activity is logged.
The documentation is short, but there are documented (long) sources in ASM.
Printing probably means to it’s database (what is probably a tape as well). One internal function is called ITMPRINT.
Reports are also printed. All printing is to SYSOUT, but not sure which device that is.
Printing 20k records to a printer for a test would not make much sense anyway.

From what little I have information I have gatherd (IBM 1960’s) had the I/O channels
manage the hard drive’s data base on disk buffering and packing records and indexes
as needed. Disk drives were really slow back then, so random access took a long time.
for a ball park I guess 1/10 of second per record.I suspect serial
access of records was used for most database functions. I/O devices barely had the size needed for bigger databases.
Ben.