Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Provide high-level overview of Thoth storage model #2661

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,28 @@ This library provides a library called `thoth-storages
for `PostgreSQL database <https://www.postgresql.org/>`__ as well as adapters
for manipulating with `Ceph <https://ceph.io/>`__ via its S3 compatible API.

Overview
========

Thoth stores its data in two persistent stores, a Postgres SQL database, and an
S3 object store.

S3 Object store
---------------

The S3 store contains JSON documents, which are the results of Thoth operations
(analysis, reports, etc).

Postgres Database
-----------------

Two kinds of things are stored in the database:

- The aforementioned results documents are referenced.
- Reference to packages sources (ex: Python packages indexes).

These two combined form the knowledge graph.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if we can summarize the content of Thoth's postgres database in such a simple way. In fact, the DB contains all kind of information not directly related to document results and package indexes, see the database model for an overview of the content available.


Quick Start
===========

Expand Down