1.

Give An Example Of A Database Application In Which The Reserved-space Method Of Representing Variable-length Records Is Preferable To The Pointer Method.

Answer»

In the reserved space method, a query comparing the last existing field in a RECORD to some VALUE REQUIRES only one read from the disk. This single read is preferable to the potentially MANY reads needed to chase down the pointers to the last field if the POINTER method is used.

In the reserved space method, a query comparing the last existing field in a record to some value requires only one read from the disk. This single read is preferable to the potentially many reads needed to chase down the pointers to the last field if the pointer method is used.



Discussion

No Comment Found

Related InterviewSolutions