Logical, internal, and physical reference behavior in CODASYL database systems
- 3 June 1984
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Database Systems
- Vol. 9 (2) , 187-213
- https://doi.org/10.1145/329.331
Abstract
This work investigates one aspect of the performance of CODASYL database systems: the data reference behavior. We introduce a model of database traversals at three levels: the logical, internal, and physical levels. The mapping between the logical and internal levels is defined by the internal schema, whereas the mapping between the internal and the physical levels depends on cluster properties of the database. Our model explains the physical reference behavior for a given sequence of DML statements at the logical level. Software has been implemented to monitor references in two selected CODASYL DBMS applications. In a series of experiments the physical reference behavior was observed for varying internal schemas and cluster properties of the database. The measurements were limited to retrieval transactions, so that a variety of queries could be analyzed for the same well-known state of the database. Also, all databases were relatively small in order to allow fast reloading with varying internal schema parameters. In all cases, the database transactions showed less locality of reference than do programs under virtual memory operating systems; some databases showed no locality at all. No evidence of physical sequentiality was found. This suggests that standard page replacement strategies are not optimal for CODASYL database buffer management; instead, replacement decisions in a database buffer should be based on specific knowledge available from higher system layers.Keywords
This publication has 18 references indexed in Scilit:
- Automatic Design of the Internal Schema for a CODASYL Database SystemIEEE Transactions on Software Engineering, 1984
- Locality of Reference in Hierarchical Database SystemsIEEE Transactions on Software Engineering, 1983
- The Recovery Manager of the System R Database ManagerACM Computing Surveys, 1981
- Support for repetitive transactions and ad hoc queries in System RACM Transactions on Database Systems, 1981
- Effect of Replacement Algorithms on a Paged Buffer Database SystemIBM Journal of Research and Development, 1978
- An extension of the performance of a database manager in a virtual memory system using partially locked virtual buffersACM Transactions on Database Systems, 1977
- System RACM Transactions on Database Systems, 1976
- Model for Interactive Data Base Reference StringIBM Journal of Research and Development, 1975
- Properties of the working-set modelCommunications of the ACM, 1972
- The working set model for program behaviorCommunications of the ACM, 1968