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