mirror of
				https://gitea.invidious.io/iv-org/documentation.git
				synced 2024-08-15 00:53:34 +00: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. | 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…
	
	Add table
		Add a link
		
	
		Reference in a new issue