mirror of
https://github.com/iv-org/documentation.git
synced 2025-05-28 19:22:09 -04:00
Updated Database Information and Maintenance (markdown)
This commit is contained in:
parent
7853876832
commit
43902d7345
1 changed files with 7 additions and 6 deletions
|
@ -1,11 +1,12 @@
|
|||
Invidious needs one PostgreSQL database which has the following tables.
|
||||
|
||||
`channel_videos` Stores truncated video info, used to create user feeds
|
||||
`channels` Stores UCID and author name
|
||||
`nonces` Keeps track of tokens issued to prevent CSRF
|
||||
`users` Stores user info, such as preferences, username, subscriptions
|
||||
`session_ids` Keeps track of user sessions
|
||||
`videos` Stores video cache, used to create "top" page
|
||||
- `annotations` Caches annotation data if `cache_annotations` is enabled in [`config.yml`](https://github.com/omarroth/invidious/wiki/Configuration)
|
||||
- `channel_videos` Stores truncated video info, used to create user feeds
|
||||
- `channels` Stores UCID and author name
|
||||
- `nonces` Keeps track of tokens issued to prevent CSRF
|
||||
- `users` Stores user info, such as preferences, username, subscriptions
|
||||
- `session_ids` Keeps track of user sessions
|
||||
- `videos` Stores video cache, used to create "top" page
|
||||
|
||||
The table `videos` grows a lot and needs the most storage. You can clean it up using following commands:
|
||||
```bash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue