Databases#
Introduction#
Autosubmit stores information about its experiments and workflows in databases managed through SQLAlchemy. The default backend is SQLite, and PostgreSQL is also supported. These databases are distributed through the local filesystem, where Autosubmit is installed and runs.
There is one central database that supports the core functionality of experiments in Autosubmit. There are other auxiliary databases consumed by Autosubmit and the Autosubmit API, that store finer-grained experiment information.
The name and location of the central database are defined in the .autosubmitrc
configuration file while the other auxiliary databases have a predefined name.
There are also log files with important information about experiment execution and
some other relevant information such as experiment job statuses, timestamps, error
messages among other things inside these files.
Note
The <EXPID> is an experiment ID. The location of the databases of
other files can be customized in the .autosubmitrc configuration file.
Core databases#
Database |
Default location |
Description |
|---|---|---|
|
|
The main database of Autosubmit. Stores the experiments ( |
|
|
Stores the experiment status ( |
Auxiliary databases#
These databases complement the databases previously described for different purposes.
Some of them are centralized in the $AS_METADATA directory (defined in the
.autosubmitrc config file) while others are present inside each experiment folder.
Databases in the $AS_METADATA directory#
Database |
Default location |
Description |
|---|---|---|
|
|
Used by the GUI to improve the graph visualization. Populated by an API worker. |
|
|
Used by the GUI to display edge lists. Populated by an API worker. |
|
|
Stores experiment metrics and historical information. Populated by Autosubmit. |
Databases in each experiment directory#
Database |
Default location |
Description |
|---|---|---|
|
|
Stores the experiment workflow (jobs, edges, sections and wrappers).
Populated by Autosubmit; it replaces the old |
Other files#
Autosubmit stores update list files, used to change the status of experiment jobs without stopping Autosubmit. These files are plain text files, and also present in the experiment directory.