Back to Wazuh

Wazuh DB

architecture/wazuh-db/Readme.md

4.14.4899 B
Original Source
<!--- Copyright (C) 2015, Wazuh Inc. Created by Wazuh, Inc. <[email protected]>. This program is free software; you can redistribute it and/or modify it under the terms of GPLv2 -->

Wazuh DB

Index

Purpose

Wazuh DB is a daemon that wraps the access to SQLite database files. It provides:

  • Concurrent socket dispatcher.
  • Parallel queries to different databases.
  • Serialized queries to the same database.
  • Dynamic closing of database files.
  • Implicit transactions and adjustable committing periods.
  • Automatic database upgrades.
  • Automatic defragmentation (vacuum) with adjustable parameters.

Activity diagrams

<dl> <dt>001-vacuum</dt><dd>It illustrates the vacuum decision algorithm: in which cases Wazuh DB runs a <code>vacuum</code> command on databases.</dd> </dl>