📄 extentsize.so
字号:
m4_comment([$Id: extentsize.so,v 1.3 2001/05/02 15:53:22 bostic Exp $])m4_ref_title(Access Methods, Selecting a Queue extent size, selecting a Queue @extent size, am_conf/recno, am_conf/re_source)m4_p([dnlIn Queue databases, records are allocated sequentially and directlymapped to an offset within the file storage for the database. Asrecords are deleted from the Queue, pages will become empty and willnot be reused in normal queue operations. To facilitate the reclamationof disk space a Queue may be partitioned into extents. Each extent iskept in a separate physical file.])m4_p([dnlExtent files are automatically created as needed and marked for deletionwhen the head of the queue moves off the extent. The extent will notbe deleted until all processes close the extent. In addition, m4_dbcaches a small number of extents that have been recently used; this maydelay when an extent will be deleted. The number of extents left opendepends on queue activity.])m4_p([dnlThe extent size specifies the number of pages that make up each extent.By default, if no extent size is specified, the Queue resides in asingle file and disk space is not reclaimed. In choosing an extent sizethere is a tradeoff between the amount of disk space used and theoverhead of creating and deleting files. If the extent size is toosmall, the system will pay a performance penalty, creating and deletingfiles frequently. In addition, if the active part of the queue spansmany files, all those files will need to be open at the same time,consuming system and process file resources.])m4_page_footer
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -