📄 bt_recnum.so
字号:
m4_comment([$Id: bt_recnum.so,v 10.23 2002/06/24 14:50:23 bostic Exp $])m4_ref_title(Access Methods, Retrieving Btree records by logical record number, [retrieving Btree records by logical record @number, retrieving Btree records by @logical record @number], am_conf/bt_minkey, am_conf/h_ffactor)m4_p([dnlThe Btree access method optionally supports retrieval by logical recordnumbers. To configure a Btree to support record numbers, call them4_refT(dbh_set_flags) with the m4_ref(DB_RECNUM) flag.])m4_p([dnlConfiguring a Btree for record numbers should not be done lightly.While often useful, it may significantly slow down the speed at whichitems can be stored into the database, and can severely impactapplication throughput. Generally it should be avoided in trees witha need for high write concurrency.])m4_p([dnlTo retrieve by record number, use the m4_ref(DB_SET_RECNO) flag to them4_ref(dbh_get) and m4_refT(dbc_get)s. The following is an example ofa routine that displays the data item for a Btree database created withthe m4_ref(DB_RECNUM) option.])include(ref/am_conf/bt_recnum1.cs)m4_p([dnlTo determine a key's record number, use the m4_ref(DB_GET_RECNO) flagto the m4_refT(dbc_get). The following is an example of a routine thatdisplays the record number associated with a specific key.])include(ref/am_conf/bt_recnum2.cs)m4_page_footer
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -