smgr

源代码中“存储管理器”的缩写

smgr 是源代码中“存储管理器”(storage manager)的常用缩写。

源代码

参见:src/include/storage/smgr.h

/*
 * smgr.c maintains a table of SMgrRelation objects, which are essentially
 * cached file handles.  An SMgrRelation is created (if not already present)
 * by smgropen(), and destroyed by smgrclose().  Note that neither of these
 * operations imply I/O, they just create or destroy a hashtable entry.
 * (But smgrclose() may release associated resources, such as OS-level file
 * descriptors.)
 *
 ...
 */

分类

PostgreSQL内部机制

反馈

提交任何关于"smgr"的评论、建议或更正 此处