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 接口 - David Zhang / HighGo 于 2023 年 2 月发布的博文