OS Manuals

/usr/bin/aria_pack

The MariaDB open source relational database

From mariadb-11.8 11.8.3-r0 (os), captured 2026-11-05 by running aria_pack --help (exit 0). permalink

/usr/bin/aria_pack from 11.8.3-MariaDB, client 1.0 for Linux (x86_64)
Copyright 2002-2008 MySQL AB, 2008-2009 Sun Microsystems, Inc.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license

Pack a Aria-table to take much less space.
Keys are not updated, you must run aria_chk -rq on the index (.MAI) file
afterwards to update the keys.
You should give the .MAI file as the filename argument.
To unpack a packed table, run aria_chk -u on the table

Usage: /usr/bin/aria_pack [OPTIONS] filename...
  -b, --backup        Make a backup of the table as table_name.OLD.
  --character-sets-dir=name
                      Directory where character sets are.
  -h, --datadir=name  Path for control file (and logs if --logdir not used).
  -#, --debug[=name]  Output debug log. Often this is 'd:t:o,filename'.
  -f, --force         Force packing of table even if it gets bigger or if
                      tempfile exists.
  --ignore-control-file
                      Ignore the control file
  -j, --join=name     Join all given tables into 'new_table_name'. All tables
                      MUST have identical layouts.
  -?, --help          Display this help and exit.
  --require-control-file
                      Abort if cannot find control file
  -s, --silent        Be more silent.
  -T, --tmpdir=name   Use temporary directory to store temporary table.
  -t, --test          Don't pack table, only test packing it.
  -v, --verbose       Write info about progress and packing result. Use many -v
                      for more verbosity!
  -V, --version       Output version information and exit.
  -w, --wait          Wait and retry if table is in use.

Default options are read from the following files in the given order:
/etc/my.cnf /etc/mysql/my.cnf ~/.my.cnf
The following groups are read: ariapack
The following options may be given as the first argument:
--print-defaults          Print the program argument list and exit.
--no-defaults             Don't read default options from any option file.
The following specify which files/extra groups are read (specified before remaining options):
--defaults-file=#         Only read default options from the given file #.
--defaults-extra-file=#   Read this file after the global files are read.
--defaults-group-suffix=# Additionally read default groups with # appended as a suffix.

Variables (--variable-name=value)
and boolean options {FALSE|TRUE}  Value (after reading options)
--------------------------------- ----------------------------------------
backup                            FALSE
character-sets-dir                (No default value)
datadir                           .
ignore-control-file               FALSE
join                              (No default value)
require-control-file              FALSE
wait                              FALSE
Options (19)
OptionDescriptionSource
-b, --backupMake a backup of the table as table_name.OLD.help + man
--character-sets-dir nameDirectory where character sets are.help + man
-h, --datadir namePath for control file (and logs if --logdir not used).help
-#, --debug nameOutput debug log.help + man
-f, --forceForce packing of table even if it gets bigger or if tempfile exists.help + man
--ignore-control-fileIgnore the control filehelp
-j, --join nameJoin all given tables into 'new_table_name'.help + man
-?, --helpDisplay this help and exit.help + man
--require-control-fileAbort if cannot find control filehelp
-s, --silentBe more silent.help + man
-T, --tmpdir nameUse temporary directory to store temporary table.help + man
-t, --testDon't pack table, only test packing it.help + man
-v, --verboseWrite info about progress and packing result.help + man
-V, --versionOutput version information and exit.help + man
-w, --waitWait and retry if table is in use.help + man
--print-defaultsPrint the program argument list and exit.help + man
--no-defaultsDon't read default options from any option file.help + man
--defaults-file #Only read default options from the given file #.help + man
--defaults-extra-file #Read this file after the global files are read.help + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.