Skip to content

Method vacuum_table

marufcetin edited this page Sep 1, 2026 · 1 revision

Method: vacuum_table()

Turkce Dokumantasyon | English Documentation

Category: Maintenance & Tools Methods
Submodule: AmberDB::Tools
Entry Type: Space Reclamation & Compaction


1. Definition and Overview

vacuum_table() compacts physical Berkeley DB files by rebuilding the underlying hash b-tree structure, removing fragmented free space, and shrinking file size on disk.


2. Syntax and Signature

$tools->vacuum_table($table_id);

3. Practical Code Example

$tools->vacuum_table("catalog_product");

4. See Also

AmberDB Encyclopedia

Home · A-Z Index


Getting Started & Guides


Core Concepts


Core CRUD Methods


Query, Search & Facets


Transactions & Locks


Cache, Buffer & Low-Level


Locale & Helpers


Maintenance & Tools


Configuration Flags


File Formats


Language

Clone this wiki locally