Professional Documents
Culture Documents
Record layout diagrams are used to reveal the internal structure of digital records in a float-file or database
table. The layout diagram usually shows the name, data type, and length of each attribute (or field) in the record.
Detailed data structure information is needed for such tasks as identifying certain types of system failures, analyzing
error reports, and designing test of computer logic for debugging and auditing purposes.
A simpler form of record layout, shown in Figure 2-29, suits our purposes best. This type of lay-out shows the
content of a record. Each data attribute and key field is shown in terms of its name and relative location in the
record.
Operational Efficiency
Real- time processing of large volumes of transactions can create operational inefficiencies. A single
transaction may affect several different accounts. Some of these accounts, however, may not need to be updated in
real-time, and the task of doing so takes time that, when multiplied by thousands of transactions, can cause
significant processing delays. Batch processing of noncritical accounts, however, improves operational efficiency by
eliminating unnecessary activities at critical points in the process.
To maintain the integrity of accounting data, once a particular record is accessed for updating, it is locked by
the system and made unavailable to other processes (customer transactions) until the current process is complete.
Using the six records here as an example, consider the implications that this data-locking rule has on the customers
using the system.
When processing a customer AR subsidiary record, the rule has no implications for other users of the system.
Each user accesses only his or her unique record. For example, accessing John Smith’s account does not prevent
Mary Jones from accessing her account. Updating the inventory subsidiary record is almost unique. Because it is
possible, however, that both Mary Jones and John Smith are independently purchasing the same item at the same
time, Mary Jones may be kept waiting a few seconds until John Smith’s transaction releases the lock on the inventory
account, but such rare conflicts will be of little inconvenience to customers.
In general, therefore, master file records that are unique to a transaction such as customer accounts and
individual inventory records may be updated in real time without causing operational delays.
In high-volume data processing systems, however, updating general ledger in real time may cause data
access delays. The general ledger accounts listed earlier are common to all the customer transactions being
processed by the system and would need to be updated by each transaction before it can be completed. If the
processing of John Smith’s transaction in real time begins before that of Mary Jones, then she will wait only a few
seconds until all four general ledger records have been updated before her transaction can proceed.