ARIA_READ_LOG(1)

๐Ÿ“ฆ
version 13.0.2 ยท 2 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian bookworm, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu resolute, ubuntu stonking

๐Ÿ’– ARIA_READ_LOG(1) ๐Ÿ’–

okay bestie, welcome to the User Commands section of the manual, and today's main character is aria_read_log โ€” she displays Aria log file contents and she is, frankly, iconic for it โœจ


๐ŸŒธ NAME ๐ŸŒธ

aria_read_log โ€” display Aria log file contents ๐Ÿ’…


โœจ SYNOPSIS โœจ

aria_read_log OPTIONS

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

So basically: this girl displays and applies log records from an Aria transaction log that she finds in the current directory (for now โ€” yes, that "for now" is doing a lot of heavy lifting, we love an honest queen ๐Ÿซถ).

note note note: Aria is compiled without -DIDENTICAL_PAGES_AFTER_RECOVERY, which means the table files are not byte-to-byte identical to files created during normal execution. That's fine, should be okay โ€” except for test scripts that try to compare files before and after recovery. those scripts are lowkey gonna have a bad time ๐Ÿ˜ญ

Also, you literally need to use one of -d or -a. no cap. one of them. periodt.

  • -a, --apply โ€” Apply log to tables: modifies tables! you should make a backup first! seriously bestie, back it up ๐Ÿ™ˆ She also displays a lot of information if you don't run her with --silent.
  • --character-sets-dir=name โ€” Directory where character sets are. that's it, that's the whole vibe ๐Ÿ’œ
  • -c, --check โ€” if --display-only is on, check if the record is fully readable (this one's for debugging, she's a little nosy and we respect it)
  • -#, --debug[=name] โ€” Output debug log. Often the argument is 'd:t:o,filename'. slay, very specific, very demure โœจ
  • --force-crash=# โ€” Force crash after # recovery events. yes. she will simply pass away on purpose. on schedule. as requested ๐Ÿ’€
  • -?, --help โ€” Display this help and exit. the classic. the beloved. ๐ŸŽ€
  • -d, --display-only โ€” display brief info read from records' header. just a lil peek, no touching ๐Ÿ‘€
  • -e, --end-lsn=# โ€” Stop applying at this lsn. and heads up: if end-lsn is used, UNDO:s will not be applied. she said no more, we stop, we don't undo ๐Ÿ’…
  • -h, --aria-log-dir-path=name โ€” Path to the directory where to store transactional log. the log's little home ๐Ÿ 
  • -P, --page-buffer-size=# โ€” The size of the buffer used for index blocks for Aria tables. buffers gotta buffer ๐Ÿ’–
  • -o, --start-from-lsn=# โ€” Start reading log from this lsn. pick your starting point, main character energy โœจ
  • -C, --start-from-checkpoint โ€” Start applying from last checkpoint. we love a checkpoint. it's giving "save your game" ๐ŸŽฎ
  • -s, --silent โ€” Print less information during apply/undo phase. she's quiet, she's mysterious, she's working ๐Ÿงš
  • -T, --tables-to-redo=name โ€” List of tables separated with , that we should apply REDO on. Use this if you only want to recover some tables. picky eater behaviour and honestly? valid ๐Ÿ“
  • -t, --tmpdir=name โ€” Path for temporary files. Multiple paths can be specified, separated by colon (:). the more the merrier, she'll take them all ๐ŸŒˆ
  • --translog-buffer-size=# โ€” The size of the buffer used for transaction log for Aria tables. another buffer, another slay ๐Ÿ’œ
  • -u, --undo โ€” Apply UNDO records to tables. (disable with --disable-undo) (Defaults to on; use --skip-undo to disable.) so she's on by default, bestie, she woke up and chose UNDO ๐Ÿ”ฅ
  • -v, --verbose โ€” Print more information during apply/undo phase. the opposite of silent. she will yap and you WILL listen ๐Ÿ‘‘
  • -V, --version โ€” Print version and exit. quick lil flex, then she's gone ๐Ÿ’…

๐ŸŽ€ Default options, bestie ๐ŸŽ€

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: aria_read_log


โญ The "put me first" options โญ

The following options may be given as the first argument:

  • --print-defaults โ€” Print the program argument list and exit. show me the receipts ๐Ÿ“œ
  • --no-defaults โ€” Don't read default options from any option file. absolutely not, we're going rogue ๐Ÿฆ‹
  • --defaults-file=# โ€” Only read default options from the given file #. one file and one file only, she's monogamous ๐Ÿ’–
  • --defaults-extra-file=# โ€” Read this file after the global files are read. the little bonus round at the end โœจ

๐Ÿ’ซ SEE ALSO ๐Ÿ’ซ

myisamlog(1) โ€” her cousin, also iconic, also doing the most ๐Ÿซถ

For more information, please refer to the MariaDB Documentation, available online at https://mariadb.com/docs/


k bye bestie, this was aria_read_log Ver 1.3, from May 2014 โ€” an elder, but she ATE and left no crumbs ๐Ÿ‘‘๐Ÿ’…

๐Ÿ“ฆ where this page comes from