Back to directory

Free Space Map

Agent skill
1 skill

PostgreSQL's Free Space Map (FSM) — the tree-of-pages that tracks per-heap-page free space so INSERT / COPY / heapmultiinsert can find a page with room without scanning the whole relation. Covers src/backend/storage/freespace/ (freespace.c + fsmpage.c + indexfsm.c), the tree layout (leaf-page nodes + 2 upper levels), category encoding (bucketed free-byte counts), the FSM lock discipline, VACUUM's post-scan FreeSpaceMapVacuum, and index FSM's simpler use case. Skip when the ask is about visibility map (VM — sibling but different subsystem) or about pgfreespacemap contrib module (that's the SQL introspection wrapper).

Install with
Claude CodeCodexCursorGitHub CopilotGemini CLI

Supported by the Atlas install prompt. Skill-specific requirements vary.

Skill stats

Skills1CategoryDeveloper toolsStars0

About this skill

PostgreSQL's Free Space Map (FSM) — the tree-of-pages that tracks per-heap-page free space so INSERT / COPY / heapmultiinsert can find a page with room without scanning the whole relation. Covers src/backend/storage/freespace/ (freespace.c + fsmpage.c + indexfsm.c), the tree layout (leaf-page nodes + 2 upper levels), category encoding (bucketed free-byte counts), the FSM lock discipline, VACUUM's post-scan FreeSpaceMapVacuum, and index FSM's simpler use case. Skip when the ask is about visibility map (VM — sibling but different subsystem) or about pgfreespacemap contrib module (that's the SQL introspection wrapper).

Quick start

  1. Copy the install prompt. Use the green button above this README.
  2. Send it to your agent. Paste it into your coding agent’s chat and send.
  3. Review the setup. Your agent checks the skill’s instructions, requirements, and installation scope.
Review, license & listing details
Review the source before using this skill

This is an imported listing. We haven’t certified its safety, license, or compatibility. Skills may include executable scripts.

Automated security scan: Partial

Only SKILL.md was scanned. Supporting files and scripts were not checked. No safety grade has been assigned.

0 potential findings · Scanned 11/4/2026 · Scanner 0.2.1

Content SHA-256: 4d3aede718ae45afdf85c7f117dc5647faf0adfc513a470750e8b81f53f49607

About scan coverage and limitations

About this listing

Category
Developer tools
Reported license
PostgreSQL
Listing language (estimated)
English
Review status
Not individually reviewed
Agent compatibility
Atlas installation supports Claude Code, Codex, and Cursor. Skill-specific dependencies and features are checked during setup.
Free Space Map | Agent Skills Atlas